comparison lwlib/Makefile.in.in @ 70:131b0175ea99 r20-0b30

Import from CVS: tag r20-0b30
author cvs
date Mon, 13 Aug 2007 09:02:59 +0200
parents 9ee227acff29
children c7528f8e288d
comparison
equal deleted inserted replaced
69:804d1389bcd6 70:131b0175ea99
14 but WITHOUT ANY WARRANTY; without even the implied warranty of 14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 GNU General Public License for more details. 16 GNU General Public License for more details.
17 17
18 You should have received a copy of the GNU General Public License 18 You should have received a copy of the GNU General Public License
19 along with XEmacs; see the file COPYING. If not, write to 19 along with GNU Emacs; see the file COPYING. If not, write to
20 the Free Software Foundation, Inc., 59 Temple Place - Suite 330, 20 the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
21 Boston, MA 02111-1307, USA. */ 21
22 22 /* Some people use these in paths they define. We don't want their paths
23 /* Some people use these in paths they define. We do not want their paths
24 getting changed on them. */ 23 getting changed on them. */
25 #undef sparc 24 #undef sparc
26 #undef sun 25 #undef sun
27 #undef unix 26 #undef unix
28 #undef sgi 27 #undef sgi
53 the VPATH directory, rather than just the dependencies that are not 52 the VPATH directory, rather than just the dependencies that are not
54 themselves targets. Thus, if there is an up-to-date .o file in the 53 themselves targets. Thus, if there is an up-to-date .o file in the
55 in-place location, it will not get recompiled in the not-in-place 54 in-place location, it will not get recompiled in the not-in-place
56 location. 55 location.
57 56
58 The GNU Make "vpath" directive continues this tradition, but at 57 The GNU Make `vpath' directive continues this tradition, but at
59 least lets you restrict the classes of files that it applies to. 58 least lets you restrict the classes of files that it applies to.
60 This allows us to kludge around the problem. */ 59 This allows us to kludge around the problem. */
61 #ifdef USE_GNU_MAKE 60 #ifdef USE_GNU_MAKE
62 vpath %.c @srcdir@ 61 vpath %.c @srcdir@
63 vpath %.h @srcdir@ 62 vpath %.h @srcdir@
64 /* now list files that should NOT be searched in the srcdir. 63 /* now list files that should NOT be searched in the srcdir.
65 This includes any .c or .h built from something else 64 This includes any .c or .h that's built from something else
66 (e.g. a .in file). */ 65 (e.g. a .in file). */
67 /* none here */ 66 /* none here */
68 #else 67 #else
69 VPATH=@srcdir@ 68 VPATH=@srcdir@
70 #endif 69 #endif
194 EZ_OBJS = 193 EZ_OBJS =
195 ENERGIZEP = 194 ENERGIZEP =
196 EZ_SUBDIR = 195 EZ_SUBDIR =
197 #endif 196 #endif
198 197
199 #if defined (HAVE_X_WINDOWS)
200 # ifndef NEED_TOOLKIT
201 # define NEED_TOOLKIT
202 # endif
203 #endif
204
205 SRCS = lwlib.c MOTIF_SRCS LUCID_SRCS ATHENA_SRCS lwlib-utils.c \ 198 SRCS = lwlib.c MOTIF_SRCS LUCID_SRCS ATHENA_SRCS lwlib-utils.c \
206 lwlib-config.c 199 lwlib-config.c
207 OBJS = lwlib.o MOTIF_OBJS LUCID_OBJS ATHENA_OBJS lwlib-utils.o \ 200 OBJS = lwlib.o MOTIF_OBJS LUCID_OBJS ATHENA_OBJS lwlib-utils.o \
208 lwlib-config.o $(EZ_OBJS) 201 lwlib-config.o $(EZ_OBJS)
209 202
228 $(RANLIB) $@; \ 221 $(RANLIB) $@; \
229 fi 222 fi
230 223
231 #ifdef ENERGIZE 224 #ifdef ENERGIZE
232 ez_dialog: 225 ez_dialog:
233 cd energize && $(MAKE) $(MFLAGS) 226 cd energize ; $(MAKE) $(MFLAGS)
234 #endif 227 #endif
235 228
236 FRC.mostlyclean: 229 FRC.mostlyclean:
237 mostlyclean: FRC.mostlyclean 230 mostlyclean: FRC.mostlyclean
238 rm -f liblw.a liblw_pure_*.a *.o 231 rm -f liblw.a liblw_pure_*.a *.o
239 clean: mostlyclean 232 clean: mostlyclean
240 #ifdef ENERGIZE 233 #ifdef ENERGIZE
241 cd energize && $(MAKE) $(MFLAGS) clean 234 cd energize ; $(MAKE) $(MFLAGS) clean
242 #endif 235 #endif
243 distclean: clean 236 distclean: clean
244 rm -f Makefile Makefile.in .pure 237 rm -f Makefile Makefile.in .pure
245 realclean: distclean 238 realclean: distclean
246 extraclean: distclean 239 extraclean: distclean