1d499b2a2263d07656d06a3cc39c68e19cf5e689
[erwise] / Cl / WWWLibrary / Makefile.bak
1 # Makefile generated by imake - do not edit!
2 # $XConsortium: imake.c,v 1.65 91/07/25 17:50:17 rws Exp $
3 #
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.
7 #
8
9 # -------------------------------------------------------------------------
10 # Makefile generated from "Imake.tmpl" and </tmp/IIf.a10847>
11 # $XConsortium: Imake.tmpl,v 1.139 91/09/16 08:52:48 rws Exp $
12 #
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.
16 #
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).
20 #
21
22 # -------------------------------------------------------------------------
23 # site-specific configuration parameters that need to come before
24 # the platform-specific parameters - edit site.def to change
25
26 # site:  $XConsortium: site.def,v 1.2 91/07/30 20:26:44 rws Exp $
27
28 # -------------------------------------------------------------------------
29 # platform-specific configuration parameters - edit sun.cf to change
30
31 # platform:  $XConsortium: sun.cf,v 1.72.1.1 92/03/18 13:13:37 rws Exp $
32
33 # operating system:  SunOS 4.1.2
34
35 # $XConsortium: sunLib.rules,v 1.7 91/12/20 11:19:47 rws Exp $
36
37 .c.o:
38         $(CC) -c $(CFLAGS) $*.c
39
40 # -------------------------------------------------------------------------
41 # site-specific configuration parameters that go after
42 # the platform-specific parameters - edit site.def to change
43
44 # site:  $XConsortium: site.def,v 1.2 91/07/30 20:26:44 rws Exp $
45
46             SHELL = /bin/sh
47
48               TOP = ../../.
49       CURRENT_DIR = ./Cl/WWWLibrary
50
51                AR = ar clq
52   BOOTSTRAPCFLAGS =
53                CC = gcc2 -pipe -fstrength-reduce -fpcc-struct-return
54                AS = as
55
56          COMPRESS = compress
57               CPP = /lib/cpp $(STD_CPP_DEFINES)
58     PREPROCESSCMD = gcc2 -pipe -fstrength-reduce -fpcc-struct-return -E $(STD_CPP_DEFINES)
59           INSTALL = install
60                LD = ld
61              LINT = lint
62       LINTLIBFLAG = -C
63          LINTOPTS = -axz
64                LN = ln -s
65              MAKE = make
66                MV = mv
67                CP = cp
68
69            RANLIB = ranlib
70   RANLIBINSTFLAGS =
71
72                RM = rm -f
73             TROFF = psroff
74          MSMACROS = -ms
75               TBL = tbl
76               EQN = eqn
77      STD_INCLUDES =
78   STD_CPP_DEFINES =
79       STD_DEFINES =
80  EXTRA_LOAD_FLAGS = -B/usr/bin/
81   EXTRA_LIBRARIES =
82              TAGS = ctags
83
84     SHAREDCODEDEF = -DSHAREDCODE
85          SHLIBDEF = -DSUNSHLIB
86
87     PROTO_DEFINES =
88
89      INSTPGMFLAGS =
90
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
98
99       PROJECTROOT = /v/X11R5
100
101      TOP_INCLUDES = -I$(INCROOT)
102
103       CDEBUGFLAGS = -O
104         CCOPTIONS =
105
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)
110
111            LDLIBS = $(SYS_LIBRARIES) $(EXTRA_LIBRARIES)
112
113         LDOPTIONS = $(CDEBUGFLAGS) $(CCOPTIONS) $(LOCAL_LDFLAGS) -L$(USRLIBDIR)
114
115    LDCOMBINEFLAGS = -X -r
116       DEPENDFLAGS =
117
118         MACROFILE = sun.cf
119            RM_CMD = $(RM) *.CKP *.ln *.BAK *.bak *.o core errs ,* *~ *.a .emacs_* tags TAGS make.log MakeOut
120
121     IMAKE_DEFINES =
122
123          IRULESRC = $(CONFIGDIR)
124         IMAKE_CMD = $(IMAKE) -DUseInstalled -I$(IRULESRC) $(IMAKE_DEFINES)
125
126      ICONFIGFILES = $(IRULESRC)/Imake.tmpl $(IRULESRC)/Imake.rules \
127                         $(IRULESRC)/Project.tmpl $(IRULESRC)/site.def \
128                         $(IRULESRC)/$(MACROFILE) $(EXTRA_ICONFIGFILES)
129
130 # -------------------------------------------------------------------------
131 # X Window System Build Parameters
132 # $XConsortium: Project.tmpl,v 1.138 91/09/10 09:02:12 rws Exp $
133
134 # -------------------------------------------------------------------------
135 # X Window System make variables; this need to be coordinated with rules
136
137           PATHSEP = /
138         USRLIBDIR = /v/X11R5/lib
139            BINDIR = /v/X11R5/bin
140           INCROOT = /v/X11R5/include
141      BUILDINCROOT = $(TOP)
142       BUILDINCDIR = $(BUILDINCROOT)/X11
143       BUILDINCTOP = ..
144            INCDIR = $(INCROOT)/X11
145            ADMDIR = /usr/adm
146            LIBDIR = $(USRLIBDIR)/X11
147         CONFIGDIR = $(LIBDIR)/config
148        LINTLIBDIR = $(USRLIBDIR)/lint
149
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
156         MANSUFFIX = n
157      LIBMANSUFFIX = 3
158            MANDIR = $(MANSOURCEPATH)$(MANSUFFIX)
159         LIBMANDIR = $(MANSOURCEPATH)$(LIBMANSUFFIX)
160            NLSDIR = $(LIBDIR)/nls
161         PEXAPIDIR = $(LIBDIR)/PEX
162       XAPPLOADDIR = $(LIBDIR)/app-defaults
163        FONTCFLAGS = -t
164
165      INSTAPPFLAGS = $(INSTDATFLAGS)
166
167             IMAKE = imake
168            DEPEND = makedepend
169               RGB = rgb
170
171             FONTC = bdftopcf
172
173         MKFONTDIR = mkfontdir
174         MKDIRHIER = /bin/sh $(BINDIR)/mkdirhier
175
176         CONFIGSRC = $(TOP)/config
177        DOCUTILSRC = $(TOP)/doc/util
178         CLIENTSRC = $(TOP)/clients
179           DEMOSRC = $(TOP)/demos
180            LIBSRC = $(TOP)/lib
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
188            DOCSRC = $(TOP)/doc
189            RGBSRC = $(TOP)/rgb
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
208
209 # $XConsortium: sunLib.tmpl,v 1.14.1.1 92/03/17 14:58:46 rws Exp $
210
211 SHLIBLDFLAGS = -assert pure-text
212 PICFLAGS = -fPIC
213
214   DEPEXTENSIONLIB =
215      EXTENSIONLIB = -lXext
216
217           DEPXLIB = $(DEPEXTENSIONLIB)
218              XLIB = $(EXTENSIONLIB) -lX11
219
220         DEPXMULIB = $(USRLIBDIR)/libXmu.sa.$(SOXMUREV)
221        XMULIBONLY = -lXmu
222            XMULIB = -lXmu
223
224        DEPOLDXLIB =
225           OLDXLIB = -loldX
226
227       DEPXTOOLLIB = $(USRLIBDIR)/libXt.sa.$(SOXTREV)
228          XTOOLLIB = -lXt
229
230         DEPXAWLIB = $(USRLIBDIR)/libXaw.sa.$(SOXAWREV)
231            XAWLIB = -lXaw
232
233         DEPXILIB =
234            XILIB = -lXi
235
236         SOXLIBREV = 4.10
237           SOXTREV = 4.10
238          SOXAWREV = 5.0
239         SOOLDXREV = 4.10
240          SOXMUREV = 4.10
241         SOXEXTREV = 4.10
242       SOXINPUTREV = 4.10
243
244       DEPXAUTHLIB = $(USRLIBDIR)/libXau.a
245          XAUTHLIB =  -lXau
246       DEPXDMCPLIB = $(USRLIBDIR)/libXdmcp.a
247          XDMCPLIB =  -lXdmcp
248
249         DEPPHIGSLIB = $(USRLIBDIR)/libphigs.a
250            PHIGSLIB =  -lphigs
251
252        DEPXBSDLIB = $(USRLIBDIR)/libXbsd.a
253           XBSDLIB =  -lXbsd
254
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
262
263           DEPLIBS = $(DEPXAWLIB) $(DEPXMULIB) $(DEPXTOOLLIB) $(DEPXLIB)
264
265          DEPLIBS1 = $(DEPLIBS)
266          DEPLIBS2 = $(DEPLIBS)
267          DEPLIBS3 = $(DEPLIBS)
268
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 $
272
273 # -------------------------------------------------------------------------
274 # start of Imakefile
275
276 #
277 #
278 #
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
283
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
288
289         DEFINES = -DERWISE -I..
290
291 all:: libWWW.a
292
293 libWWW.a:  $(OBJS)
294         $(RM) $@
295         $(AR) $@  $(OBJS)
296         $(RANLIB) $@
297
298 depend::
299         $(DEPEND) $(DEPENDFLAGS) -s "# DO NOT DELETE" -- $(ALLDEFINES) -- $(SRCS)
300
301 # -------------------------------------------------------------------------
302 # common rules for all Makefiles - do not edit
303
304 emptyrule::
305
306 clean::
307         $(RM_CMD) "#"*
308
309 Makefile::
310         -@if [ -f Makefile ]; then set -x; \
311         $(RM) Makefile.bak; $(MV) Makefile Makefile.bak; \
312         else exit 0; fi
313         $(IMAKE_CMD) -DTOPDIR=$(TOP) -DCURDIR=$(CURRENT_DIR)
314
315 tags::
316         $(TAGS) -w *.[ch]
317         $(TAGS) -xw *.[ch] > TAGS
318
319 saber:
320         # load $(ALLDEFINES) $(SRCS)
321
322 osaber:
323         # load $(ALLDEFINES) $(OBJS)
324
325 # -------------------------------------------------------------------------
326 # empty rules for directories that do not have SUBDIRS - do not edit
327
328 install::
329         @echo "install in $(CURRENT_DIR) done"
330
331 install.man::
332         @echo "install.man in $(CURRENT_DIR) done"
333
334 Makefiles::
335
336 includes::
337
338 # -------------------------------------------------------------------------
339 # dependencies generated by makedepend
340