Mercurial > emacs
changeset 35104:72dc0b4e554c
Use $(MAKETYPE) instead of $(SHELLTYPE) to
select correct rule for invoking make in another directory. Amend
rules accordingly.
(clean): Delete $(COMPILER_TEMP_FILES) instead of *.pdb.
author | Andrew Innes <andrewi@gnu.org> |
---|---|
date | Sat, 06 Jan 2001 21:18:42 +0000 |
parents | 2ed117dc79cf |
children | 3cd444909d32 |
files | nt/makefile.w32-in |
diffstat | 1 files changed, 19 insertions(+), 19 deletions(-) [+] |
line wrap: on
line diff
--- a/nt/makefile.w32-in Sat Jan 06 21:18:05 2001 +0000 +++ b/nt/makefile.w32-in Sat Jan 06 21:18:42 2001 +0000 @@ -67,9 +67,9 @@ # # Build emacs # -all: which-sh $(BLD) $(ALL) all-other-dirs-$(SHELLTYPE) +all: which-sh $(BLD) $(ALL) all-other-dirs-$(MAKETYPE) -all-other-dirs-CMD: +all-other-dirs-nmake: cd ..\lib-src $(MAKE) $(MFLAGS) all cd ..\src @@ -80,25 +80,25 @@ $(MAKE) $(MFLAGS) all cd ..\nt -all-other-dirs-SH: +all-other-dirs-gmake: $(MAKE) $(MFLAGS) -C ../lib-src all $(MAKE) $(MFLAGS) -C ../src all $(MAKE) $(MFLAGS) -C ../lisp all $(MAKE) $(MFLAGS) -C ../leim all -recompile: recompile-$(SHELLTYPE) +recompile: recompile-$(MAKETYPE) -recompile-CMD: +recompile-nmake: cd ..\lisp $(MAKE) $(MFLAGS) recompile cd ..\nt -recompile-SH: +recompile-gmake: $(MAKE) $(MFLAGS) -C ../lisp recompile -bootstrap: $(BLD) $(ALL) bootstrap-$(SHELLTYPE) +bootstrap: $(BLD) $(ALL) bootstrap-$(MAKETYPE) -bootstrap-CMD: +bootstrap-nmake: cd ..\src $(MAKE) $(MFLAGS) bootstrap $(MAKE) $(MFLAGS) bootstrap-clean @@ -106,20 +106,20 @@ $(MAKE) $(MFLAGS) bootstrap cd ..\nt -bootstrap-SH: +bootstrap-gmake: $(MAKE) $(MFLAGS) -C ../src bootstrap $(MAKE) $(MFLAGS) -C ../src bootstrap-clean $(MAKE) $(MFLAGS) -C ../lisp bootstrap -bootstrap-clean: bootstrap-clean-$(SHELLTYPE) +bootstrap-clean: bootstrap-clean-$(MAKETYPE) -bootstrap-clean-CMD: +bootstrap-clean-nmake: cd ..\src $(MAKE) $(MFLAGS) bootstrap-clean cd ..\lisp $(MAKE) $(MFLAGS) bootstrap-clean -bootstrap-clean-SH: +bootstrap-clean-gmake: $(MAKE) $(MFLAGS) -C ../src bootstrap-clean $(MAKE) $(MFLAGS) -C ../lisp bootstrap-clean @@ -132,7 +132,7 @@ # # Build and install emacs in INSTALL_DIR # -install: all $(INSTALL_DIR)/bin install-other-dirs-$(SHELLTYPE) +install: all $(INSTALL_DIR)/bin install-other-dirs-$(MAKETYPE) - $(CP) $(BLD)/addpm.exe $(INSTALL_DIR)/bin - $(CP) $(BLD)/ddeclient.exe $(INSTALL_DIR)/bin - $(CP) $(BLD)/cmdproxy.exe $(INSTALL_DIR)/bin @@ -154,7 +154,7 @@ - $(DEL) ../same-dir.tst - $(DEL) $(INSTALL_DIR)/same-dir.tst -install-other-dirs-CMD: +install-other-dirs-nmake: cd ..\lib-src $(MAKE) $(MFLAGS) install cd ..\src @@ -165,7 +165,7 @@ $(MAKE) $(MFLAGS) install cd ..\nt -install-other-dirs-SH: +install-other-dirs-gmake: $(MAKE) $(MFLAGS) -C ../lib-src install $(MAKE) $(MFLAGS) -C ../src install $(MAKE) $(MFLAGS) -C ../lisp install @@ -174,12 +174,12 @@ # # Maintenance # -clean: clean-other-dirs-$(SHELLTYPE) - - $(DEL) *~ *.pdb +clean: clean-other-dirs-$(MAKETYPE) + - $(DEL) *~ $(COMPILER_TEMP_FILES) - $(DEL_TREE) $(OBJDIR) - $(DEL) ../etc/DOC ../etc/DOC-X -clean-other-dirs-CMD: +clean-other-dirs-nmake: cd ..\lib-src $(MAKE) $(MFLAGS) clean cd ..\src @@ -190,7 +190,7 @@ $(MAKE) $(MFLAGS) clean cd ..\nt -clean-other-dirs-SH: +clean-other-dirs-gmake: $(MAKE) $(MFLAGS) -C ../lib-src clean $(MAKE) $(MFLAGS) -C ../src clean $(MAKE) $(MFLAGS) -C ../lisp clean