comparison lwlib/Makefile.in.in @ 163:0132846995bd r20-3b8

Import from CVS: tag r20-3b8
author cvs
date Mon, 13 Aug 2007 09:43:35 +0200
parents 3bb7ccffb0c0
children 929b76928fce
comparison
equal deleted inserted replaced
162:4de2936b4e77 163:0132846995bd
1 /* Makefile for Lucid Widget Library 1 ## Makefile for Lucid Widget Library
2 Copyright (C) 1994 Lucid, Inc. 2 ## Copyright (C) 1994 Lucid, Inc.
3 Copyright (C) 1995 Tinker Systems and INS Engineering Corp. 3 ## Copyright (C) 1995 Tinker Systems and INS Engineering Corp.
4 Copyright (C) 1994, 1995 Board of Trustees, University of Illinois 4 ## Copyright (C) 1994, 1995 Board of Trustees, University of Illinois
5 ## Copyright (C) 1996, 1997 Sun Microsystems, Inc.
5 6
6 This file is part of the Lucid Widget Library. 7 ## This file is part of the Lucid Widget Library.
7 8
8 The Lucid Widget Library is free software; you can redistribute it and/or 9 ## The Lucid Widget Library is free software; you can redistribute it and/or
9 modify it under the terms of the GNU General Public License as published by 10 ## modify it under the terms of the GNU General Public License as published by
10 the Free Software Foundation; either version 2, or (at your option) 11 ## the Free Software Foundation; either version 2, or (at your option)
11 any later version. 12 ## any later version.
12 13
13 The Lucid Widget Library is distributed in the hope that it will be useful, 14 ## The Lucid Widget Library is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of 15 ## but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 GNU General Public License for more details. 17 ## GNU General Public License for more details.
17 18
18 You should have received a copy of the GNU General Public License 19 ## You should have received a copy of the GNU General Public License
19 along with XEmacs; see the file COPYING. If not, write to 20 ## along with XEmacs; see the file COPYING. If not, write to
20 the Free Software Foundation, Inc., 59 Temple Place - Suite 330, 21 ## the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
21 Boston, MA 02111-1307, USA. */ 22 ## Boston, MA 02111-1307, USA.
22 23
23 /* Some people use these in paths they define. We do not want their paths 24 ## For performance and consistency, no built-in rules
24 getting changed on them. */
25 #undef sparc
26 #undef sun
27 #undef unix
28 #undef sgi
29 #undef NeXT
30 #undef mips
31 #undef i386
32 #undef linux
33
34 /* For performance and consistency, no built-in rules */
35 .SUFFIXES: 25 .SUFFIXES:
36 .SUFFIXES: .c .o .i .h 26 .SUFFIXES: .c .o .i .h
37 27
38 srcdir=@srcdir@ 28 srcdir=@srcdir@
39 29
60 VPATH=@srcdir@ 50 VPATH=@srcdir@
61 #endif 51 #endif
62 52
63 #ifdef ENERGIZE 53 #ifdef ENERGIZE
64 EZ_OBJS =\ 54 EZ_OBJS =\
65 energize/blpsheet.o energize/build.o energize/classbr_ps.o \ 55 energize/blpsheet.o energize/build.o energize/classbr_ps.o\
66 energize/ctreebr_ps.o energize/debuggerps.o energize/editmode.o \ 56 energize/ctreebr_ps.o energize/debuggerps.o energize/editmode.o\
67 energize/leb_psheet.o energize/projectdisp.o energize/projectps.o \ 57 energize/leb_psheet.o energize/projectdisp.o energize/projectps.o\
68 energize/search.o energize/target.o 58 energize/search.o energize/target.o
69 ENERGIZEP = -DENERGIZE 59 ENERGIZEP = -DENERGIZE
70 EZ_SUBDIR = ez_dialog 60 EZ_SUBDIR = ez_dialog
71 #endif 61 #endif
72 62
89 79
90 ALL_CFLAGS= $(CFLAGS) $(CPPFLAGS) -I. $(c_switch_all) $(ENERGIZEP) 80 ALL_CFLAGS= $(CFLAGS) $(CPPFLAGS) -I. $(c_switch_all) $(ENERGIZEP)
91 .c.o: 81 .c.o:
92 $(CC) -c $(cflags) $< 82 $(CC) -c $(cflags) $<
93 83
94 /* Create preprocessor output (debugging purposes only) */ 84 ## Create preprocessor output (debugging purposes only)
95 .c.i: 85 .c.i:
96 $(CC) -P $(cppflags) $< 86 $(CC) -P $(cppflags) $<
97 87
98 liblw.a: $(objs) 88 liblw.a: $(objs)
99 $(RM) $@ 89 $(RM) $@
100 $(AR) $@ $(objs) 90 $(AR) $@ $(objs)
101 -test -n "$(RANLIB)" && $(RANLIB) $@ 91 @-test -n "$(RANLIB)" && $(RANLIB) $@
102 92
103 #ifdef ENERGIZE 93 #ifdef ENERGIZE
104 ez_dialog: 94 ez_dialog:
105 cd energize && $(MAKE) $(MFLAGS) 95 cd energize && $(MAKE) $(MFLAGS)
106 #endif 96 #endif
107 97
108 .PHONY : mostlyclean clean distclean realclean extraclean 98 .PHONY : mostlyclean clean distclean realclean extraclean
109 FRC.mostlyclean: 99 FRC.mostlyclean:
110 mostlyclean: FRC.mostlyclean 100 mostlyclean: FRC.mostlyclean
111 rm -f liblw.a liblw_pure_*.a *.o 101 $(RM) liblw.a liblw_pure_*.a *.o *.i
112 clean: mostlyclean 102 clean: mostlyclean
113 #ifdef ENERGIZE 103 #ifdef ENERGIZE
114 cd energize && $(MAKE) $(MFLAGS) clean 104 cd energize && $(MAKE) $(MFLAGS) clean
115 #endif 105 #endif
116 distclean: clean 106 distclean: clean
117 rm -f Makefile Makefile.in config.h .pure 107 $(RM) Makefile Makefile.in config.h .pure
118 realclean: distclean 108 realclean: distclean
119 extraclean: distclean 109 extraclean: distclean
120 -rm -f *~ \#* m/?*~ s/?*~ 110 $(RM) *~ \#* m/?*~ s/?*~
121 111
112 CONFIG_H = ../src/config.h config.h
122 113
123 lwlib-config.o: lwlib.h ../src/config.h 114 lwlib-config.o: lwlib.h $(CONFIG_H)
124 lwlib-Xaw.o: lwlib.h lwlib-internal.h lwlib-Xaw.h ../src/config.h 115 lwlib-Xaw.o: lwlib.h lwlib-internal.h lwlib-Xaw.h $(CONFIG_H)
125 lwlib-Xlw.o: lwlib.h lwlib-internal.h lwlib-Xlw.h xlwmenu.h ../src/config.h 116 lwlib-Xlw.o: lwlib.h lwlib-internal.h lwlib-Xlw.h xlwmenu.h $(CONFIG_H)
126 lwlib-Xm.o: lwlib.h lwlib-internal.h lwlib-utils.h lwlib-Xm.h 117 lwlib-Xm.o: lwlib.h lwlib-internal.h lwlib-utils.h lwlib-Xm.h $(CONFIG_H)
127 lwlib-Xm.o: ../src/config.h 118 lwlib-Xm.o: $(CONFIG_H)
128 lwlib-utils.o: lwlib-utils.h ../src/config.h 119 lwlib-utils.o: lwlib-utils.h $(CONFIG_H)
129 lwlib.o: lwlib.h lwlib-internal.h lwlib-utils.h ../src/config.h 120 lwlib.o: lwlib.h lwlib-internal.h lwlib-utils.h $(CONFIG_H)
130 lwlib.o: lwlib-Xlw.h lwlib-Xm.h lwlib-Xaw.h ../src/config.h 121 lwlib.o: lwlib-Xlw.h lwlib-Xm.h lwlib-Xaw.h $(CONFIG_H)
131 xlwmenu.o: lwlib.h xlwmenu.h xlwmenuP.h ../src/config.h 122 xlwmenu.o: lwlib.h xlwmenu.h xlwmenuP.h $(CONFIG_H)
132 xlwscrollbar.o: lwlib.h xlwscrollbar.h xlwscrollbarP.h ../src/config.h 123 xlwscrollbar.o: lwlib.h xlwscrollbar.h xlwscrollbarP.h $(CONFIG_H)