Mercurial > emacs
comparison lwlib/Makefile.in @ 5626:93bb7e0935ba
Initial revision
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Tue, 18 Jan 1994 23:47:41 +0000 |
parents | |
children | 7c7250844e72 |
comparison
equal
deleted
inserted
replaced
5625:24f92f49a07f | 5626:93bb7e0935ba |
---|---|
1 # Makefile generated by imake - do not edit! | |
2 # $XConsortium: imake.c,v 1.51 89/12/12 12:37:30 jim 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 <Imakefile> | |
11 # $XConsortium: Imake.tmpl,v 1.77 89/12/18 17:01:37 jim Exp $ | |
12 # | |
13 # Platform-specific parameters may be set in the appropriate .cf | |
14 # configuration files. Site-wide parameters may be set in the file | |
15 # site.def. Full rebuilds are recommended if any parameters are changed. | |
16 # | |
17 # If your C preprocessor doesn't define any unique symbols, you'll need | |
18 # to set BOOTSTRAPCFLAGS when rebuilding imake (usually when doing | |
19 # "make Makefile", "make Makefiles", or "make World"). | |
20 # | |
21 # If you absolutely can't get imake to work, you'll need to set the | |
22 # variables at the top of each Makefile as well as the dependencies at the | |
23 # bottom (makedepend will do this automatically). | |
24 # | |
25 | |
26 ########################################################################### | |
27 # platform-specific configuration parameters - edit sun.cf to change | |
28 | |
29 # platform: $XConsortium: sun.cf,v 1.38 89/12/23 16:10:10 jim Exp $ | |
30 # operating system: SunOS 4.0.3 | |
31 | |
32 ########################################################################### | |
33 # site-specific configuration parameters - edit site.def to change | |
34 | |
35 # site: $XConsortium: site.def,v 1.21 89/12/06 11:46:50 jim Exp $ | |
36 | |
37 SHELL = /bin/sh | |
38 | |
39 TOP = . | |
40 CURRENT_DIR = . | |
41 | |
42 AR = ar cq | |
43 BOOTSTRAPCFLAGS = | |
44 CC = gcc -DNOSTDHDRS -fstrength-reduce -fpcc-struct-return -fwritable-strings -traditional | |
45 | |
46 COMPRESS = compress | |
47 CPP = /lib/cpp $(STD_CPP_DEFINES) | |
48 PREPROCESSCMD = gcc -DNOSTDHDRS -fstrength-reduce -fpcc-struct-return -fwritable-strings -traditional -E $(STD_CPP_DEFINES) | |
49 INSTALL = install | |
50 LD = ld | |
51 LINT = lint | |
52 LINTLIBFLAG = -C | |
53 LINTOPTS = -axz | |
54 LN = ln -s | |
55 MAKE = make | |
56 MV = mv | |
57 CP = cp | |
58 RANLIB = ranlib | |
59 RANLIBINSTFLAGS = | |
60 RM = rm -f | |
61 STD_INCLUDES = | |
62 STD_CPP_DEFINES = | |
63 STD_DEFINES = | |
64 EXTRA_LOAD_FLAGS = | |
65 EXTRA_LIBRARIES = | |
66 TAGS = ctags | |
67 | |
68 SHAREDCODEDEF = -DSHAREDCODE | |
69 SHLIBDEF = -DSUNSHLIB | |
70 | |
71 PROTO_DEFINES = | |
72 | |
73 INSTPGMFLAGS = | |
74 | |
75 INSTBINFLAGS = -m 0755 | |
76 INSTUIDFLAGS = -m 4755 | |
77 INSTLIBFLAGS = -m 0664 | |
78 INSTINCFLAGS = -m 0444 | |
79 INSTMANFLAGS = -m 0444 | |
80 INSTDATFLAGS = -m 0444 | |
81 INSTKMEMFLAGS = -m 4755 | |
82 | |
83 DESTDIR = | |
84 | |
85 TOP_INCLUDES = -I$(INCROOT) | |
86 | |
87 CDEBUGFLAGS = -O | |
88 CCOPTIONS = | |
89 COMPATFLAGS = | |
90 | |
91 ALLINCLUDES = $(STD_INCLUDES) $(TOP_INCLUDES) $(INCLUDES) $(EXTRA_INCLUDES) | |
92 ALLDEFINES = $(ALLINCLUDES) $(STD_DEFINES) $(PROTO_DEFINES) $(DEFINES) $(COMPATFLAGS) | |
93 CFLAGS = $(CDEBUGFLAGS) $(CCOPTIONS) $(ALLDEFINES) | |
94 LINTFLAGS = $(LINTOPTS) -DLINT $(ALLDEFINES) | |
95 LDLIBS = $(SYS_LIBRARIES) $(EXTRA_LIBRARIES) | |
96 LDOPTIONS = $(CDEBUGFLAGS) $(CCOPTIONS) | |
97 LDCOMBINEFLAGS = -X -r | |
98 | |
99 MACROFILE = sun.cf | |
100 RM_CMD = $(RM) *.CKP *.ln *.BAK *.bak *.o core errs ,* *~ *.a .emacs_* tags TAGS make.log MakeOut | |
101 | |
102 IMAKE_DEFINES = | |
103 | |
104 IRULESRC = $(CONFIGDIR) | |
105 IMAKE_CMD = $(IMAKE) -DUseInstalled -I$(IRULESRC) $(IMAKE_DEFINES) | |
106 | |
107 ICONFIGFILES = $(IRULESRC)/Imake.tmpl $(IRULESRC)/Imake.rules \ | |
108 $(IRULESRC)/Project.tmpl $(IRULESRC)/site.def \ | |
109 $(IRULESRC)/$(MACROFILE) $(EXTRA_ICONFIGFILES) | |
110 | |
111 ########################################################################### | |
112 # X Window System Build Parameters | |
113 # $XConsortium: Project.tmpl,v 1.63 89/12/18 16:46:44 jim Exp $ | |
114 | |
115 ########################################################################### | |
116 # X Window System make variables; this need to be coordinated with rules | |
117 # $XConsortium: Project.tmpl,v 1.63 89/12/18 16:46:44 jim Exp $ | |
118 | |
119 PATHSEP = / | |
120 USRLIBDIR = $(DESTDIR)/usr/lib | |
121 BINDIR = $(DESTDIR)/usr/bin/X11 | |
122 INCROOT = $(DESTDIR)/usr/include | |
123 BUILDINCROOT = $(TOP) | |
124 BUILDINCDIR = $(BUILDINCROOT)/X11 | |
125 BUILDINCTOP = .. | |
126 INCDIR = $(INCROOT)/X11 | |
127 ADMDIR = $(DESTDIR)/usr/adm | |
128 LIBDIR = $(USRLIBDIR)/X11 | |
129 CONFIGDIR = $(LIBDIR)/config | |
130 LINTLIBDIR = $(USRLIBDIR)/lint | |
131 | |
132 FONTDIR = $(LIBDIR)/fonts | |
133 XINITDIR = $(LIBDIR)/xinit | |
134 XDMDIR = $(LIBDIR)/xdm | |
135 AWMDIR = $(LIBDIR)/awm | |
136 TWMDIR = $(LIBDIR)/twm | |
137 GWMDIR = $(LIBDIR)/gwm | |
138 MANPATH = $(DESTDIR)/usr/man | |
139 MANSOURCEPATH = $(MANPATH)/man | |
140 MANDIR = $(MANSOURCEPATH)n | |
141 LIBMANDIR = $(MANSOURCEPATH)3 | |
142 XAPPLOADDIR = $(LIBDIR)/app-defaults | |
143 | |
144 SOXLIBREV = 4.2 | |
145 SOXTREV = 4.0 | |
146 SOXAWREV = 4.0 | |
147 SOOLDXREV = 4.0 | |
148 SOXMUREV = 4.0 | |
149 SOXEXTREV = 4.0 | |
150 | |
151 FONTCFLAGS = -t | |
152 | |
153 INSTAPPFLAGS = $(INSTDATFLAGS) | |
154 | |
155 IMAKE = imake | |
156 DEPEND = makedepend | |
157 RGB = rgb | |
158 FONTC = bdftosnf | |
159 MKFONTDIR = mkfontdir | |
160 MKDIRHIER = /bin/sh $(BINDIR)/mkdirhier | |
161 | |
162 CONFIGSRC = $(TOP)/config | |
163 CLIENTSRC = $(TOP)/clients | |
164 DEMOSRC = $(TOP)/demos | |
165 LIBSRC = $(TOP)/lib | |
166 FONTSRC = $(TOP)/fonts | |
167 INCLUDESRC = $(TOP)/X11 | |
168 SERVERSRC = $(TOP)/server | |
169 UTILSRC = $(TOP)/util | |
170 SCRIPTSRC = $(UTILSRC)/scripts | |
171 EXAMPLESRC = $(TOP)/examples | |
172 CONTRIBSRC = $(TOP)/../contrib | |
173 DOCSRC = $(TOP)/doc | |
174 RGBSRC = $(TOP)/rgb | |
175 DEPENDSRC = $(UTILSRC)/makedepend | |
176 IMAKESRC = $(CONFIGSRC) | |
177 XAUTHSRC = $(LIBSRC)/Xau | |
178 XLIBSRC = $(LIBSRC)/X | |
179 XMUSRC = $(LIBSRC)/Xmu | |
180 TOOLKITSRC = $(LIBSRC)/Xt | |
181 AWIDGETSRC = $(LIBSRC)/Xaw | |
182 OLDXLIBSRC = $(LIBSRC)/oldX | |
183 XDMCPLIBSRC = $(LIBSRC)/Xdmcp | |
184 BDFTOSNFSRC = $(FONTSRC)/bdftosnf | |
185 MKFONTDIRSRC = $(FONTSRC)/mkfontdir | |
186 EXTENSIONSRC = $(TOP)/extensions | |
187 | |
188 DEPEXTENSIONLIB = $(USRLIBDIR)/libXext.a | |
189 EXTENSIONLIB = -lXext | |
190 | |
191 DEPXLIB = $(DEPEXTENSIONLIB) | |
192 XLIB = $(EXTENSIONLIB) -lX11 | |
193 | |
194 DEPXAUTHLIB = $(USRLIBDIR)/libXau.a | |
195 XAUTHLIB = -lXau | |
196 | |
197 DEPXMULIB = | |
198 XMULIB = -lXmu | |
199 | |
200 DEPOLDXLIB = | |
201 OLDXLIB = -loldX | |
202 | |
203 DEPXTOOLLIB = | |
204 XTOOLLIB = -lXt | |
205 | |
206 DEPXAWLIB = | |
207 XAWLIB = -lXaw | |
208 | |
209 LINTEXTENSIONLIB = $(USRLIBDIR)/llib-lXext.ln | |
210 LINTXLIB = $(USRLIBDIR)/llib-lX11.ln | |
211 LINTXMU = $(USRLIBDIR)/llib-lXmu.ln | |
212 LINTXTOOL = $(USRLIBDIR)/llib-lXt.ln | |
213 LINTXAW = $(USRLIBDIR)/llib-lXaw.ln | |
214 | |
215 XWLIBSRC = $(CONTRIBSRC)/toolkits/Xw | |
216 DEPXWLIB = $(USRLIBDIR)/libXw.a | |
217 XWLIB = -lXw | |
218 | |
219 DEPLIBS = $(DEPXAWLIB) $(DEPXMULIB) $(DEPXTOOLLIB) $(DEPXLIB) | |
220 | |
221 DEPLIBS1 = $(DEPLIBS) | |
222 DEPLIBS2 = $(DEPLIBS) | |
223 DEPLIBS3 = $(DEPLIBS) | |
224 | |
225 ########################################################################### | |
226 # Imake rules for building libraries, programs, scripts, and data files | |
227 # rules: $XConsortium: Imake.rules,v 1.67 89/12/18 17:14:15 jim Exp $ | |
228 | |
229 ########################################################################### | |
230 # start of Imakefile | |
231 | |
232 # Imakefile file for liblw.a, Copyright (c) 1992-1993 Lucid, Inc. | |
233 | |
234 STD_DEFINES = | |
235 CDEBUGFLAGS = -O | |
236 EXT_DEFINES = -DTHIS_IS_X11R4 | |
237 WHICH_X = x11r4 | |
238 | |
239 LUCID_SRCS = lwlib-Xlw.c xlwmenu.c | |
240 LUCID_OBJS = lwlib-Xlw.o xlwmenu.o | |
241 MOTIF_SRCS = lwlib-Xm.c | |
242 MOTIF_OBJS = lwlib-Xm.o | |
243 OLIT_SRCS = lwlib-Xol.c lwlib-Xol-mb.c | |
244 OLIT_OBJS = lwlib-Xol.o lwlib-Xol-mb.o | |
245 | |
246 TOOLKIT_DEFINES = -DUSE_LUCID | |
247 TOOLKIT_SRCS = $(LUCID_SRC) | |
248 TOOLKIT_OBJS = $(LUCID_OBJS) | |
249 | |
250 SRCS = lwlib.c $(TOOLKIT_SRCS) lwlib-utils.c $(EXT_SRCS) | |
251 OBJS = lwlib.o $(TOOLKIT_OBJS) lwlib-utils.o $(EXT_OBJS) $(EZ_OBJS) | |
252 EXT_FLAGS = -I$(TOOLKITSRC) $(EXT_DEFINES) | |
253 LIBNAME = liblw.a | |
254 | |
255 .c.o: | |
256 $(RM) $@ | |
257 $(CC) -c $(CFLAGS) $*.c | |
258 | |
259 all:: liblw.a | |
260 | |
261 liblw.a: $(OBJS) | |
262 $(RM) $@ | |
263 $(AR) $@ $(OBJS) | |
264 $(RANLIB) $@ | |
265 | |
266 Makefiles:: | |
267 @case '${MFLAGS}' in *[ik]*) set +e;; esac; \ | |
268 for i in energize ;\ | |
269 do \ | |
270 echo "making Makefiles in $(CURRENT_DIR)/$$i..."; \ | |
271 case "$$i" in \ | |
272 ./?*/?*/?*/?*) newtop=../../../../ sub=subsubsubsub;; \ | |
273 ./?*/?*/?*) newtop=../../../ sub=subsubsub;; \ | |
274 ./?*/?*) newtop=../../ sub=subsub;; \ | |
275 ./?*) newtop=../ sub=sub;; \ | |
276 */?*/?*/?*) newtop=../../../../ sub=subsubsubsub;; \ | |
277 */?*/?*) newtop=../../../ sub=subsubsub;; \ | |
278 */?*) newtop=../../ sub=subsub;; \ | |
279 *) newtop=../ sub=sub;; \ | |
280 esac; \ | |
281 case "$(TOP)" in \ | |
282 /?*) newtop= upprefix= ;; \ | |
283 *) upprefix=../ ;; \ | |
284 esac; \ | |
285 $(MAKE) $${sub}dirMakefiles UPPREFIX=$$upprefix NEWTOP=$$newtop \ | |
286 MAKEFILE_SUBDIR=$$i NEW_CURRENT_DIR=$(CURRENT_DIR)/$$i;\ | |
287 done | |
288 | |
289 subdirMakefiles: | |
290 $(RM) $(MAKEFILE_SUBDIR)/Makefile.bak | |
291 -@if [ -f $(MAKEFILE_SUBDIR)/Makefile ]; then \ | |
292 echo " $(MV) $(MAKEFILE_SUBDIR)/Makefile $(MAKEFILE_SUBDIR)/Makefile.bak"; \ | |
293 $(MV) $(MAKEFILE_SUBDIR)/Makefile $(MAKEFILE_SUBDIR)/Makefile.bak; \ | |
294 else exit 0; fi | |
295 cd $(MAKEFILE_SUBDIR); $(IMAKE_CMD) -DTOPDIR=$(UPPREFIX)$(TOP) -DCURDIR=$(NEW_CURRENT_DIR); \ | |
296 $(MAKE) $(MFLAGS) Makefiles | |
297 | |
298 subsubdirMakefiles: | |
299 $(RM) $(MAKEFILE_SUBDIR)/Makefile.bak | |
300 -@if [ -f $(MAKEFILE_SUBDIR)/Makefile ]; then \ | |
301 echo " $(MV) $(MAKEFILE_SUBDIR)/Makefile $(MAKEFILE_SUBDIR)/Makefile.bak"; \ | |
302 $(MV) $(MAKEFILE_SUBDIR)/Makefile $(MAKEFILE_SUBDIR)/Makefile.bak; \ | |
303 else exit 0; fi | |
304 cd $(MAKEFILE_SUBDIR); $(IMAKE_CMD) -DTOPDIR=$(UPPREFIX)$(UPPREFIX)$(TOP) -DCURDIR=$(NEW_CURRENT_DIR); \ | |
305 $(MAKE) $(MFLAGS) Makefiles | |
306 | |
307 subsubsubdirMakefiles: | |
308 $(RM) $(MAKEFILE_SUBDIR)/Makefile.bak | |
309 -@if [ -f $(MAKEFILE_SUBDIR)/Makefile ]; then \ | |
310 echo " $(MV) $(MAKEFILE_SUBDIR)/Makefile $(MAKEFILE_SUBDIR)/Makefile.bak"; \ | |
311 $(MV) $(MAKEFILE_SUBDIR)/Makefile $(MAKEFILE_SUBDIR)/Makefile.bak; \ | |
312 else exit 0; fi | |
313 cd $(MAKEFILE_SUBDIR); $(IMAKE_CMD) -DTOPDIR=$(UPPREFIX)$(UPPREFIX)$(UPPREFIX)$(TOP) -DCURDIR=$(NEW_CURRENT_DIR); \ | |
314 $(MAKE) $(MFLAGS) Makefiles | |
315 | |
316 subsubsubsubdirMakefiles: | |
317 $(RM) $(MAKEFILE_SUBDIR)/Makefile.bak | |
318 -@if [ -f $(MAKEFILE_SUBDIR)/Makefile ]; then \ | |
319 echo " $(MV) $(MAKEFILE_SUBDIR)/Makefile $(MAKEFILE_SUBDIR)/Makefile.bak"; \ | |
320 $(MV) $(MAKEFILE_SUBDIR)/Makefile $(MAKEFILE_SUBDIR)/Makefile.bak; \ | |
321 else exit 0; fi | |
322 cd $(MAKEFILE_SUBDIR); $(IMAKE_CMD) -DTOPDIR=$(UPPREFIX)$(UPPREFIX)$(UPPREFIX)$(UPPREFIX)$(TOP) -DCURDIR=$(NEW_CURRENT_DIR); \ | |
323 $(MAKE) $(MFLAGS) Makefiles | |
324 | |
325 depend:: | |
326 $(DEPEND) -s "# DO NOT DELETE" -- $(ALLDEFINES) -- $(SRCS) | |
327 | |
328 CPPDEFS=-DCPP_PROGRAM=\"/lib/cpp\" | |
329 | |
330 lwlib.o: lwlib.c | |
331 $(RM) $@ | |
332 $(CC) -c $(CFLAGS) $(TOOLKIT_DEFINES) $*.c | |
333 | |
334 dispatch.o: dispatch.c | |
335 $(RM) $@ | |
336 $(CC) -c $(CFLAGS) $(EXT_FLAGS) $*.c | |
337 | |
338 xrdb-cpp.o: xrdb-cpp.c | |
339 $(RM) $@ | |
340 $(CC) -c $(CFLAGS) $(EXT_FLAGS) "$(CPPDEFS)" $*.c | |
341 | |
342 xrdb.o: xrdb.c | |
343 $(RM) $@ | |
344 $(CC) -c $(CFLAGS) $(EXT_FLAGS) $*.c | |
345 | |
346 lwlib-Xm.o: lwlib-Xm.c | |
347 $(RM) $@ | |
348 $(CC) -c $(CFLAGS) $(ENERGIZEP) $*.c | |
349 | |
350 lwlib-utils.o: lwlib-utils.h | |
351 lwlib.o: lwlib.h lwlib-internal.h | |
352 lwlib-Xlw.o: lwlib.h lwlib-internal.h | |
353 lwlib-Xm.o: lwlib.h lwlib-internal.h lwlib-utils.h | |
354 lwlib-Xol.o: lwlib.h lwlib-internal.h | |
355 lwlib-Xol-mb.o: lwlib-Xol-mb.h lwlib-Xol-mbP.h | |
356 | |
357 ########################################################################### | |
358 # common rules for all Makefiles - do not edit | |
359 | |
360 emptyrule:: | |
361 | |
362 clean:: | |
363 $(RM_CMD) \#* | |
364 | |
365 Makefile:: | |
366 -@if [ -f Makefile ]; then \ | |
367 echo " $(RM) Makefile.bak; $(MV) Makefile Makefile.bak"; \ | |
368 $(RM) Makefile.bak; $(MV) Makefile Makefile.bak; \ | |
369 else exit 0; fi | |
370 $(IMAKE_CMD) -DTOPDIR=$(TOP) -DCURDIR=$(CURRENT_DIR) | |
371 | |
372 tags:: | |
373 $(TAGS) -w *.[ch] | |
374 $(TAGS) -xw *.[ch] > TAGS | |
375 | |
376 saber: | |
377 #load $(ALLDEFINES) $(SRCS) | |
378 | |
379 osaber: | |
380 #load $(ALLDEFINES) $(OBJS) | |
381 | |
382 ########################################################################### | |
383 # empty rules for directories that do not have SUBDIRS - do not edit | |
384 | |
385 install:: | |
386 @echo "install in $(CURRENT_DIR) done" | |
387 | |
388 install.man:: | |
389 @echo "install.man in $(CURRENT_DIR) done" | |
390 | |
391 Makefiles:: | |
392 | |
393 includes:: | |
394 | |
395 ########################################################################### | |
396 # dependencies generated by makedepend | |
397 |