comparison lib-src/Makefile.in.in @ 446:1ccc32a20af4 r21-2-38

Import from CVS: tag r21-2-38
author cvs
date Mon, 13 Aug 2007 11:37:21 +0200
parents abe6d1db359e
children 223736d75acb
comparison
equal deleted inserted replaced
445:34f3776fcf0e 446:1ccc32a20af4
158 ## ./configure in the source tree, and then run 158 ## ./configure in the source tree, and then run
159 ## $(srcdir).2.26/configure in some other build tree. 159 ## $(srcdir).2.26/configure in some other build tree.
160 ## Where will the generated files like config.h be included from? 160 ## Where will the generated files like config.h be included from?
161 ## This is also why you _must_ use <...> instead of "..." 161 ## This is also why you _must_ use <...> instead of "..."
162 ## when #include'ing generated files. 162 ## when #include'ing generated files.
163 cppflags = -Demacs -I. -I../src -I$(srcdir) -I$(top_srcdir)/src $(CPPFLAGS) 163 cppflags = -I. -I../src -I$(srcdir) -I$(top_srcdir)/src $(CPPFLAGS)
164 cflags = $(CFLAGS) $(cppflags) $(c_switch_general) 164 cflags = $(CFLAGS) $(cppflags) $(c_switch_general)
165 ldflags = $(LDFLAGS) $(ld_switch_general) $(ld_libs_general) 165 ldflags = $(LDFLAGS) $(ld_switch_general) $(ld_libs_general)
166 166
167 ## This is the default compilation command. 167 ## This is the default compilation command.
168 ## But we should never rely on it, because some make version 168 ## But we should never rely on it, because some make version
279 ${CC} -c $(cflags) ${srcdir}/getopt1.c 279 ${CC} -c $(cflags) ${srcdir}/getopt1.c
280 alloca.o: ${top_srcdir}/src/alloca.c 280 alloca.o: ${top_srcdir}/src/alloca.c
281 ${CC} -c $(cflags) ${srcdir}/../src/alloca.c 281 ${CC} -c $(cflags) ${srcdir}/../src/alloca.c
282 282
283 regex.o: ${srcdir}/../src/regex.c ${top_srcdir}/src/regex.h 283 regex.o: ${srcdir}/../src/regex.c ${top_srcdir}/src/regex.h
284 $(CC) -c `echo $(cflags) | sed 's/-Demacs/ /'` \ 284 $(CC) -c $(cflags) \
285 -DINHIBIT_STRING_HEADER ${top_srcdir}/src/regex.c 285 -DINHIBIT_STRING_HEADER ${top_srcdir}/src/regex.c
286 286
287 etags_args = $(cflags) -DVERSION='"${version}"' ${srcdir}/etags.c \ 287 etags_args = $(cflags) -DVERSION='"${version}"' ${srcdir}/etags.c \
288 $(GETOPTOBJS) regex.o $(ldflags) 288 $(GETOPTOBJS) regex.o $(ldflags)
289 etags_deps = ${srcdir}/etags.c $(GETOPTDEPS) regex.o ../src/config.h 289 etags_deps = ${srcdir}/etags.c $(GETOPTDEPS) regex.o ../src/config.h
317 317
318 make-docfile: ${srcdir}/make-docfile.c 318 make-docfile: ${srcdir}/make-docfile.c
319 $(CC) $(cflags) ${srcdir}/make-docfile.c $(ldflags) -o $@ 319 $(CC) $(cflags) ${srcdir}/make-docfile.c $(ldflags) -o $@
320 320
321 digest-doc: ${srcdir}/digest-doc.c 321 digest-doc: ${srcdir}/digest-doc.c
322 $(CC) $(cflags) ${srcdir}/digest-doc.c $(ldflags) -o $@ 322 $(CC) -Demacs $(cflags) ${srcdir}/digest-doc.c $(ldflags) -o $@
323 323
324 sorted-doc: ${srcdir}/sorted-doc.c 324 sorted-doc: ${srcdir}/sorted-doc.c
325 $(CC) $(cflags) ${srcdir}/sorted-doc.c $(ldflags) -o $@ 325 $(CC) $(cflags) ${srcdir}/sorted-doc.c $(ldflags) -o $@
326 326
327 b2m: ${srcdir}/b2m.c ../src/config.h 327 b2m: ${srcdir}/b2m.c ../src/config.h
376 376
377 ## The timer utility (timer.c, getdate.y) is not used in XEmacs 377 ## The timer utility (timer.c, getdate.y) is not used in XEmacs
378 ## because XEmacs provides built-in timer facilities. 378 ## because XEmacs provides built-in timer facilities.
379 379
380 make-path: ${srcdir}/make-path.c ../src/config.h 380 make-path: ${srcdir}/make-path.c ../src/config.h
381 $(CC) $(cflags) ${srcdir}/make-path.c -o $@ 381 $(CC) -Demacs $(cflags) ${srcdir}/make-path.c -o $@
382 382
383 ## These are NOT included in INSTALLABLES or UTILITIES. 383 ## These are NOT included in INSTALLABLES or UTILITIES.
384 ## See ../src/Makefile.in.in. 384 ## See ../src/Makefile.in.in.
385 aixcc: ${srcdir}/aixcc.c 385 aixcc: ${srcdir}/aixcc.c
386 $(CC) $(cflags) ${srcdir}/aixcc.c -o $@ 386 $(CC) $(cflags) ${srcdir}/aixcc.c -o $@