1 # Makefile generated by imake - do not edit!
2 # $XConsortium: imake.c,v 1.65 91/07/25 17:50:17 rws Exp $
4 # The cpp used on this machine replaces all newlines and multiple tabs and
5 # spaces in a macro expansion with a single space. Imake tries to compensate
6 # for this, but is not always successful.
9 # -------------------------------------------------------------------------
10 # Makefile generated from "Imake.tmpl" and </tmp/IIf.a11091>
11 # $XConsortium: Imake.tmpl,v 1.139 91/09/16 08:52:48 rws Exp $
13 # Platform-specific parameters may be set in the appropriate <vendor>.cf
14 # configuration files. Site-specific parameters should be set in the file
15 # site.def. Full rebuilds are recommended if any parameters are changed.
17 # If your C preprocessor does not define any unique symbols, you will need
18 # to set BOOTSTRAPCFLAGS when rebuilding imake (usually when doing
19 # "make World" the first time).
22 # -------------------------------------------------------------------------
23 # site-specific configuration parameters that need to come before
24 # the platform-specific parameters - edit site.def to change
26 # site: $XConsortium: site.def,v 1.2 91/07/30 20:26:44 rws Exp $
28 # -------------------------------------------------------------------------
29 # platform-specific configuration parameters - edit sun.cf to change
31 # platform: $XConsortium: sun.cf,v 1.72.1.1 92/03/18 13:13:37 rws Exp $
33 # operating system: SunOS 4.1.2
35 # $XConsortium: sunLib.rules,v 1.7 91/12/20 11:19:47 rws Exp $
38 $(CC) -c $(CFLAGS) $*.c
40 # -------------------------------------------------------------------------
41 # site-specific configuration parameters that go after
42 # the platform-specific parameters - edit site.def to change
44 # site: $XConsortium: site.def,v 1.2 91/07/30 20:26:44 rws Exp $
49 CURRENT_DIR = ./Cl/WWWLibrary
53 CC = gcc2 -pipe -fstrength-reduce -fpcc-struct-return
57 CPP = /lib/cpp $(STD_CPP_DEFINES)
58 PREPROCESSCMD = gcc2 -pipe -fstrength-reduce -fpcc-struct-return -E $(STD_CPP_DEFINES)
80 EXTRA_LOAD_FLAGS = -B/usr/bin/
84 SHAREDCODEDEF = -DSHAREDCODE
91 INSTBINFLAGS = -m 0755
92 INSTUIDFLAGS = -m 4755
93 INSTLIBFLAGS = -m 0644
94 INSTINCFLAGS = -m 0444
95 INSTMANFLAGS = -m 0444
96 INSTDATFLAGS = -m 0444
97 INSTKMEMFLAGS = -g kmem -m 2755
99 PROJECTROOT = /v/X11R5
101 TOP_INCLUDES = -I$(INCROOT)
106 ALLINCLUDES = $(INCLUDES) $(EXTRA_INCLUDES) $(TOP_INCLUDES) $(STD_INCLUDES)
107 ALLDEFINES = $(ALLINCLUDES) $(STD_DEFINES) $(EXTRA_DEFINES) $(PROTO_DEFINES) $(DEFINES)
108 CFLAGS = $(CDEBUGFLAGS) $(CCOPTIONS) $(ALLDEFINES)
109 LINTFLAGS = $(LINTOPTS) -DLINT $(ALLDEFINES)
111 LDLIBS = $(SYS_LIBRARIES) $(EXTRA_LIBRARIES)
113 LDOPTIONS = $(CDEBUGFLAGS) $(CCOPTIONS) $(LOCAL_LDFLAGS) -L$(USRLIBDIR)
115 LDCOMBINEFLAGS = -X -r
119 RM_CMD = $(RM) *.CKP *.ln *.BAK *.bak *.o core errs ,* *~ *.a .emacs_* tags TAGS make.log MakeOut
123 IRULESRC = $(CONFIGDIR)
124 IMAKE_CMD = $(IMAKE) -DUseInstalled -I$(IRULESRC) $(IMAKE_DEFINES)
126 ICONFIGFILES = $(IRULESRC)/Imake.tmpl $(IRULESRC)/Imake.rules \
127 $(IRULESRC)/Project.tmpl $(IRULESRC)/site.def \
128 $(IRULESRC)/$(MACROFILE) $(EXTRA_ICONFIGFILES)
130 # -------------------------------------------------------------------------
131 # X Window System Build Parameters
132 # $XConsortium: Project.tmpl,v 1.138 91/09/10 09:02:12 rws Exp $
134 # -------------------------------------------------------------------------
135 # X Window System make variables; this need to be coordinated with rules
138 USRLIBDIR = /v/X11R5/lib
139 BINDIR = /v/X11R5/bin
140 INCROOT = /v/X11R5/include
141 BUILDINCROOT = $(TOP)
142 BUILDINCDIR = $(BUILDINCROOT)/X11
144 INCDIR = $(INCROOT)/X11
146 LIBDIR = $(USRLIBDIR)/X11
147 CONFIGDIR = $(LIBDIR)/config
148 LINTLIBDIR = $(USRLIBDIR)/lint
150 FONTDIR = $(LIBDIR)/fonts
151 XINITDIR = $(LIBDIR)/xinit
152 XDMDIR = $(LIBDIR)/xdm
153 TWMDIR = $(LIBDIR)/twm
154 MANPATH = /v/X11R5/man
155 MANSOURCEPATH = $(MANPATH)/man
158 MANDIR = $(MANSOURCEPATH)$(MANSUFFIX)
159 LIBMANDIR = $(MANSOURCEPATH)$(LIBMANSUFFIX)
160 NLSDIR = $(LIBDIR)/nls
161 PEXAPIDIR = $(LIBDIR)/PEX
162 XAPPLOADDIR = $(LIBDIR)/app-defaults
165 INSTAPPFLAGS = $(INSTDATFLAGS)
173 MKFONTDIR = mkfontdir
174 MKDIRHIER = /bin/sh $(BINDIR)/mkdirhier
176 CONFIGSRC = $(TOP)/config
177 DOCUTILSRC = $(TOP)/doc/util
178 CLIENTSRC = $(TOP)/clients
179 DEMOSRC = $(TOP)/demos
181 FONTSRC = $(TOP)/fonts
182 INCLUDESRC = $(TOP)/X11
183 SERVERSRC = $(TOP)/server
184 UTILSRC = $(TOP)/util
185 SCRIPTSRC = $(UTILSRC)/scripts
186 EXAMPLESRC = $(TOP)/examples
187 CONTRIBSRC = $(TOP)/../contrib
190 DEPENDSRC = $(UTILSRC)/makedepend
191 IMAKESRC = $(CONFIGSRC)
192 XAUTHSRC = $(LIBSRC)/Xau
193 XLIBSRC = $(LIBSRC)/X
194 XMUSRC = $(LIBSRC)/Xmu
195 TOOLKITSRC = $(LIBSRC)/Xt
196 AWIDGETSRC = $(LIBSRC)/Xaw
197 OLDXLIBSRC = $(LIBSRC)/oldX
198 XDMCPLIBSRC = $(LIBSRC)/Xdmcp
199 BDFTOSNFSRC = $(FONTSRC)/bdftosnf
200 BDFTOSNFSRC = $(FONTSRC)/clients/bdftosnf
201 BDFTOPCFSRC = $(FONTSRC)/clients/bdftopcf
202 MKFONTDIRSRC = $(FONTSRC)/clients/mkfontdir
203 FSLIBSRC = $(FONTSRC)/lib/fs
204 FONTSERVERSRC = $(FONTSRC)/server
205 EXTENSIONSRC = $(TOP)/extensions
206 XILIBSRC = $(EXTENSIONSRC)/lib/xinput
207 PHIGSLIBSRC = $(EXTENSIONSRC)/lib/PEX
209 # $XConsortium: sunLib.tmpl,v 1.14.1.1 92/03/17 14:58:46 rws Exp $
211 SHLIBLDFLAGS = -assert pure-text
215 EXTENSIONLIB = -lXext
217 DEPXLIB = $(DEPEXTENSIONLIB)
218 XLIB = $(EXTENSIONLIB) -lX11
220 DEPXMULIB = $(USRLIBDIR)/libXmu.sa.$(SOXMUREV)
227 DEPXTOOLLIB = $(USRLIBDIR)/libXt.sa.$(SOXTREV)
230 DEPXAWLIB = $(USRLIBDIR)/libXaw.sa.$(SOXAWREV)
244 DEPXAUTHLIB = $(USRLIBDIR)/libXau.a
246 DEPXDMCPLIB = $(USRLIBDIR)/libXdmcp.a
249 DEPPHIGSLIB = $(USRLIBDIR)/libphigs.a
252 DEPXBSDLIB = $(USRLIBDIR)/libXbsd.a
255 LINTEXTENSIONLIB = $(LINTLIBDIR)/llib-lXext.ln
256 LINTXLIB = $(LINTLIBDIR)/llib-lX11.ln
257 LINTXMU = $(LINTLIBDIR)/llib-lXmu.ln
258 LINTXTOOL = $(LINTLIBDIR)/llib-lXt.ln
259 LINTXAW = $(LINTLIBDIR)/llib-lXaw.ln
260 LINTXI = $(LINTLIBDIR)/llib-lXi.ln
261 LINTPHIGS = $(LINTLIBDIR)/llib-lphigs.ln
263 DEPLIBS = $(DEPXAWLIB) $(DEPXMULIB) $(DEPXTOOLLIB) $(DEPXLIB)
265 DEPLIBS1 = $(DEPLIBS)
266 DEPLIBS2 = $(DEPLIBS)
267 DEPLIBS3 = $(DEPLIBS)
269 # -------------------------------------------------------------------------
270 # Imake rules for building libraries, programs, scripts, and data files
271 # rules: $XConsortium: Imake.rules,v 1.123 91/09/16 20:12:16 rws Exp $
273 # -------------------------------------------------------------------------
279 OBJS = HTAccess.o HTFTP.o HTHistory.o HTParse.o HTTP.o \
280 HTAnchor.o HTFile.o HTList.o HTString.o SGML.o \
281 HTAtom.o HTFormat.o HTML.o HTStyle.o HTChunk.o \
282 HTGopher.o HTNews.o HTTCP.o
284 SRCS = HTAccess.c HTFTP.c HTHistory.c HTParse.c HTTP.c \
285 HTAnchor.c HTFile.c HTList.c HTString.c SGML.c \
286 HTAtom.c HTFormat.c HTML.c HTStyle.c HTChunk.c \
287 HTGopher.c HTNews.c HTTCP.c
289 DEFINES = -DERWISE -I.. -I. -I../../HText
299 $(DEPEND) $(DEPENDFLAGS) -s "# DO NOT DELETE" -- $(ALLDEFINES) -- $(SRCS)
301 # -------------------------------------------------------------------------
302 # common rules for all Makefiles - do not edit
310 -@if [ -f Makefile ]; then set -x; \
311 $(RM) Makefile.bak; $(MV) Makefile Makefile.bak; \
313 $(IMAKE_CMD) -DTOPDIR=$(TOP) -DCURDIR=$(CURRENT_DIR)
317 $(TAGS) -xw *.[ch] > TAGS
320 # load $(ALLDEFINES) $(SRCS)
323 # load $(ALLDEFINES) $(OBJS)
325 # -------------------------------------------------------------------------
326 # empty rules for directories that do not have SUBDIRS - do not edit
329 @echo "install in $(CURRENT_DIR) done"
332 @echo "install.man in $(CURRENT_DIR) done"
338 # -------------------------------------------------------------------------
339 # dependencies generated by makedepend