diff options
| author | Andrew Innes | 1999-01-17 19:17:43 +0000 |
|---|---|---|
| committer | Andrew Innes | 1999-01-17 19:17:43 +0000 |
| commit | ea01f002223cbf95cbd7d07a1b9ec50621cd4f77 (patch) | |
| tree | 786427db55fa6ef6959b8b0abac47c924278f7c6 /src | |
| parent | cfe8de43703181df5f5b9ae0a8fa7bae4f256a00 (diff) | |
| download | emacs-ea01f002223cbf95cbd7d07a1b9ec50621cd4f77.tar.gz emacs-ea01f002223cbf95cbd7d07a1b9ec50621cd4f77.zip | |
(TEMACS_TMP): New macro.
($(TEMACS)): Output to TEMACS_TMP from link, use post-link
processor to add static heap section in support of new unexec.
Diffstat (limited to 'src')
| -rw-r--r-- | src/makefile.nt | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/makefile.nt b/src/makefile.nt index e4a1a49787d..522c958563f 100644 --- a/src/makefile.nt +++ b/src/makefile.nt | |||
| @@ -39,6 +39,7 @@ LOCAL_FLAGS = $(LOCAL_FLAGS) -DHAVE_NTGUI=1 | |||
| 39 | 39 | ||
| 40 | EMACS = $(BLD)\emacs.exe | 40 | EMACS = $(BLD)\emacs.exe |
| 41 | TEMACS = $(BLD)\temacs.exe | 41 | TEMACS = $(BLD)\temacs.exe |
| 42 | TEMACS_TMP = $(BLD)\temacs.bin | ||
| 42 | TLIB0 = $(BLD)\temacs0.lib | 43 | TLIB0 = $(BLD)\temacs0.lib |
| 43 | TLIB1 = $(BLD)\temacs1.lib | 44 | TLIB1 = $(BLD)\temacs1.lib |
| 44 | TLIB2 = $(BLD)\temacs2.lib | 45 | TLIB2 = $(BLD)\temacs2.lib |
| @@ -200,10 +201,15 @@ $(EMACS): $(PREPARED_HEADERS) $(DOC) $(TEMACS) | |||
| 200 | 201 | ||
| 201 | # | 202 | # |
| 202 | # The undumped executable | 203 | # The undumped executable |
| 204 | # Note the extra post-link step to insert a static preload heap section. | ||
| 205 | # If preload runs out of memory, increase the last argument to addsection | ||
| 206 | # (it is the preload heap size in MB). | ||
| 203 | # | 207 | # |
| 204 | temacs: $(BLD) $(TEMACS) | 208 | temacs: $(BLD) $(TEMACS) |
| 205 | $(TEMACS): $(TLIB0) $(TLIB1) $(TLIB2) $(TLIBW32) $(TLASTLIB) $(TOBJ) $(TRES) | 209 | $(TEMACS): $(TLIB0) $(TLIB1) $(TLIB2) $(TLIBW32) $(TLASTLIB) $(TOBJ) $(TRES) |
| 206 | $(LINK) -out:$(TEMACS) $(LINK_FLAGS) $(TOBJ) $(TRES) $(LIBS) | 210 | $(LINK) -out:$(TEMACS_TMP) $(LINK_FLAGS) $(TOBJ) $(TRES) $(LIBS) |
| 211 | ..\nt\$(BLD)\addsection $(TEMACS_TMP) $(TEMACS) EMHEAP 16 | ||
| 212 | rm $(TEMACS_TMP) | ||
| 207 | 213 | ||
| 208 | # | 214 | # |
| 209 | # The resource file. NT 3.10 requires the use of cvtres; even though | 215 | # The resource file. NT 3.10 requires the use of cvtres; even though |