1 # Makefile generated by imake - do not edit!
2 # $XConsortium: imake.c,v 1.65 91/07/25 17:50:17 rws Exp $
4 # -------------------------------------------------------------------------
5 # Makefile generated from "Imake.tmpl" and <Imakefile>
6 # $XFree86: mit/config/Imake.tmpl,v 1.17 1993/06/03 15:26:36 dawes Exp $
7 # $XConsortium: Imake.tmpl,v 1.139 91/09/16 08:52:48 rws Exp $
9 # Platform-specific parameters may be set in the appropriate <vendor>.cf
10 # configuration files. Site-specific parameters should be set in the file
11 # site.def. Full rebuilds are recommended if any parameters are changed.
13 # If your C preprocessor does not define any unique symbols, you will need
14 # to set BOOTSTRAPCFLAGS when rebuilding imake (usually when doing
15 # "make World" the first time).
18 # -------------------------------------------------------------------------
19 # site-specific configuration parameters that need to come before
20 # the platform-specific parameters - edit site.def to change
22 # $XFree86: mit/config/site.def,v 1.65 1993/06/04 16:02:47 dawes Exp $
23 # site: $XConsortium: site.def,v 1.2 91/07/30 20:26:44 rws Exp $
25 # obz: changes for making Linux distribution
27 # -------------------------------------------------------------------------
28 # platform-specific configuration parameters - edit x386.cf to change
30 # $XFree86: mit/config/x386.cf,v 1.90 1993/06/04 16:02:50 dawes Exp $
31 # platform: $XConsortium: x386.cf,v 1.7 91/08/16 19:30:10 gildea Exp $
33 # -------------------------------------------------------------------------
34 # XFree86 version definition
35 # $XFree86: mit/config/xf86_vers.def,v 1.5 1993/06/01 09:12:47 dawes Exp $
37 # -------------------------------------------------------------------------
38 # XFree86 version: 1300
39 # -------------------------------------------------------------------------
41 # $XFree86: mit/config/lnuxLib.rules,v 1.2 1993/06/02 13:48:12 dawes Exp $
43 DLL_BINDIR = /usr/dll/bin
45 # operating system: Linux
47 # -------------------------------------------------------------------------
48 # site-specific configuration parameters that go after
49 # the platform-specific parameters - edit site.def to change
51 # $XFree86: mit/config/site.def,v 1.65 1993/06/04 16:02:47 dawes Exp $
52 # site: $XConsortium: site.def,v 1.2 91/07/30 20:26:44 rws Exp $
54 # obz: changes for making Linux distribution
59 CURRENT_DIR = ./include
71 CPP = /lib/cpp $(STD_CPP_DEFINES)
72 PREPROCESSCMD = /lib/cpp $(STD_CPP_DEFINES)
92 STD_CPP_DEFINES = -traditional -D_POSIX_SOURCE -D_BSD_SOURCE -D_GNU_SOURCE -Dlinux
93 STD_DEFINES = -D_POSIX_SOURCE -D_BSD_SOURCE -D_GNU_SOURCE -Dlinux
102 PROTO_DEFINES = -DFUNCPROTO=11 -DNARROWPROTO
106 INSTBINFLAGS = -m 0755
107 INSTUIDFLAGS = -s -m 4755
108 INSTLIBFLAGS = -m 0644
109 INSTINCFLAGS = -m 0444
110 INSTMANFLAGS = -m 0444
111 INSTDATFLAGS = -m 0444
112 INSTKMEMFLAGS = -s -m 4755
114 PROJECTROOT = /usr/X386
116 TOP_INCLUDES = -I$(INCROOT)
119 CCOPTIONS = -m486 -DNO_ASM -fwritable-strings
122 ALLINCLUDES = $(INCLUDES) $(EXTRA_INCLUDES) $(TOP_INCLUDES) $(STD_INCLUDES)
123 ALLDEFINES = $(ALLINCLUDES) $(STD_DEFINES) $(EXTRA_DEFINES) $(PROTO_DEFINES) $(DEFINES)
124 CFLAGS = $(ANSICCOPTIONS) $(CDEBUGFLAGS) $(CCOPTIONS) $(ALLDEFINES)
125 LINTFLAGS = $(LINTOPTS) -DLINT $(ALLDEFINES)
127 LDLIBS = $(OS_LIBRARIES) $(SYS_LIBRARIES) $(EXTRA_LIBRARIES)
129 LDOPTIONS = $(ANSICCOPTIONS) $(CDEBUGFLAGS) $(CCOPTIONS) $(LOCAL_LDFLAGS) -L$(USRLIBDIR)
135 RM_CMD = $(RM) *.CKP *.ln *.BAK *.bak *.o core errs ,* *~ *.a .emacs_* tags TAGS make.log MakeOut
139 IRULESRC = $(CONFIGDIR)
140 IMAKE_CMD = $(IMAKE) -DUseInstalled -I$(IRULESRC) $(IMAKE_DEFINES)
142 ICONFIGFILES = $(IRULESRC)/Imake.tmpl $(IRULESRC)/Imake.rules $(IRULESRC)/Project.tmpl $(IRULESRC)/site.def $(IRULESRC)/$(MACROFILE) $(EXTRA_ICONFIGFILES)
144 # -------------------------------------------------------------------------
145 # X Window System Build Parameters
146 # $XFree86: mit/config/Project.tmpl,v 1.13 1993/03/27 03:32:45 dawes Exp $
147 # $XConsortium: Project.tmpl,v 1.138.1.1 92/11/11 09:49:19 rws Exp $
151 # -------------------------------------------------------------------------
152 # X Window System make variables; this need to be coordinated with rules
155 USRLIBDIR = /usr/X386/lib
156 BINDIR = /usr/X386/bin
157 INCROOT = /usr/X386/include
158 BUILDINCROOT = $(TOP)
159 BUILDINCDIR = $(BUILDINCROOT)/X11
161 INCDIR = $(INCROOT)/X11
163 LIBDIR = $(USRLIBDIR)/X11
164 CONFIGDIR = $(LIBDIR)/config
165 LINTLIBDIR = $(USRLIBDIR)/lint
167 FONTDIR = $(LIBDIR)/fonts
168 XINITDIR = $(LIBDIR)/xinit
169 XDMDIR = $(LIBDIR)/xdm
170 TWMDIR = $(LIBDIR)/twm
171 MANPATH = /usr/X386/man
172 MANSOURCEPATH = $(MANPATH)/man
175 MANDIR = $(MANSOURCEPATH)1
176 LIBMANDIR = $(MANSOURCEPATH)3
177 NLSDIR = $(LIBDIR)/nls
178 PEXAPIDIR = $(LIBDIR)/PEX
179 XAPPLOADDIR = $(LIBDIR)/app-defaults
181 LINKKITDIR = $(USRLIBDIR)/Server
183 INSTAPPFLAGS = $(INSTDATFLAGS)
191 MKFONTDIR = mkfontdir
192 MKDIRHIER = /bin/sh $(BINDIR)/mkdirhier
194 CONFIGSRC = $(TOP)/config
195 DOCUTILSRC = $(TOP)/doc/util
196 CLIENTSRC = $(TOP)/clients
197 DEMOSRC = $(TOP)/demos
199 FONTSRC = $(TOP)/fonts
200 INCLUDESRC = $(TOP)/X11
201 SERVERSRC = $(TOP)/server
202 UTILSRC = $(TOP)/util
203 SCRIPTSRC = $(UTILSRC)/scripts
204 EXAMPLESRC = $(TOP)/examples
205 CONTRIBSRC = $(TOP)/../contrib
208 DEPENDSRC = $(UTILSRC)/makedepend
209 IMAKESRC = $(CONFIGSRC)
210 XAUTHSRC = $(LIBSRC)/Xau
211 XLIBSRC = $(LIBSRC)/X
212 XMUSRC = $(LIBSRC)/Xmu
213 TOOLKITSRC = $(LIBSRC)/Xt
214 AWIDGETSRC = $(LIBSRC)/Xaw
215 OLDXLIBSRC = $(LIBSRC)/oldX
216 XDMCPLIBSRC = $(LIBSRC)/Xdmcp
217 BDFTOSNFSRC = $(FONTSRC)/bdftosnf
218 BDFTOSNFSRC = $(FONTSRC)/clients/bdftosnf
219 BDFTOPCFSRC = $(FONTSRC)/clients/bdftopcf
220 MKFONTDIRSRC = $(FONTSRC)/clients/mkfontdir
221 FSLIBSRC = $(FONTSRC)/lib/fs
222 FONTSERVERSRC = $(FONTSRC)/server
223 EXTENSIONSRC = $(TOP)/extensions
224 XILIBSRC = $(EXTENSIONSRC)/lib/xinput
225 PEXLIBSRC = $(EXTENSIONSRC)/lib/PEXlib
226 PHIGSLIBSRC = $(EXTENSIONSRC)/lib/PEX
228 # $XFree86: mit/config/lnuxLib.tmpl,v 1.1 1993/04/16 14:06:06 dawes Exp $
231 PICFLAGS = -B/usr/dll/jump/
234 EXTENSIONLIB = -lXext
236 DEPXLIB = $(DEPEXTENSIONLIB)
237 XLIB = $(EXTENSIONLIB) -lX11
266 DEPXAUTHLIB = $(USRLIBDIR)/libXau.a
268 DEPXDMCPLIB = $(USRLIBDIR)/libXdmcp.a
271 DEPOLDXLIB = $(USRLIBDIR)/liboldX.a
274 DEPPHIGSLIB = $(USRLIBDIR)/libphigs.a
277 DEPXBSDLIB = $(USRLIBDIR)/libXbsd.a
280 LINTEXTENSIONLIB = $(LINTLIBDIR)/llib-lXext.ln
281 LINTXLIB = $(LINTLIBDIR)/llib-lX11.ln
282 LINTXMU = $(LINTLIBDIR)/llib-lXmu.ln
283 LINTXTOOL = $(LINTLIBDIR)/llib-lXt.ln
284 LINTXAW = $(LINTLIBDIR)/llib-lXaw.ln
285 LINTXI = $(LINTLIBDIR)/llib-lXi.ln
286 LINTPEX = $(LINTLIBDIR)/llib-lPEX5.ln
287 LINTPHIGS = $(LINTLIBDIR)/llib-lphigs.ln
289 DEPLIBS = $(DEPXAWLIB) $(DEPXMULIB) $(DEPXTOOLLIB) $(DEPXLIB)
291 DEPLIBS1 = $(DEPLIBS)
292 DEPLIBS2 = $(DEPLIBS)
293 DEPLIBS3 = $(DEPLIBS)
295 # -------------------------------------------------------------------------
296 # Imake rules for building libraries, programs, scripts, and data files
297 # $XFree86: mit/config/Imake.rules,v 1.9 1993/03/23 12:56:27 dawes Exp $
298 # rules: $XConsortium: Imake.rules,v 1.123 91/09/16 20:12:16 rws Exp $
300 # -------------------------------------------------------------------------
305 INCLUDES = -I$(TOP)/include
307 # Imake rules go here
309 # First, dll description to files etc
313 HEADERS = atom.h callback.h class.h combo.h cursor.h dce.h dialog.h dlls.h files.h gdi.h heap.h icon.h int21.h listbox.h menu.h message.h neexe.h prototypes.h regfunc.h scroll.h segmem.h user.h win.h windows.h wine.h
324 # -------------------------------------------------------------------------
325 # common rules for all Makefiles - do not edit
333 -@if [ -f Makefile ]; then set -x; \
334 $(RM) Makefile.bak; $(MV) Makefile Makefile.bak; \
336 $(IMAKE_CMD) -DTOPDIR=$(TOP) -DCURDIR=$(CURRENT_DIR)
340 $(TAGS) -xw *.[ch] > TAGS
342 # -------------------------------------------------------------------------
343 # empty rules for directories that do not have SUBDIRS - do not edit
346 @echo "install in $(CURRENT_DIR) done"
349 @echo "install.man in $(CURRENT_DIR) done"
352 @echo "install.linkkit in $(CURRENT_DIR) done"
358 # -------------------------------------------------------------------------
359 # dependencies generated by makedepend