aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/lib/Imakefile
blob: 28d9f1296e09cf21926451fcbc16420786b6899c (plain)
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
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
XCOMM $Xorg: Imakefile,v 1.3 2000/08/17 19:44:00 cpqbld Exp $
XCOMM $XdotOrg: xc/lib/Imakefile,v 1.12 2005/10/10 04:18:08 alanc Exp $




XCOMM $XFree86: xc/lib/Imakefile,v 3.74 2003/04/14 20:37:07 herrb Exp $

#define IHaveSubdirs
#define PassCDebugFlags

#if BuildXaw6 && BuildLibraries
XAW6LIBDIR = Xaw6
#endif

#if BuildXaw7 && BuildLibraries
XAW7LIBDIR = Xaw7
#endif

#if BuildXaw && BuildLibraries
XAWLIBDIR = Xaw
#endif

#ifndef NeedBerklib
#define NeedBerklib NO
#endif

#if NeedBerklib
BERKDIR = Xbsd
#endif

#if BuildXKBfilelib || BuildXKB
XKBLIBDIR = xkbfile
#endif

#if BuildXKBuilib
XKBUILIBDIR = xkbui
#endif

#if BuildXInputLib
XINPUTLIBDIR = Xi
#endif

#if BuildScreenSaverLibrary
SSLIBDIR = Xss
#endif

#if BuildXF86MiscLibrary
XF86MISCLIBDIR = Xxf86misc
#endif

#if BuildXF86VidModeLibrary
XF86VMLIBDIR = Xxf86vm
#endif

#if BuildXF86DGALibrary
XF86DGALIBDIR = Xxf86dga
#endif

#if BuildXF86RushLibrary
XF86RUSHLIBDIR = Xxf86rush
#endif

#if BuildXvLibrary
XVLIBDIR = Xv
XVMCLIBDIR = XvMC
#endif

#if BuildXineramaLibrary
XINERAMADIR=Xinerama
#endif

#if BuildXResLibrary
XRESLIBDIR = XRes
#endif

#if BuildGLXLibrary
GLXLIBDIR = GL
#endif

#if BuildGLwLibrary
GLWLIBDIR = GLw
#endif

#if BuildGLULibrary
GLULIBDIR = GLU
#endif

#if BuildDPSLibrary
DPSLIBDIR = dps
#endif

#if BuildDPSTkLibrary
DPSTKLIBDIR = dpstk
#endif

#if BuildPSResLibrary
PSRESLIBDIR = psres
#endif

#if BuildRenderLibrary
RENDERLIBDIR = Xrender
#endif

#if BuildExpatLibrary
EXPATBUILDDIR = expat
#endif

#if BuildRandRLibrary
RANDRLIBDIR = Xrandr
#endif

#if BuildXevieLibrary
XEVIELIBDIR = Xevie
#endif

#if BuildXfixesLibrary
XFIXESLIBDIR = Xfixes
#endif

#if BuildDamageLibrary
DAMAGELIBDIR = Xdamage
#endif

#if BuildCompositeLibrary
COMPOSITELIBDIR = Xcomposite
#endif

#if BuildXcursorLibrary
XCURSORLIBDIR = Xcursor
#endif

#if BuildXTrapLibrary
XTRAPLIBDIR = XTrap
#endif

#if BuildAppleWMLibrary
APPLELIBDIR = apple
#endif

#if BuildWindowsWMLibrary
WINDOWSLIBDIR = windows
#endif

XF86EXTLIBS = $(XF86MISCLIBDIR) $(XF86VMLIBDIR) \
		$(XF86DGALIBDIR) $(XF86RUSHLIBDIR)

#if BuildLBX
LBXUTILDIR = lbxutil
#endif

#if BuildLBX && !HasZlib
ZLIBDIR = zlib
#endif

#if (defined(XFree86Version) || defined(XorgVersion)) && !HasPosixRegex
REGEXDIR = regex
#endif

#if BuildXAudio
XALIBDIR = Xa
#endif

#if BuildXauLib
XAULIBDIR = Xau
#endif

#if BuildX11Lib
X11LIBDIR = X11
#endif

#if BuildXextLib
XEXTLIBDIR = Xext
#endif

#if BuildLibraries
OLDXLIBDIR = oldX
XTSTLIBDIR = Xtst
#endif


LINTSUBDIRS = $(XAULIBDIR) $(X11LIBDIR) \
             $(OLDXLIBDIR) $(ICELIBDIR) $(SMLIBDIR) $(XEXTLIBDIR) $(XTLIBDIR) \
             $(SSLIBDIR) $(XF86MISCLIBDIR) $(XF86VMLIBDIR) $(XF86DGALIBDIR) \
             $(XF86RUSHLIBDIR) $(XMULIBDIR) $(XMUULIBDIR) $(XPMLIBDIR) \
             $(XAW6LIBDIR) $(XAW7LIBDIR) $(XAWLIBDIR) \
             $(XINPUTLIBDIR) $(XTSTLIBDIR) $(FSLIBDIR) $(XKBLIBDIR) \
             $(XKBUILIBDIR) $(LBXUTILDIR) $(XALIBDIR) $(EXPATBUILDDIR) \
             $(XVLIBDIR) $(GLXLIBDIR) $(GLULIBDIR) $(GLWLIBDIR) \
             $(DPSLIBDIR) $(PSRESLIBDIR) $(DPSTKLIBDIR) $(XINERAMADIR) \
             $(ZLIBDIR) $(REGEXDIR) $(RENDERLIBDIR) \
	     $(XVMCLIBDIR) $(RANDRLIBDIR) $(XTRAPLIBDIR) \
	     $(XRESLIBDIR) $(APPLELIBDIR) $(DMXLIBDIR) $(WINDOWSLIBDIR) \
	     $(XEVIELIBDIR) $(XFIXESLIBDIR) $(DAMAGELIBDIR) \
	     $(XCURSORLIBDIR) $(COMPOSITELIBDIR)

SUBDIRS = $(BERKDIR) xtrans $(LINTSUBDIRS)

MakeSubdirs($(SUBDIRS))
DependSubdirs($(SUBDIRS))
MakeLintLibSubdirs($(LINTSUBDIRS))
MakeLintSubdirs($(LINTSUBDIRS),install.ln,install.ln)