comparison lwlib/Makefile.in @ 7178:349c14d8be3a

entered into RCS
author Richard M. Stallman <rms@gnu.org>
date Thu, 28 Apr 1994 20:01:12 +0000
parents 01e7faac0761
children 71fa5c477213
comparison
equal deleted inserted replaced
7177:9e627ca8f0a0 7178:349c14d8be3a
19 19
20 LN = ln -s 20 LN = ln -s
21 RANLIB = ranlib 21 RANLIB = ranlib
22 RM = rm -f 22 RM = rm -f
23 23
24 LUCID_SRCS = lwlib-Xlw.c xlwmenu.c lwlib-Xaw.c
25 LUCID_OBJS = lwlib-Xlw.o xlwmenu.o lwlib-Xaw.o 24 LUCID_OBJS = lwlib-Xlw.o xlwmenu.o lwlib-Xaw.o
26 MOTIF_SRCS = lwlib-Xm.c
27 MOTIF_OBJS = lwlib-Xm.o 25 MOTIF_OBJS = lwlib-Xm.o
28 OLIT_SRCS = lwlib-Xol.c lwlib-Xolmb.c
29 OLIT_OBJS = lwlib-Xol.o lwlib-Xolmb.o 26 OLIT_OBJS = lwlib-Xol.o lwlib-Xolmb.o
30 27
31 TOOLKIT_DEFINES = -DUSE_$(USE_X_TOOLKIT) 28 TOOLKIT_DEFINES = -DUSE_$(USE_X_TOOLKIT)
32 TOOLKIT_SRCS = $(@X_TOOLKIT_TYPE@_SRCS)
33 TOOLKIT_OBJS = $(@X_TOOLKIT_TYPE@_OBJS) 29 TOOLKIT_OBJS = $(@X_TOOLKIT_TYPE@_OBJS)
34 30
35 SRCS = lwlib.c $(TOOLKIT_SRCS) lwlib-utils.c
36 OBJS = lwlib.o $(TOOLKIT_OBJS) lwlib-utils.o 31 OBJS = lwlib.o $(TOOLKIT_OBJS) lwlib-utils.o
37 32
38 ALL_CFLAGS= $(C_SWITCH_SITE) $(C_SWITCH_SYSTEM) $(C_SWITCH_X_SITE) \ 33 ALL_CFLAGS= $(C_SWITCH_SITE) $(C_SWITCH_SYSTEM) $(C_SWITCH_X_SITE) \
39 $(C_SWITCH_X_SYSTEM) $(C_SWITCH_MACHINE) $(CPPFLAGS) $(CFLAGS) \ 34 $(C_SWITCH_X_SYSTEM) $(C_SWITCH_MACHINE) $(CPPFLAGS) $(CFLAGS) \
40 -DEMACS_BITMAP_FILES -Demacs 35 -DEMACS_BITMAP_FILES -Demacs
51 @echo fails due to the absence of a ranlib program on your system. 46 @echo fails due to the absence of a ranlib program on your system.
52 -$(RANLIB) $@ || true 47 -$(RANLIB) $@ || true
53 #If running ranlib fails, probably there is none. 48 #If running ranlib fails, probably there is none.
54 #That's ok. So don't stop the build. 49 #That's ok. So don't stop the build.
55 50
56 lwlib.o: lwlib.c 51 lwlib.o: $(srcdir)/lwlib.c
57 $(CC) -c $(TOOLKIT_DEFINES) $(ALL_CFLAGS) $(srcdir)/lwlib.c 52 $(CC) -c $(TOOLKIT_DEFINES) $(ALL_CFLAGS) $(srcdir)/lwlib.c
58 53
59 xrdb-cpp.o: xrdb-cpp.c 54 xrdb-cpp.o: $(srcdir)/xrdb-cpp.c
60 $(CC) -c "-DCPP_PROGRAM=$(CPP)" $(ALL_CFLAGS) $(srcdir)/xrdb-cpp.c 55 $(CC) -c "-DCPP_PROGRAM=$(CPP)" $(ALL_CFLAGS) $(srcdir)/xrdb-cpp.c
61 56
62 lwlib-utils.o: lwlib-utils.h 57 lwlib-utils.o: lwlib-utils.h
63 lwlib.o: lwlib.h lwlib-int.h 58 lwlib.o: lwlib.h lwlib-int.h
64 lwlib-Xlw.o: lwlib.h lwlib-int.h 59 lwlib-Xlw.o: lwlib.h lwlib-int.h