diff options
| author | Geoff Voelker | 1998-04-17 05:05:40 +0000 |
|---|---|---|
| committer | Geoff Voelker | 1998-04-17 05:05:40 +0000 |
| commit | 032f4607259096f4332a3309e939fc4505955b90 (patch) | |
| tree | e65c9f2955e2a0027cad19f1f07cf64a17af6bb5 /src/makefile.nt | |
| parent | 22270f1789e2ed3a24c9a843a51fc87b7e6021f5 (diff) | |
| download | emacs-032f4607259096f4332a3309e939fc4505955b90.tar.gz emacs-032f4607259096f4332a3309e939fc4505955b90.zip | |
(LINK_TYPE): Do not include debug info in optimized
binary.
(LIBS): Include mpr.lib.
(clean): Delete patch generated files, optimized build directory.
Diffstat (limited to 'src/makefile.nt')
| -rw-r--r-- | src/makefile.nt | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/src/makefile.nt b/src/makefile.nt index f6eebf1b931..5efaf8c9f9a 100644 --- a/src/makefile.nt +++ b/src/makefile.nt | |||
| @@ -54,7 +54,11 @@ TLASTLIB = $(BLD)\lastfile.lib | |||
| 54 | 54 | ||
| 55 | # see comments in allocate_heap in w32heap.c before changing any of the | 55 | # see comments in allocate_heap in w32heap.c before changing any of the |
| 56 | # -stack, -heap, or -base settings. | 56 | # -stack, -heap, or -base settings. |
| 57 | !if "$(BUILD_TYPE)" == "spd" | ||
| 58 | LINK_FLAGS = $(ARCH_LDFLAGS) -stack:0x00800000 -heap:0x00100000 -base:0x01000000 -pdb:$(BLD)\temacs.pdb -machine:$(ARCH) -subsystem:$(SUBSYSTEM) -entry:_start -map:$(BLD)\temacs.map | ||
| 59 | !else | ||
| 57 | LINK_FLAGS = $(ARCH_LDFLAGS) -stack:0x00800000 -heap:0x00100000 -base:0x01000000 -debug:full -pdb:$(BLD)\temacs.pdb -machine:$(ARCH) -subsystem:$(SUBSYSTEM) -entry:_start -map:$(BLD)\temacs.map | 60 | LINK_FLAGS = $(ARCH_LDFLAGS) -stack:0x00800000 -heap:0x00100000 -base:0x01000000 -debug:full -pdb:$(BLD)\temacs.pdb -machine:$(ARCH) -subsystem:$(SUBSYSTEM) -entry:_start -map:$(BLD)\temacs.map |
| 61 | !endif | ||
| 58 | 62 | ||
| 59 | # | 63 | # |
| 60 | # Split up the objects into two sets so that we don't run out of | 64 | # Split up the objects into two sets so that we don't run out of |
| @@ -154,7 +158,8 @@ LIBS = $(TLIB0) \ | |||
| 154 | $(BASE_LIBS) \ | 158 | $(BASE_LIBS) \ |
| 155 | $(ADVAPI32) \ | 159 | $(ADVAPI32) \ |
| 156 | user32.lib \ | 160 | user32.lib \ |
| 157 | mpr.lib | 161 | mpr.lib \ |
| 162 | setargv.obj | ||
| 158 | 163 | ||
| 159 | # | 164 | # |
| 160 | # Build the executable and dump it. | 165 | # Build the executable and dump it. |
| @@ -245,9 +250,13 @@ install: all | |||
| 245 | # | 250 | # |
| 246 | # Maintenance | 251 | # Maintenance |
| 247 | # | 252 | # |
| 248 | clean:; - $(DEL) *~ *.pdb config.h paths.h | 253 | clean:; - $(DEL) *~ s\*~ |
| 254 | - $(DEL) *.pdb config.h paths.h | ||
| 255 | - $(DEL) *.orig *.rej *.crlf | ||
| 256 | - $(DEL) s\*.orig s\*.rej s\*.crlf | ||
| 249 | - $(DEL_TREE) deleted | 257 | - $(DEL_TREE) deleted |
| 250 | - $(DEL_TREE) $(OBJDIR) | 258 | - $(DEL_TREE) obj |
| 259 | - $(DEL_TREE) obj-spd | ||
| 251 | 260 | ||
| 252 | # | 261 | # |
| 253 | # These files are the ones that compile conditionally on CANNOT_DUMP... | 262 | # These files are the ones that compile conditionally on CANNOT_DUMP... |