comparison lwlib/Makefile.in @ 44919:fcecfcb56e16

Remove OpenLook file dependencies. (xrdb-cpp.o): Remove target. Remove unused defines.
author Pavel Janík <Pavel@Janik.cz>
date Sun, 28 Apr 2002 13:33:40 +0000
parents 1cea8c8f73cb
children 9212cd524014 d7ddb3e565de
comparison
equal deleted inserted replaced
44918:5be82e969d2f 44919:fcecfcb56e16
21 LN = ln -s 21 LN = ln -s
22 RM = rm -f 22 RM = rm -f
23 23
24 LUCID_OBJS = lwlib-Xlw.o xlwmenu.o lwlib-Xaw.o 24 LUCID_OBJS = lwlib-Xlw.o xlwmenu.o lwlib-Xaw.o
25 MOTIF_OBJS = lwlib-Xm.o 25 MOTIF_OBJS = lwlib-Xm.o
26 OLIT_OBJS = lwlib-Xol.o lwlib-Xolmb.o
27 26
28 TOOLKIT_DEFINES = -DUSE_$(USE_X_TOOLKIT) 27 TOOLKIT_DEFINES = -DUSE_$(USE_X_TOOLKIT)
29 TOOLKIT_OBJS = $(@X_TOOLKIT_TYPE@_OBJS) 28 TOOLKIT_OBJS = $(@X_TOOLKIT_TYPE@_OBJS)
30 29
31 OBJS = lwlib.o $(TOOLKIT_OBJS) lwlib-utils.o 30 OBJS = lwlib.o $(TOOLKIT_OBJS) lwlib-utils.o
32 31
33 # ../src is needed to find config.h. 32 # ../src is needed to find config.h.
34 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) \
35 $(C_SWITCH_X_SYSTEM) $(C_SWITCH_MACHINE) $(CPPFLAGS) $(CFLAGS) \ 34 $(C_SWITCH_X_SYSTEM) $(C_SWITCH_MACHINE) $(CPPFLAGS) $(CFLAGS) \
36 -DEMACS_BITMAP_FILES -DHAVE_CONFIG_H -Demacs \ 35 -DHAVE_CONFIG_H -Demacs -I. -I../src -I${srcdir} -I${srcdir}/../src
37 -I. -I../src -I${srcdir} -I${srcdir}/../src
38 36
39 .c.o: 37 .c.o:
40 $(CC) -c ${ALL_CFLAGS} $< 38 $(CC) -c ${ALL_CFLAGS} $<
41 39
42 all:: liblw.a 40 all:: liblw.a
48 46
49 # Depend on Makefile so that we recompile if TOOLKIT_DEFINES changes. 47 # Depend on Makefile so that we recompile if TOOLKIT_DEFINES changes.
50 lwlib.o: $(srcdir)/lwlib.c Makefile 48 lwlib.o: $(srcdir)/lwlib.c Makefile
51 $(CC) -c $(TOOLKIT_DEFINES) $(ALL_CFLAGS) $(srcdir)/lwlib.c 49 $(CC) -c $(TOOLKIT_DEFINES) $(ALL_CFLAGS) $(srcdir)/lwlib.c
52 50
53 xrdb-cpp.o: $(srcdir)/xrdb-cpp.c
54 $(CC) -c "-DCPP_PROGRAM=$(CPP)" $(ALL_CFLAGS) $(srcdir)/xrdb-cpp.c
55
56 lwlib-utils.o: lwlib-utils.c lwlib-utils.h 51 lwlib-utils.o: lwlib-utils.c lwlib-utils.h
57 lwlib.o: lwlib.c lwlib.h lwlib-int.h lwlib-Xaw.h lwlib-Xlw.h 52 lwlib.o: lwlib.c lwlib.h lwlib-int.h lwlib-Xaw.h lwlib-Xlw.h
58 lwlib-Xlw.o: lwlib-Xlw.c lwlib.h lwlib-int.h lwlib-Xlw.h 53 lwlib-Xlw.o: lwlib-Xlw.c lwlib.h lwlib-int.h lwlib-Xlw.h
59 lwlib-Xaw.o: lwlib-Xaw.c lwlib-Xaw.h lwlib.h lwlib-int.h 54 lwlib-Xaw.o: lwlib-Xaw.c lwlib-Xaw.h lwlib.h lwlib-int.h
60 lwlib-Xm.o: lwlib-Xm.c lwlib-Xm.h lwlib.h lwlib-int.h lwlib-utils.h 55 lwlib-Xm.o: lwlib-Xm.c lwlib-Xm.h lwlib.h lwlib-int.h lwlib-utils.h
61 lwlib-Xol.o: lwlib-Xol.c lwlib.h lwlib-int.h
62 lwlib-Xolmb.o: lwlib-Xolmb.c lwlib-Xolmb.h lwlib-XolmbP.h
63 xlwmenu.o: xlwmenu.c xlwmenu.h lwlib.h xlwmenuP.h 56 xlwmenu.o: xlwmenu.c xlwmenu.h lwlib.h xlwmenuP.h
64 57
65 mostlyclean: 58 mostlyclean:
66 $(RM) *.o core errs ,* *~ *.a .emacs_* make.log MakeOut \#* 59 $(RM) *.o core errs ,* *~ *.a .emacs_* make.log MakeOut \#*
67 60