comparison Makefile.in.in @ 1330:4542b72c005e

[xemacs-hg @ 2003-03-01 07:25:26 by ben] build patch Makefile.in.in: Move src deletions to src/Makefile.in.in. dump-paths.el, dumped-lisp.el: Delete. Combine stuff into setup-paths.el. find-paths.el: Removed. Make this file contain generic routines only. Move stuff to compute Emacs roots to setup-paths.el. startup.el: Removed. Move these variables into setup-paths.el. setup-paths.el, startup.el: Removed. Combine all high-level code for computing the paths into setup-paths.el. Create new function startup-find-load-path to encapsulate all logic for computing `load-path'. Eliminate invocation-directory and invocation-name parameters since there is no point (false generality) -- the code references other globals, which cannot be specified. Eliminate some code duplicated between setup-paths.el and startup.el. Clean up the debug-paths code and output load-path in addition. Add logic to paths-emacs-root-p to support separated source and build trees. loadup.el, make-docfile.el, update-elc-2.el, update-elc.el: Rewrite to allow for separated source and build trees, as may occur in MS Windows. NOTE TO BUILD HACKERS: loadup.el, make-docfile.el, update-elc.el and update-elc-2.el made two assumptions that are no longer correct: (1) The source and build trees are in the same place. (2) They can make assumptions about where `.' is. These files now compute the locations of the source and build roots at the top of the file. *ALL* constant file names or path snippets must now be made absolute using expand-file-name and one of these roots. dumped-lisp.el, packages.el: Removed. Remove some unused lists of Lisp files. packages-hardcoded-lisp (empty, in any case) moved to dumped-lisp.el. startup.el: When a compiled init file is out-of-date wrt the uncompiled version, load the uncompiled version and issue a nasty warning. update-elc-2.el: Force touching of auto-autoloads files when REBUILD_AUTOLOADS was set. update-elc.el: Fix code that checks whether dumping is necessary to check against xemacs.dmp, not xemacs.exe, when Unix and pdump. lwlib-Xm.c: Fix compile warning. README, config.inc.samp, xemacs.mak: -- Major reorganization and cleanup. -- Add support for separated build tree and source tree. -- Delete all support for X Windows building, since it's totally bit-rotten and will never be fixed up. Instruct people to use Cygwin if they want such support. make-build-dir: New script to create a skeleton build tree for use with separated build and source tree compilation. m/acorn.h, m/alliant-2800.h, m/alliant.h, m/altos.h, m/amdahl.h, m/arm.h, m/att3b.h, m/aviion.h, m/clipper.h, m/cnvrgnt.h, m/convex.h, m/cydra5.h, m/delta.h, m/delta88k.h, m/dpx2.h, m/elxsi.h, m/ews4800r.h, m/gould.h, m/hp800.h, m/hp9000s300.h, m/i860.h, m/ibmps2-aix.h, m/ibmrs6000.h, m/ibmrt-aix.h, m/ibmrt.h, m/intel386.h, m/iris4d.h, m/iris5d.h, m/iris6d.h, m/irist.h, m/m68k.h, m/masscomp.h, m/mg1.h, m/mips-nec.h, m/mips-siemens.h, m/mips.h, m/nh3000.h, m/nh4000.h, m/ns32000.h, m/plexus.h, m/powerpc.h, m/sequent-ptx.h, m/sequent.h, m/sgi-challenge.h, m/stride.h, m/tad68k.h, m/targon31.h, m/tekxd88.h, m/template.h, m/tower32.h, m/tower32v3.h, m/ustation.h, m/wicat.h, m/xps100.h, data.c, doc.c, editfns.c, emacs.c, lrecord.h, ntheap.c, process-unix.c, sysdep.c, unexec.c: Delete all support for bit-rotten CANNOT_DUMP. Just use pdump. Makefile.in.in: Lots o' cleanup. Use names like LISP, SRC instead of lispdir, srcdir, for consistency with xemacs.mak and the conventions in the rest of the file. Eliminate use of ${...} in favor of $(...), to make it easier to move code between this file and xemacs.mak. Fix dependency handling wrt NEEDTODUMP to eliminate problems some people (e.g. Vin) have been seeing with non-GNU makes. Write a long section about the subtle but oh-so-important differences in dependency processing between nmake, make, and GNU make. Add unicode-encapsulate target, from xemacs.mak. chartab.c, lrecord.h: Fix crash due to attempt to free objects across dump/undump.
author ben
date Sat, 01 Mar 2003 07:25:56 +0000
parents 15a91d7ae2d1
children 2e6e691f6649
comparison
equal deleted inserted replaced
1329:389741884c65 1330:4542b72c005e
520 ## normally don't want to recompile. For example, the `mostlyclean' 520 ## normally don't want to recompile. For example, the `mostlyclean'
521 ## target for GCC does not delete `libgcc.a', because recompiling it 521 ## target for GCC does not delete `libgcc.a', because recompiling it
522 ## is rarely necessary and takes a lot of time. 522 ## is rarely necessary and takes a lot of time.
523 mostlyclean: FRC.mostlyclean 523 mostlyclean: FRC.mostlyclean
524 for d in $(SUBDIR); do (cd ./$$d && $(RECURSIVE_MAKE) $@); done 524 for d in $(SUBDIR); do (cd ./$$d && $(RECURSIVE_MAKE) $@); done
525 $(RM) core
525 526
526 ## `clean' 527 ## `clean'
527 ## Delete all files from the current directory that are normally 528 ## Delete all files from the current directory that are normally
528 ## created by building the program. Don't delete the files that 529 ## created by building the program. Don't delete the files that
529 ## record the configuration. Also preserve files that could be made 530 ## record the configuration. Also preserve files that could be made
530 ## by building, but normally aren't because the distribution comes 531 ## by building, but normally aren't because the distribution comes
531 ## with them. 532 ## with them.
532 533
533 ## Delete `.dvi' files here if they are not part of the distribution. 534 ## Delete `.dvi' files here if they are not part of the distribution.
534
535 ## Remove the generated load files here; they cause lots of problems
536 ## when they don't work right. (beta can't depend on distclean, which
537 ## removes necessary files generated by configure.)
538 clean: FRC.clean 535 clean: FRC.clean
539 for d in $(SUBDIR); do (cd ./$$d && $(RECURSIVE_MAKE) $@); done 536 for d in $(SUBDIR); do (cd ./$$d && $(RECURSIVE_MAKE) $@); done
540 $(RM) core lisp/auto-autoloads.el* lisp/custom-load.el*
541 $(RM) lisp/mule/auto-autoloads.el* lisp/mule/custom-load.el*
542 $(RM) ${srcdir}/modules/auto-autoloads.el*
543 $(RM) ${srcdir}/modules/custom-load.el*
544 537
545 ## `distclean' 538 ## `distclean'
546 ## Delete all files from the current directory that are created by 539 ## Delete all files from the current directory that are created by
547 ## configuring or building the program. If you have unpacked the 540 ## configuring or building the program. If you have unpacked the
548 ## source and built the program without creating any other files, 541 ## source and built the program without creating any other files,
549 ## `make distclean' should leave only the files that were in the 542 ## `make distclean' should leave only the files that were in the
550 ## distribution. 543 ## distribution.
551 top_distclean=\ 544 top_distclean=\
552 $(RM) config.status config.log confdefs.h config-tmp-* build-install Installation ; \ 545 $(RM) config.status config.log confdefs.h config-tmp-* build-install Installation ; \
553 $(RM) core .sbinit lock/* GNUmakefile Makefile Makefile.in ; \ 546 $(RM) TAGS .sbinit lock/* GNUmakefile Makefile Makefile.in ; \
554 $(RM) lisp/finder-inf.el* Installation.el Installation.elc ; \ 547 $(RM) lisp/finder-inf.el* Installation.el Installation.elc ; \
555 $(RM) -r site-packages xemacs-packages mule-packages site-lisp 548 $(RM) -r site-packages xemacs-packages mule-packages site-lisp
556 549
557 distclean: FRC.distclean 550 distclean: FRC.distclean
558 for d in $(SUBDIR); do (cd ./$$d && $(RECURSIVE_MAKE) $@); done 551 for d in $(SUBDIR); do (cd ./$$d && $(RECURSIVE_MAKE) $@); done