File: Imakefile

package info (click to toggle)
vnc4 4.1.1%2BX4.3.0-31
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 171,548 kB
  • ctags: 288,231
  • sloc: ansic: 2,205,256; cpp: 56,016; sh: 38,092; pascal: 13,773; asm: 12,656; tcl: 9,182; lisp: 7,831; perl: 3,338; makefile: 2,957; yacc: 2,902; objc: 2,698; xml: 2,614; python: 2,383; lex: 1,477; awk: 901; csh: 58; sed: 50
file content (166 lines) | stat: -rw-r--r-- 3,458 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
XCOMM $Xorg: Imakefile,v 1.3 2000/08/17 19:54:59 cpqbld Exp $



XCOMM $XFree86: xc/programs/xrx/libxplugin/Imakefile,v 1.2 2002/11/22 22:56:05 tsi Exp $

#if defined(SGIArchitecture) && (OSMajorVersion > 5)

/* Even though we want to build the distribution with -n32, Navigator 3.0 
 * binaries are still built on IRIX 5.2, which means we need to use the 
 * old style object format. This is a hack because this Imakefile gets
 * included too late to do this properly, that is to say that the
 * CCOPTIONS in Imake.tmpl gets the -n32 options that we don't want,
 * but the CCOPTIONS in Library.tmpl does get set correctly, and over-
 * rides the value. So it works, but it's not pretty.
 */
#undef sgiCCOptions
#define sgiCCOptions -xansi
        SRCS = XSecurity.c XAppgroup.c
        OBJS = XSecurity.o XAppgroup.o
    INCLUDES = -I$(XLIBSRC) -I$(EXTINCSRC)

NormalLibraryTarget(xplugin,$(OBJS))

#include <Library.tmpl>

XSecurity.c::
	RemoveFile($@)
	$(LN) $(XEXTLIBSRC)/$@ .

XAppgroup.c::
	RemoveFile($@)
	$(LN) $(XEXTLIBSRC)/$@ .

#else

#undef DependTarget
#define DependTarget() /**/
#undef ObjectCompile
#define ObjectCompile(options) $(_NULLCMD_)

XCOMM This is only necessary until Sun and HP ship libICE.
#if defined(HPArchitecture) || defined(SunArchitecture)
#if defined(HPArchitecture) || \
   (defined(SunArchitecture) && \
    (OSMajorVersion == 4) || ((OSMajorVersion == 5) && (OSMinorVersion < 6)))
      ICEOBJS = accept.o authutil.o connect.o error.o getauth.o \
		iceauth.o listen.o listenwk.o locking.o misc.o \
		ping.o process.o protosetup.o register.o replywait.o \
		setauth.o shutdown.o transport.o watch.o
#endif
#if defined(SunArchitecture) && (OSMajorVersion == 4)
    SUNOSOBJS = extutil.o globals.o
#endif
#endif
      EXTOBJS = XSecurity.o XAppgroup.o $(SUNOSOBJS)
         OBJS = $(ICEOBJS) $(EXTOBJS)

NormalLibraryTarget(xplugin,$(OBJS))

XCOMM This is only necessary until Sun and HP ship libICE.
#if defined(HPArchitecture) || defined(SunArchitecture)
#if defined(HPArchitecture) || \
   (defined(SunArchitecture) && \
    (OSMajorVersion == 4) || ((OSMajorVersion == 5) && (OSMinorVersion < 6)))
accept.o::
	RemoveFile($@)
	$(LN) $(ICESRC)/$@ .

authutil.o::
	RemoveFile($@)
	$(LN) $(ICESRC)/$@ .

connect.o::
	RemoveFile($@)
	$(LN) $(ICESRC)/$@ .

error.o::
	RemoveFile($@)
	$(LN) $(ICESRC)/$@ .

getauth.o::
	RemoveFile($@)
	$(LN) $(ICESRC)/$@ .

iceauth.o::
	RemoveFile($@)
	$(LN) $(ICESRC)/$@ .

listen.o::
	RemoveFile($@)
	$(LN) $(ICESRC)/$@ .

listenwk.o::
	RemoveFile($@)
	$(LN) $(ICESRC)/$@ .

locking.o::
	RemoveFile($@)
	$(LN) $(ICESRC)/$@ .

misc.o::
	RemoveFile($@)
	$(LN) $(ICESRC)/$@ .

ping.o::
	RemoveFile($@)
	$(LN) $(ICESRC)/$@ .

process.o::
	RemoveFile($@)
	$(LN) $(ICESRC)/$@ .

protosetup.o::
	RemoveFile($@)
	$(LN) $(ICESRC)/$@ .

register.o::
	RemoveFile($@)
	$(LN) $(ICESRC)/$@ .

replywait.o::
	RemoveFile($@)
	$(LN) $(ICESRC)/$@ .

setauth.o::
	RemoveFile($@)
	$(LN) $(ICESRC)/$@ .

shutdown.o::
	RemoveFile($@)
	$(LN) $(ICESRC)/$@ .

transport.o::
	RemoveFile($@)
	$(LN) $(ICESRC)/$@ .

watch.o::
	RemoveFile($@)
	$(LN) $(ICESRC)/$@ .
#endif
#if defined(SunArchitecture) && (OSMajorVersion == 4)
extutil.o::
	RemoveFile($@)
	$(LN) $(XEXTLIBSRC)/$@ .

globals.o::
	RemoveFile($@)
	$(LN) $(XEXTLIBSRC)/$@ .
#endif
#endif

XSecurity.o::
	RemoveFile($@)
	$(LN) $(XEXTLIBSRC)/$@ .

XAppgroup.o::
	RemoveFile($@)
	$(LN) $(XEXTLIBSRC)/$@ .

clean::
	RemoveFiles($(OBJS))

DependTarget()

#endif