diff options
| author | Andrew Innes | 2000-09-14 21:32:40 +0000 |
|---|---|---|
| committer | Andrew Innes | 2000-09-14 21:32:40 +0000 |
| commit | cf498eda600ad7b3cc9d0a112b8067024c59fc9c (patch) | |
| tree | 1245baa6590cebae06682e0ca7c10d3a01786d42 /src | |
| parent | 0ba5fa0ec8388441deb5d87bb6ea7ed5dd4b5929 (diff) | |
| download | emacs-cf498eda600ad7b3cc9d0a112b8067024c59fc9c.tar.gz emacs-cf498eda600ad7b3cc9d0a112b8067024c59fc9c.zip | |
Standardize indentation somewhat.
(bootstrap-temacs): Use $(ARGQUOTE) instead of literal quotes, to
cater for differences between shells.
Diffstat (limited to 'src')
| -rw-r--r-- | src/makefile.w32-in | 65 |
1 files changed, 33 insertions, 32 deletions
diff --git a/src/makefile.w32-in b/src/makefile.w32-in index 39621a1ace3..e6b9eed4144 100644 --- a/src/makefile.w32-in +++ b/src/makefile.w32-in | |||
| @@ -148,7 +148,7 @@ all: $(ALL) | |||
| 148 | # | 148 | # |
| 149 | emacs: $(BLD) $(EMACS) | 149 | emacs: $(BLD) $(EMACS) |
| 150 | $(EMACS): $(DOC) $(TEMACS) | 150 | $(EMACS): $(DOC) $(TEMACS) |
| 151 | "./$(BLD)/temacs.exe" -batch -l loadup dump | 151 | "./$(BLD)/temacs.exe" -batch -l loadup dump |
| 152 | 152 | ||
| 153 | # | 153 | # |
| 154 | # The undumped executable | 154 | # The undumped executable |
| @@ -158,8 +158,8 @@ $(EMACS): $(DOC) $(TEMACS) | |||
| 158 | # | 158 | # |
| 159 | temacs: $(BLD) $(TEMACS) | 159 | temacs: $(BLD) $(TEMACS) |
| 160 | $(TEMACS): $(TLIB0) $(TLIB1) $(TLIBW32) $(TLASTLIB) $(TOBJ) $(TRES) | 160 | $(TEMACS): $(TLIB0) $(TLIB1) $(TLIBW32) $(TLASTLIB) $(TOBJ) $(TRES) |
| 161 | $(LINK) $(LINK_OUT)$(TEMACS_TMP) $(FULL_LINK_FLAGS) $(TOBJ) $(TRES) $(LIBS) | 161 | $(LINK) $(LINK_OUT)$(TEMACS_TMP) $(FULL_LINK_FLAGS) $(TOBJ) $(TRES) $(LIBS) |
| 162 | "../nt/$(BLD)/addsection" "$(TEMACS_TMP)" "$(TEMACS)" EMHEAP 16 | 162 | "../nt/$(BLD)/addsection" "$(TEMACS_TMP)" "$(TEMACS)" EMHEAP 16 |
| 163 | 163 | ||
| 164 | bootstrap: bootstrap-emacs | 164 | bootstrap: bootstrap-emacs |
| 165 | 165 | ||
| @@ -168,47 +168,47 @@ bootstrap: bootstrap-emacs | |||
| 168 | # Lisp files from loadup.el in source form. | 168 | # Lisp files from loadup.el in source form. |
| 169 | # | 169 | # |
| 170 | bootstrap-temacs: bootstrap-clean | 170 | bootstrap-temacs: bootstrap-clean |
| 171 | $(MAKECMD) temacs CFLAGS="$(CFLAGS) -DPURESIZE=5000000" | 171 | $(MAKE) $(MFLAGS) temacs CFLAGS=$(ARGQUOTE)$(CFLAGS) -DPURESIZE=5000000$(ARGQUOTE) |
| 172 | 172 | ||
| 173 | # | 173 | # |
| 174 | # Dump an Emacs executable named bootstrap-emacs containing the | 174 | # Dump an Emacs executable named bootstrap-emacs containing the |
| 175 | # files from loadup.el in source form. | 175 | # files from loadup.el in source form. |
| 176 | # | 176 | # |
| 177 | bootstrap-emacs: bootstrap-temacs | 177 | bootstrap-emacs: bootstrap-temacs |
| 178 | "./$(BLD)/temacs.exe" -batch -l loadup bootstrap | 178 | "./$(BLD)/temacs.exe" -batch -l loadup bootstrap |
| 179 | - mkdir "../bin" | 179 | - mkdir "../bin" |
| 180 | $(CP) $(EMACS) ../bin | 180 | $(CP) $(EMACS) ../bin |
| 181 | 181 | ||
| 182 | # | 182 | # |
| 183 | # Force recompile of files that depend on PURESIZE | 183 | # Force recompile of files that depend on PURESIZE |
| 184 | # | 184 | # |
| 185 | bootstrap-clean: | 185 | bootstrap-clean: |
| 186 | - $(DEL) $(BLD)/alloc.$(O) | 186 | - $(DEL) $(BLD)/alloc.$(O) |
| 187 | - $(DEL) $(BLD)/data.$(O) | 187 | - $(DEL) $(BLD)/data.$(O) |
| 188 | - $(DEL) $(BLD)/intervals.$(O) | 188 | - $(DEL) $(BLD)/intervals.$(O) |
| 189 | - $(DEL) $(BLD)/keyboard.$(O) | 189 | - $(DEL) $(BLD)/keyboard.$(O) |
| 190 | - $(DEL) $(BLD)/keymap.$(O) | 190 | - $(DEL) $(BLD)/keymap.$(O) |
| 191 | 191 | ||
| 192 | # | 192 | # |
| 193 | # The resource file. NT 3.10 requires the use of cvtres; even though | 193 | # The resource file. NT 3.10 requires the use of cvtres; even though |
| 194 | # it is not necessary on later versions, it is still ok to use it. | 194 | # it is not necessary on later versions, it is still ok to use it. |
| 195 | # | 195 | # |
| 196 | $(TRES): ../nt/emacs.rc | 196 | $(TRES): ../nt/emacs.rc |
| 197 | $(RC) $(RC_INCLUDE)../nt $(RC_OUT)$@ $(ALL_DEPS) | 197 | $(RC) $(RC_INCLUDE)../nt $(RC_OUT)$@ $(ALL_DEPS) |
| 198 | 198 | ||
| 199 | # | 199 | # |
| 200 | # Build the library. Split up the build into two phases...otherwise we | 200 | # Build the library. Split up the build into two phases...otherwise we |
| 201 | # run out of command line space. | 201 | # run out of command line space. |
| 202 | # | 202 | # |
| 203 | $(TLIB0): $(OBJ0) | 203 | $(TLIB0): $(OBJ0) |
| 204 | - $(DEL) $@ | 204 | - $(DEL) $@ |
| 205 | $(AR) $(AR_OUT)$@ $(ALL_DEPS) | 205 | $(AR) $(AR_OUT)$@ $(ALL_DEPS) |
| 206 | $(TLIB1): $(OBJ1) | 206 | $(TLIB1): $(OBJ1) |
| 207 | - $(DEL) $@ | 207 | - $(DEL) $@ |
| 208 | $(AR) $(AR_OUT)$@ $(ALL_DEPS) | 208 | $(AR) $(AR_OUT)$@ $(ALL_DEPS) |
| 209 | $(TLIBW32): $(WIN32OBJ) | 209 | $(TLIBW32): $(WIN32OBJ) |
| 210 | - $(DEL) $@ | 210 | - $(DEL) $@ |
| 211 | $(AR) $(AR_OUT)$@ $(ALL_DEPS) | 211 | $(AR) $(AR_OUT)$@ $(ALL_DEPS) |
| 212 | 212 | ||
| 213 | # | 213 | # |
| 214 | # Place lastfile.$(O) in its own library so that it can be loaded after | 214 | # Place lastfile.$(O) in its own library so that it can be loaded after |
| @@ -216,31 +216,32 @@ $(TLIBW32): $(WIN32OBJ) | |||
| 216 | # the end of Emacs' data section portably across compilers and systems. | 216 | # the end of Emacs' data section portably across compilers and systems. |
| 217 | # | 217 | # |
| 218 | $(TLASTLIB): $(BLD)/lastfile.$(O) | 218 | $(TLASTLIB): $(BLD)/lastfile.$(O) |
| 219 | - $(DEL) $@ | 219 | - $(DEL) $@ |
| 220 | $(AR) $(AR_OUT)$@ $(ALL_DEPS) | 220 | $(AR) $(AR_OUT)$@ $(ALL_DEPS) |
| 221 | 221 | ||
| 222 | # | 222 | # |
| 223 | # Assuming INSTALL_DIR is defined, build and install emacs in it. | 223 | # Assuming INSTALL_DIR is defined, build and install emacs in it. |
| 224 | # | 224 | # |
| 225 | install: $(ALL) | 225 | install: $(ALL) |
| 226 | - mkdir "$(INSTALL_DIR)/bin" | 226 | - mkdir "$(INSTALL_DIR)/bin" |
| 227 | $(CP) $(EMACS) $(INSTALL_DIR)/bin | 227 | $(CP) $(EMACS) $(INSTALL_DIR)/bin |
| 228 | 228 | ||
| 229 | # | 229 | # |
| 230 | # Maintenance | 230 | # Maintenance |
| 231 | # | 231 | # |
| 232 | clean:; - $(DEL) *~ "s/*~" "m/*~" | 232 | clean: |
| 233 | - $(DEL) *.pdb | 233 | - $(DEL) *~ "s/*~" "m/*~" |
| 234 | - $(DEL_TREE) $(OBJDIR) | 234 | - $(DEL) *.pdb |
| 235 | - $(DEL_TREE) $(OBJDIR) | ||
| 235 | 236 | ||
| 236 | distclean: clean | 237 | distclean: clean |
| 237 | - $(DEL) config.h epaths.h | 238 | - $(DEL) config.h epaths.h |
| 238 | 239 | ||
| 239 | cleanall: clean | 240 | cleanall: clean |
| 240 | - $(DEL_TREE) obj | 241 | - $(DEL_TREE) obj |
| 241 | - $(DEL_TREE) obj-spd | 242 | - $(DEL_TREE) obj-spd |
| 242 | - $(DEL_TREE) oo | 243 | - $(DEL_TREE) oo |
| 243 | - $(DEL_TREE) oo-spd | 244 | - $(DEL_TREE) oo-spd |
| 244 | 245 | ||
| 245 | ### DEPENDENCIES ### | 246 | ### DEPENDENCIES ### |
| 246 | 247 | ||