#
# 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
$(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
$(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
#
# 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
- $(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
$(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
#
# 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
$(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