aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Innes2001-01-06 21:18:42 +0000
committerAndrew Innes2001-01-06 21:18:42 +0000
commitaef625b1a34b7fa1ff55a855010426eaf5e6c4e0 (patch)
treea106bbf02d4955cc25ddc14cbc9bcfbc038f6b8c
parent6da21b33f531d8e40ff3f8d57e41395a9cddb907 (diff)
downloademacs-aef625b1a34b7fa1ff55a855010426eaf5e6c4e0.tar.gz
emacs-aef625b1a34b7fa1ff55a855010426eaf5e6c4e0.zip
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.
-rw-r--r--nt/makefile.w32-in38
1 files changed, 19 insertions, 19 deletions
diff --git a/nt/makefile.w32-in b/nt/makefile.w32-in
index 25b9188af75..7869a8f620e 100644
--- a/nt/makefile.w32-in
+++ b/nt/makefile.w32-in
@@ -67,9 +67,9 @@ which-sh:
67# 67#
68# Build emacs 68# Build emacs
69# 69#
70all: which-sh $(BLD) $(ALL) all-other-dirs-$(SHELLTYPE) 70all: which-sh $(BLD) $(ALL) all-other-dirs-$(MAKETYPE)
71 71
72all-other-dirs-CMD: 72all-other-dirs-nmake:
73 cd ..\lib-src 73 cd ..\lib-src
74 $(MAKE) $(MFLAGS) all 74 $(MAKE) $(MFLAGS) all
75 cd ..\src 75 cd ..\src
@@ -80,25 +80,25 @@ all-other-dirs-CMD:
80 $(MAKE) $(MFLAGS) all 80 $(MAKE) $(MFLAGS) all
81 cd ..\nt 81 cd ..\nt
82 82
83all-other-dirs-SH: 83all-other-dirs-gmake:
84 $(MAKE) $(MFLAGS) -C ../lib-src all 84 $(MAKE) $(MFLAGS) -C ../lib-src all
85 $(MAKE) $(MFLAGS) -C ../src all 85 $(MAKE) $(MFLAGS) -C ../src all
86 $(MAKE) $(MFLAGS) -C ../lisp all 86 $(MAKE) $(MFLAGS) -C ../lisp all
87 $(MAKE) $(MFLAGS) -C ../leim all 87 $(MAKE) $(MFLAGS) -C ../leim all
88 88
89recompile: recompile-$(SHELLTYPE) 89recompile: recompile-$(MAKETYPE)
90 90
91recompile-CMD: 91recompile-nmake:
92 cd ..\lisp 92 cd ..\lisp
93 $(MAKE) $(MFLAGS) recompile 93 $(MAKE) $(MFLAGS) recompile
94 cd ..\nt 94 cd ..\nt
95 95
96recompile-SH: 96recompile-gmake:
97 $(MAKE) $(MFLAGS) -C ../lisp recompile 97 $(MAKE) $(MFLAGS) -C ../lisp recompile
98 98
99bootstrap: $(BLD) $(ALL) bootstrap-$(SHELLTYPE) 99bootstrap: $(BLD) $(ALL) bootstrap-$(MAKETYPE)
100 100
101bootstrap-CMD: 101bootstrap-nmake:
102 cd ..\src 102 cd ..\src
103 $(MAKE) $(MFLAGS) bootstrap 103 $(MAKE) $(MFLAGS) bootstrap
104 $(MAKE) $(MFLAGS) bootstrap-clean 104 $(MAKE) $(MFLAGS) bootstrap-clean
@@ -106,20 +106,20 @@ bootstrap-CMD:
106 $(MAKE) $(MFLAGS) bootstrap 106 $(MAKE) $(MFLAGS) bootstrap
107 cd ..\nt 107 cd ..\nt
108 108
109bootstrap-SH: 109bootstrap-gmake:
110 $(MAKE) $(MFLAGS) -C ../src bootstrap 110 $(MAKE) $(MFLAGS) -C ../src bootstrap
111 $(MAKE) $(MFLAGS) -C ../src bootstrap-clean 111 $(MAKE) $(MFLAGS) -C ../src bootstrap-clean
112 $(MAKE) $(MFLAGS) -C ../lisp bootstrap 112 $(MAKE) $(MFLAGS) -C ../lisp bootstrap
113 113
114bootstrap-clean: bootstrap-clean-$(SHELLTYPE) 114bootstrap-clean: bootstrap-clean-$(MAKETYPE)
115 115
116bootstrap-clean-CMD: 116bootstrap-clean-nmake:
117 cd ..\src 117 cd ..\src
118 $(MAKE) $(MFLAGS) bootstrap-clean 118 $(MAKE) $(MFLAGS) bootstrap-clean
119 cd ..\lisp 119 cd ..\lisp
120 $(MAKE) $(MFLAGS) bootstrap-clean 120 $(MAKE) $(MFLAGS) bootstrap-clean
121 121
122bootstrap-clean-SH: 122bootstrap-clean-gmake:
123 $(MAKE) $(MFLAGS) -C ../src bootstrap-clean 123 $(MAKE) $(MFLAGS) -C ../src bootstrap-clean
124 $(MAKE) $(MFLAGS) -C ../lisp bootstrap-clean 124 $(MAKE) $(MFLAGS) -C ../lisp bootstrap-clean
125 125
@@ -132,7 +132,7 @@ $(INSTALL_DIR)/bin:
132# 132#
133# Build and install emacs in INSTALL_DIR 133# Build and install emacs in INSTALL_DIR
134# 134#
135install: all $(INSTALL_DIR)/bin install-other-dirs-$(SHELLTYPE) 135install: all $(INSTALL_DIR)/bin install-other-dirs-$(MAKETYPE)
136 - $(CP) $(BLD)/addpm.exe $(INSTALL_DIR)/bin 136 - $(CP) $(BLD)/addpm.exe $(INSTALL_DIR)/bin
137 - $(CP) $(BLD)/ddeclient.exe $(INSTALL_DIR)/bin 137 - $(CP) $(BLD)/ddeclient.exe $(INSTALL_DIR)/bin
138 - $(CP) $(BLD)/cmdproxy.exe $(INSTALL_DIR)/bin 138 - $(CP) $(BLD)/cmdproxy.exe $(INSTALL_DIR)/bin
@@ -154,7 +154,7 @@ install: all $(INSTALL_DIR)/bin install-other-dirs-$(SHELLTYPE)
154 - $(DEL) ../same-dir.tst 154 - $(DEL) ../same-dir.tst
155 - $(DEL) $(INSTALL_DIR)/same-dir.tst 155 - $(DEL) $(INSTALL_DIR)/same-dir.tst
156 156
157install-other-dirs-CMD: 157install-other-dirs-nmake:
158 cd ..\lib-src 158 cd ..\lib-src
159 $(MAKE) $(MFLAGS) install 159 $(MAKE) $(MFLAGS) install
160 cd ..\src 160 cd ..\src
@@ -165,7 +165,7 @@ install-other-dirs-CMD:
165 $(MAKE) $(MFLAGS) install 165 $(MAKE) $(MFLAGS) install
166 cd ..\nt 166 cd ..\nt
167 167
168install-other-dirs-SH: 168install-other-dirs-gmake:
169 $(MAKE) $(MFLAGS) -C ../lib-src install 169 $(MAKE) $(MFLAGS) -C ../lib-src install
170 $(MAKE) $(MFLAGS) -C ../src install 170 $(MAKE) $(MFLAGS) -C ../src install
171 $(MAKE) $(MFLAGS) -C ../lisp install 171 $(MAKE) $(MFLAGS) -C ../lisp install
@@ -174,12 +174,12 @@ install-other-dirs-SH:
174# 174#
175# Maintenance 175# Maintenance
176# 176#
177clean: clean-other-dirs-$(SHELLTYPE) 177clean: clean-other-dirs-$(MAKETYPE)
178 - $(DEL) *~ *.pdb 178 - $(DEL) *~ $(COMPILER_TEMP_FILES)
179 - $(DEL_TREE) $(OBJDIR) 179 - $(DEL_TREE) $(OBJDIR)
180 - $(DEL) ../etc/DOC ../etc/DOC-X 180 - $(DEL) ../etc/DOC ../etc/DOC-X
181 181
182clean-other-dirs-CMD: 182clean-other-dirs-nmake:
183 cd ..\lib-src 183 cd ..\lib-src
184 $(MAKE) $(MFLAGS) clean 184 $(MAKE) $(MFLAGS) clean
185 cd ..\src 185 cd ..\src
@@ -190,7 +190,7 @@ clean-other-dirs-CMD:
190 $(MAKE) $(MFLAGS) clean 190 $(MAKE) $(MFLAGS) clean
191 cd ..\nt 191 cd ..\nt
192 192
193clean-other-dirs-SH: 193clean-other-dirs-gmake:
194 $(MAKE) $(MFLAGS) -C ../lib-src clean 194 $(MAKE) $(MFLAGS) -C ../lib-src clean
195 $(MAKE) $(MFLAGS) -C ../src clean 195 $(MAKE) $(MFLAGS) -C ../src clean
196 $(MAKE) $(MFLAGS) -C ../lisp clean 196 $(MAKE) $(MFLAGS) -C ../lisp clean