comparison src/Makefile.in.in @ 776:79940b592197

[xemacs-hg @ 2002-03-15 07:43:14 by ben] .cvsignore: ignore .tmp files that are getting auto-created by VC. Makefile.in.in: Use -no-packages to avoid problems with package files shadowing core files (e.g. unicode.el in mule-ucs). alloc.c, emacs.c, lisp.h: add new -no-packages. make sure list of args for sorting is actually correct. clean up arg parsing code. xemacs.mak: Use -no-packages to avoid problems with package files shadowing core files (e.g. unicode.el in mule-ucs). Makefile: Use -no-packages to avoid problems with package files shadowing core files (e.g. unicode.el in mule-ucs). mule\chinese.el, mule\japan-util.el: fix warnings. behavior-defs.el: fix errors with require. bytecomp-runtime.el: add new funs {when,and}-{f}boundp, clean up docs. cus-edit.el: pretty-print values. dump-paths.el, find-paths.el, startup.el, setup-paths.el: fix problems/inconsistencies parsing options. support new -no-packages option. merge code duplication in dump-paths and startup. lisp-mode.el: indent macrolet and labels correctly. update comments about lisp-indent-function. flet already handled in cl. apropos.el, auto-save.el, buff-menu.el, cl-extra.el, dragdrop.el, faces.el, files.el, fill.el, font-lock.el, font.el, gtk-faces.el, gui.el, help.el, hyper-apropos.el, info.el, isearch-mode.el, keymap.el, lisp-mnt.el, mouse.el, package-admin.el, package-get.el, printer.el, process.el, resize-minibuffer.el, simple.el, toolbar-items.el, wid-edit.el, win32-native.el: fix warnings. very-early-lisp.el: update docs. mule\chinese.el, mule\japan-util.el: fix warnings. mule\chinese.el, mule\japan-util.el: fix warnings. behavior-defs.el: fix errors with require. bytecomp-runtime.el: add new funs {when,and}-{f}boundp, clean up docs. cus-edit.el: pretty-print values. dump-paths.el, find-paths.el, startup.el, setup-paths.el: fix problems/inconsistencies parsing options. support new -no-packages option. merge code duplication in dump-paths and startup. lisp-mode.el: indent macrolet and labels correctly. update comments about lisp-indent-function. flet already handled in cl. apropos.el, auto-save.el, buff-menu.el, cl-extra.el, dragdrop.el, faces.el, files.el, fill.el, font-lock.el, font.el, gtk-faces.el, gui.el, help.el, hyper-apropos.el, info.el, isearch-mode.el, keymap.el, lisp-mnt.el, mouse.el, package-admin.el, package-get.el, printer.el, process.el, resize-minibuffer.el, simple.el, toolbar-items.el, wid-edit.el, win32-native.el: fix warnings. very-early-lisp.el: update docs. mule\chinese.el, mule\japan-util.el: fix warnings. Makefile.in.in: Use -no-packages to avoid problems with package files shadowing core files (e.g. unicode.el in mule-ucs). Makefile.in.in: Use -no-packages to avoid problems with package files shadowing core files (e.g. unicode.el in mule-ucs).
author ben
date Fri, 15 Mar 2002 07:43:43 +0000
parents 4bc4fecf15da
children e38acbeb1cae
comparison
equal deleted inserted replaced
775:7d972c3de90a 776:79940b592197
454 #ifdef I18N3 454 #ifdef I18N3
455 mo_dir = ${etcdir} 455 mo_dir = ${etcdir}
456 mo_file = ${mo_dir}emacs.mo 456 mo_file = ${mo_dir}emacs.mo
457 #endif 457 #endif
458 458
459 temacs_loadup = ./${EXE_TARGET} -nd -batch -l ${srcdir}/../lisp/loadup.el 459 batch = -no-packages -batch
460 batch_packages = -vanilla -batch
461 temacs_loadup = ./${EXE_TARGET} -nd ${batch} -l ${srcdir}/../lisp/loadup.el
460 dump_temacs = ${temacs_loadup} dump 462 dump_temacs = ${temacs_loadup} dump
461 run_temacs = ${temacs_loadup} run-temacs 463 run_temacs = ${temacs_loadup} run-temacs
462 debug_temacs = gdb ${EXE_TARGET} 464 debug_temacs = gdb ${EXE_TARGET}
463 465
464 release: ${EXE_TARGET} ${libsrc}DOC $(mo_file) ${other_files} 466 release: ${EXE_TARGET} ${libsrc}DOC $(mo_file) ${other_files}
465 #ifdef CANNOT_DUMP 467 #ifdef CANNOT_DUMP
466 ln ${EXE_TARGET} ${PROGNAME} 468 ln ${EXE_TARGET} ${PROGNAME}
467 #else 469 #else
468 -if [ -w ${srcdir}/../lisp ]; then \ 470 -if [ -w ${srcdir}/../lisp ]; then \
469 w=`pwd`; cd ${srcdir} && $${w}/${EXE_TARGET} -nd -batch -l ${srcdir}/../lisp/inc-vers; \ 471 w=`pwd`; cd ${srcdir} && $${w}/${EXE_TARGET} -nd ${batch} -l ${srcdir}/../lisp/inc-vers; \
470 else true; fi 472 else true; fi
471 -./${EXE_TARGET} -nd -batch -l ${srcdir}/../lisp/loadup.el dump 473 -./${EXE_TARGET} -nd ${batch} -l ${srcdir}/../lisp/loadup.el dump
472 touch release 474 touch release
473 #endif /* ! defined (CANNOT_DUMP) */ 475 #endif /* ! defined (CANNOT_DUMP) */
474 476
475 ${DUMP_TARGET}: ${EXE_TARGET} ${libsrc}DOC $(mo_file) ${other_files} update-elc.stamp 477 ${DUMP_TARGET}: ${EXE_TARGET} ${libsrc}DOC $(mo_file) ${other_files} update-elc.stamp
476 #ifdef HEAP_IN_DATA 478 #ifdef HEAP_IN_DATA
477 @$(RM) $@ && touch SATISFIED 479 @$(RM) $@ && touch SATISFIED
478 -${dump_temacs} 480 -${dump_temacs}
479 @if test -f $@; then if test -f SATISFIED; then \ 481 @if test -f $@; then if test -f SATISFIED; then \
480 echo "Testing for Lisp shadows ..."; \ 482 echo "Testing for Lisp shadows ..."; \
481 ./${PROGNAME} -batch -vanilla -f list-load-path-shadows; fi; \ 483 ./${PROGNAME} ${batch} -f list-load-path-shadows; fi; \
482 $(RM) SATISFIED; exit 0; fi; \ 484 $(RM) SATISFIED; exit 0; fi; \
483 if test -f SATISFIED; then $(RM) SATISFIED; exit 1; fi; \ 485 if test -f SATISFIED; then $(RM) SATISFIED; exit 1; fi; \
484 $(RM) $@; \ 486 $(RM) $@; \
485 $(RECURSIVE_MAKE) $@; 487 $(RECURSIVE_MAKE) $@;
486 #else 488 #else
487 @$(RM) $@ 489 @$(RM) $@
488 ${dump_temacs} 490 ${dump_temacs}
489 @echo "Testing for Lisp shadows ..." 491 @echo "Testing for Lisp shadows ..."
490 @./${PROGNAME} -batch -vanilla -f list-load-path-shadows 492 @./${PROGNAME} ${batch} -f list-load-path-shadows
491 #endif 493 #endif
492 494
493 fastdump: ${EXE_TARGET} 495 fastdump: ${EXE_TARGET}
494 @$(RM) ${DUMP_TARGET} && touch SATISFIED 496 @$(RM) ${DUMP_TARGET} && touch SATISFIED
495 -${dump_temacs} 497 -${dump_temacs}
496 @./${PROGNAME} -batch -vanilla -f list-load-path-shadows 498 @./${PROGNAME} ${batch} -f list-load-path-shadows
497 499
498 FRC.update-elc.stamp : 500 FRC.update-elc.stamp :
499 501
500 update-elc.stamp : ${EXE_TARGET} FRC.update-elc.stamp 502 update-elc.stamp : ${EXE_TARGET} FRC.update-elc.stamp
501 @touch NOBYTECOMPILE 503 @touch NOBYTECOMPILE
502 ./${EXE_TARGET} -nd -batch -l ${srcdir}/../lisp/update-elc.el 504 ./${EXE_TARGET} -nd ${batch} -l ${srcdir}/../lisp/update-elc.el
503 @if test ! -f $@ -o -f NOBYTECOMPILE; then touch $@; fi; \ 505 @if test ! -f $@ -o -f NOBYTECOMPILE; then touch $@; fi; \
504 $(RM) NOBYTECOMPILE 506 $(RM) NOBYTECOMPILE
505 507
506 obj_src = $(objs:.o=.c) 508 obj_src = $(objs:.o=.c)
507 509
518 cd ../dynodump && $(RECURSIVE_MAKE) 520 cd ../dynodump && $(RECURSIVE_MAKE)
519 #endif /* DYNODUMP */ 521 #endif /* DYNODUMP */
520 522
521 ${libsrc}DOC: ${EXE_TARGET} update-elc.stamp 523 ${libsrc}DOC: ${EXE_TARGET} update-elc.stamp
522 $(RM) ${libsrc}DOC; \ 524 $(RM) ${libsrc}DOC; \
523 ${DUMPENV} ./${EXE_TARGET} -nd -batch -l ${srcdir}/../lisp/make-docfile.el -- \ 525 ${DUMPENV} ./${EXE_TARGET} -nd ${batch} -l ${srcdir}/../lisp/make-docfile.el -- \
524 -o ${libsrc}DOC -d ${srcdir} -i ${libsrc}../site-packages \ 526 -o ${libsrc}DOC -d ${srcdir} -i ${libsrc}../site-packages \
525 ${obj_src} ${mallocdocsrc} ${rallocdocsrc} ${extra_doc_files} 527 ${obj_src} ${mallocdocsrc} ${rallocdocsrc} ${extra_doc_files}
526 528
527 dump_elcs: dump-elcs 529 dump_elcs: dump-elcs
528 530
529 dump-elcs: ${EXE_TARGET} 531 dump-elcs: ${EXE_TARGET}
530 -${DUMPENV} ./${EXE_TARGET} -nd -batch -l ${srcdir}/../lisp/update-elc.el 532 -${DUMPENV} ./${EXE_TARGET} -nd ${batch} -l ${srcdir}/../lisp/update-elc.el
531 533
532 all-elc all-elcs: 534 all-elc all-elcs:
533 cd .. && $(RECURSIVE_MAKE) all-elc 535 cd .. && $(RECURSIVE_MAKE) all-elc
534 536
535 #ifdef I18N3 537 #ifdef I18N3
598 run-temacs: ${EXE_TARGET} 600 run-temacs: ${EXE_TARGET}
599 -${run_temacs} 601 -${run_temacs}
600 602
601 ## We have automated tests!! 603 ## We have automated tests!!
602 testdir = ${srcdir}/../tests/automated 604 testdir = ${srcdir}/../tests/automated
603 batch_test_emacs = -batch -l ${testdir}/test-harness.el -f batch-test-emacs ${testdir} 605 batch_test_emacs = ${batch} -l ${testdir}/test-harness.el -f batch-test-emacs ${testdir}
604 606
605 .PHONY: check check-temacs 607 .PHONY: check check-temacs
606 check: 608 check:
607 ./${PROGNAME} ${batch_test_emacs} 609 ./${PROGNAME} ${batch_test_emacs}
608 check-temacs: 610 check-temacs:
629 'dbxenv rtc_error_log_file_name /dev/fd/1; \ 631 'dbxenv rtc_error_log_file_name /dev/fd/1; \
630 dbxenv suppress_startup_message 5.0; \ 632 dbxenv suppress_startup_message 5.0; \
631 ignore POLL; \ 633 ignore POLL; \
632 check -access; \ 634 check -access; \
633 suppress rui; \ 635 suppress rui; \
634 runargs -batch -l ${srcdir}/../lisp/loadup.el run-temacs -q; \ 636 runargs ${batch} -l ${srcdir}/../lisp/loadup.el run-temacs -vanilla; \
635 run' rtcmacs 637 run' rtcmacs
636 638
637 debug-temacs: ${EXE_TARGET} 639 debug-temacs: ${EXE_TARGET}
638 -${debug_temacs} 640 -${debug_temacs}
639 641