comparison nt/xemacs.mak @ 528:ef4d2466a29c

[xemacs-hg @ 2001-05-10 09:59:45 by ben] implement user-name-all-completions under Windows. xemacs.mak: need another lib (netapi32.lib) for user-name-all-completions. emacs.c: create new function force-debugging-signal (only when DEBUG_XEMACS) to breakpoint or abort to the debugger. mule\mule-coding.el, file-coding.c, file-coding.h, lisp.h: move coding-system-charset to lisp to avoid doc warning. autoload.el, packages.el, startup.el, update-elc-2.el, update-elc.el: Rewrite much of the bootstrapping process to be more robust, and in particular to rebuild the auto-autoloads and custom-loads files no matter what state (including missing) they're currently in. xemacs.mak: remove autoload-building target. Makefile.in.in: remove autoload targets.
author ben
date Thu, 10 May 2001 09:59:57 +0000
parents cd662ad69f40
children 9a775fb11bb7
comparison
equal deleted inserted replaced
527:7b35ad872326 528:ef4d2466a29c
849 TEMACS=$(TEMACS_DIR)\temacs.exe 849 TEMACS=$(TEMACS_DIR)\temacs.exe
850 TEMACS_BROWSE=$(TEMACS_DIR)\temacs.bsc 850 TEMACS_BROWSE=$(TEMACS_DIR)\temacs.bsc
851 TEMACS_SRC=$(SRC) 851 TEMACS_SRC=$(SRC)
852 TEMACS_LIBS=$(LASTFILE) $(LWLIB) $(X_LIBS) $(MSW_LIBS) \ 852 TEMACS_LIBS=$(LASTFILE) $(LWLIB) $(X_LIBS) $(MSW_LIBS) \
853 oldnames.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib advapi32.lib \ 853 oldnames.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib advapi32.lib \
854 shell32.lib wsock32.lib winmm.lib winspool.lib ole32.lib uuid.lib $(LIBC_LIB) 854 shell32.lib wsock32.lib netapi32.lib winmm.lib winspool.lib ole32.lib \
855 uuid.lib $(LIBC_LIB)
855 TEMACS_LFLAGS=-nologo $(LIBRARIES) $(DEBUG_FLAGS) -base:0x1000000\ 856 TEMACS_LFLAGS=-nologo $(LIBRARIES) $(DEBUG_FLAGS) -base:0x1000000\
856 -stack:0x800000 $(TEMACS_ENTRYPOINT) -subsystem:windows\ 857 -stack:0x800000 $(TEMACS_ENTRYPOINT) -subsystem:windows\
857 -pdb:$(TEMACS_DIR)\temacs.pdb -map:$(TEMACS_DIR)\temacs.map \ 858 -pdb:$(TEMACS_DIR)\temacs.pdb -map:$(TEMACS_DIR)\temacs.map \
858 -heap:0x00100000 -nodefaultlib -incremental:no setargv.obj 859 -heap:0x00100000 -nodefaultlib -incremental:no setargv.obj
859 TEMACS_CPP_FLAGS=-c \ 860 TEMACS_CPP_FLAGS=-c \
1398 #------------------------------------------------------------------------------ 1399 #------------------------------------------------------------------------------
1399 1400
1400 # use this rule to build the complete system 1401 # use this rule to build the complete system
1401 all: installation $(OUTDIR)\nul $(LASTFILE) $(LWLIB) \ 1402 all: installation $(OUTDIR)\nul $(LASTFILE) $(LWLIB) \
1402 $(LIB_SRC_TOOLS) $(TEMACS) update-elc $(DOC) $(PROGNAME) \ 1403 $(LIB_SRC_TOOLS) $(TEMACS) update-elc $(DOC) $(PROGNAME) \
1403 update-elc-2 update-auto-and-custom info 1404 update-elc-2 info
1404 1405
1405 temacs: $(LASTFILE) $(TEMACS) 1406 temacs: $(LASTFILE) $(TEMACS)
1406 1407
1407 # use this rule to install the system 1408 # use this rule to install the system
1408 install: all 1409 install: all
1590 1591
1591 # Update out-of-date .elcs, other than needed for dumping. 1592 # Update out-of-date .elcs, other than needed for dumping.
1592 update-elc-2: 1593 update-elc-2:
1593 $(XEMACS_BATCH) -l update-elc-2.el -f batch-update-elc-2 $(LISP) 1594 $(XEMACS_BATCH) -l update-elc-2.el -f batch-update-elc-2 $(LISP)
1594 1595
1595 # Update auto-autoloads.el and custom-load.el, similar to what
1596 # XEmacs.rules does for xemacs-packages. This used to delete
1597 # auto-autoloads.el first, but that's a bad idea, because it forces
1598 # rebuilding from scratch, which is time-consuming; and the autoload
1599 # code is specifically written to do in-place updating. However, if
1600 # your auto-autoload file is messed up and you want it rebuilt from
1601 # scratch, delete it from the command line and then nmake with this
1602 # target.
1603 update-auto-and-custom:
1604 # Combine into one invocation to avoid repeated startup penalty.
1605 $(XEMACS_BATCH) -l autoload -f batch-update-one-directory $(LISP) -f batch-byte-compile-one-file $(LISP)\auto-autoloads.el -l cus-dep -f Custom-make-one-dependency $(LISP) -f batch-byte-compile-one-file $(LISP)\custom-load.el
1606 $(DEL) $(LISP)\auto-autoloads.el~
1607 $(DEL) $(LISP)\custom-load.el~
1608
1609 # DO NOT DELETE THIS LINE -- make depend depends on it. 1596 # DO NOT DELETE THIS LINE -- make depend depends on it.
1610 1597