comparison src/Makefile.in.in @ 460:223736d75acb r21-2-45

Import from CVS: tag r21-2-45
author cvs
date Mon, 13 Aug 2007 11:43:24 +0200
parents 3078fd1074e8
children 0784d089fdc9
comparison
equal deleted inserted replaced
459:9d4fd877b885 460:223736d75acb
29 #include "config.h" 29 #include "config.h"
30 30
31 #ifdef PDUMP 31 #ifdef PDUMP
32 DUMP_TARGET = ${PROGNAME}.dmp 32 DUMP_TARGET = ${PROGNAME}.dmp
33 EXE_TARGET = ${PROGNAME} 33 EXE_TARGET = ${PROGNAME}
34 ID_FILE = dump-id.c 34 DUMP_ID = dump-id.o
35 #else 35 #else
36 DUMP_TARGET = ${PROGNAME} 36 DUMP_TARGET = ${PROGNAME}
37 EXE_TARGET = temacs 37 EXE_TARGET = temacs
38 ID_FILE =
39 #endif 38 #endif
40 39
41 all: ${DUMP_TARGET} 40 all: ${DUMP_TARGET}
42 .PHONY : all release dump-elc dump-elcs all-elc all-elcs lint 41 .PHONY : all release dump-elc dump-elcs all-elc all-elcs lint
43 42
448 447
449 link_deps=\ 448 link_deps=\
450 $(start_files) ${objs} ${otherobjs}\ 449 $(start_files) ${objs} ${otherobjs}\
451 $(lwlib_deps) $(dynodump_deps) 450 $(lwlib_deps) $(dynodump_deps)
452 451
453 temacs_deps=\ 452 temacs_deps = $(link_deps) ${DUMP_ID}
454 $(link_deps) $(ID_FILE)
455 453
456 temacs_link_args=\ 454 temacs_link_args=\
457 ${start_flags} ${ldflags} -I${srcdir} \ 455 ${start_flags} ${ldflags}\
458 -o $@ ${start_files} ${objs} ${otherobjs} ${ID_FILE} ${LIBES} 456 -o $@ ${start_files} ${objs} ${otherobjs} ${DUMP_ID} ${LIBES}
459 457
460 ${EXE_TARGET}: $(temacs_deps) 458 ${EXE_TARGET}: $(temacs_deps)
461 $(LD) $(temacs_link_args) 459 $(LD) $(temacs_link_args)
462 460
463 dump-id.c: ${libsrc}make-dump-id ${link_deps} 461 dump-id.c: ${libsrc}make-dump-id ${link_deps}
510 ## Purify, Quantify, PureCoverage are software quality products from 508 ## Purify, Quantify, PureCoverage are software quality products from
511 ## Rational, formerly Pure Atria, formerly Pure Software. 509 ## Rational, formerly Pure Atria, formerly Pure Software.
512 ## 510 ##
513 ## Purify 511 ## Purify
514 PURIFY_PROG = purify 512 PURIFY_PROG = purify
513 PURIFY_LIBS =
515 PURIFY_FLAGS =\ 514 PURIFY_FLAGS =\
516 #ifdef PDUMP 515 #ifdef PDUMP
517 -search-mmaps=yes\ 516 -search-mmaps=yes\
518 #endif 517 #endif
519 -chain-length=32 -ignore-signals=SIGPOLL -threads=yes\ 518 -chain-length=32 -ignore-signals=SIGPOLL\
520 -cache-dir=${srcdir}/purecache -always-use-cache-dir=yes 519 -cache-dir=${blddir}/purecache -always-use-cache-dir=yes
521 520
522 PURIFY_LIBS = -lpthread
523 puremacs: $(temacs_deps) 521 puremacs: $(temacs_deps)
524 $(PURIFY_PROG) $(PURIFY_FLAGS) $(LD) $(temacs_link_args) $(PURIFY_LIBS) 522 $(PURIFY_PROG) $(PURIFY_FLAGS) $(LD) $(temacs_link_args) $(PURIFY_LIBS)
525 cp $@ ${EXE_TARGET} 523 cp $@ ${EXE_TARGET}
526 524
527 ## Quantify 525 ## Quantify