Mercurial > hg > xemacs-beta
comparison lwlib/Makefile.in.in @ 217:d44af0c54775 r20-4b7
Import from CVS: tag r20-4b7
author | cvs |
---|---|
date | Mon, 13 Aug 2007 10:08:34 +0200 |
parents | f53b5ca2e663 |
children | c5d627a313b1 |
comparison
equal
deleted
inserted
replaced
216:43306a74e31c | 217:d44af0c54775 |
---|---|
47 vpath %.h @srcdir@ | 47 vpath %.h @srcdir@ |
48 #else | 48 #else |
49 VPATH=@srcdir@ | 49 VPATH=@srcdir@ |
50 #endif | 50 #endif |
51 | 51 |
52 #ifdef ENERGIZE | 52 objs = lwlib.o lwlib-utils.o lwlib-config.o @lwlib_objs@ |
53 EZ_OBJS =\ | |
54 energize/blpsheet.o energize/build.o energize/classbr_ps.o\ | |
55 energize/ctreebr_ps.o energize/debuggerps.o energize/editmode.o\ | |
56 energize/leb_psheet.o energize/projectdisp.o energize/projectps.o\ | |
57 energize/search.o energize/target.o | |
58 ENERGIZEP = -DENERGIZE | |
59 EZ_SUBDIR = ez_dialog | |
60 #endif | |
61 | 53 |
62 objs = lwlib.o lwlib-utils.o lwlib-config.o $(EZ_OBJS) @lwlib_objs@ | 54 all: liblw.a |
63 | |
64 all: $(EZ_SUBDIR) liblw.a | |
65 | 55 |
66 c_switch_general=@c_switch_general@ | 56 c_switch_general=@c_switch_general@ |
67 c_switch_window_system=@c_switch_window_system@ | 57 c_switch_window_system=@c_switch_window_system@ |
68 c_switch_all=@c_switch_all@ | 58 c_switch_all=@c_switch_all@ |
69 ld_switch_general=@ld_switch_general@ | 59 ld_switch_general=@ld_switch_general@ |
71 ld_switch_all=@ld_switch_all@ | 61 ld_switch_all=@ld_switch_all@ |
72 ld_libs_general=@ld_libs_general@ | 62 ld_libs_general=@ld_libs_general@ |
73 ld_libs_window_system=@ld_libs_window_system@ | 63 ld_libs_window_system=@ld_libs_window_system@ |
74 ld_libs_all=@ld_libs_all@ | 64 ld_libs_all=@ld_libs_all@ |
75 | 65 |
76 cppflags = $(CPPFLAGS) -I. $(c_switch_all) $(ENERGIZEP) | 66 cppflags = $(CPPFLAGS) -I. $(c_switch_all) |
77 cflags = $(CFLAGS) $(cppflags) | 67 cflags = $(CFLAGS) $(cppflags) |
78 | 68 |
79 ALL_CFLAGS= $(CFLAGS) $(CPPFLAGS) -I. $(c_switch_all) $(ENERGIZEP) | 69 ALL_CFLAGS= $(CFLAGS) $(CPPFLAGS) -I. $(c_switch_all) |
80 #ifdef SOLARIS2 | 70 #ifdef SOLARIS2 |
81 %.o : %.c | 71 %.o : %.c |
82 #else | 72 #else |
83 .c.o: | 73 .c.o: |
84 #endif | 74 #endif |
91 liblw.a: $(objs) | 81 liblw.a: $(objs) |
92 $(RM) $@ | 82 $(RM) $@ |
93 $(AR) $@ $(objs) | 83 $(AR) $@ $(objs) |
94 @-test -n "$(RANLIB)" && $(RANLIB) $@ | 84 @-test -n "$(RANLIB)" && $(RANLIB) $@ |
95 | 85 |
96 #ifdef ENERGIZE | |
97 ez_dialog: | |
98 cd energize && $(RECURSIVE_MAKE) | |
99 #endif | |
100 | |
101 .PHONY: mostlyclean clean distclean realclean extraclean | 86 .PHONY: mostlyclean clean distclean realclean extraclean |
102 mostlyclean: | 87 mostlyclean: |
103 $(RM) liblw.a liblw_pure_*.a *.o *.i core | 88 $(RM) liblw.a liblw_pure_*.a *.o *.i core |
104 clean: mostlyclean | 89 clean: mostlyclean |
105 #ifdef ENERGIZE | |
106 cd energize && $(RECURSIVE_MAKE) clean | |
107 #endif | |
108 distclean: clean | 90 distclean: clean |
109 $(RM) Makefile Makefile.in config.h TAGS | 91 $(RM) Makefile Makefile.in config.h TAGS |
110 realclean: distclean | 92 realclean: distclean |
111 extraclean: distclean | 93 extraclean: distclean |
112 $(RM) *~ \#* | 94 $(RM) *~ \#* |