diff options
| author | Andrew Innes | 2000-08-22 22:32:56 +0000 |
|---|---|---|
| committer | Andrew Innes | 2000-08-22 22:32:56 +0000 |
| commit | 43e5817fd13c5f98af6390ada11bddd2f54d9d5f (patch) | |
| tree | fb8f7724fb06efb2301945ee26a78cb011736d3a /src | |
| parent | 473ddaa924beb0836f8dac6fd376d427fa4fbe2a (diff) | |
| download | emacs-43e5817fd13c5f98af6390ada11bddd2f54d9d5f.tar.gz emacs-43e5817fd13c5f98af6390ada11bddd2f54d9d5f.zip | |
(LOCAL_FLAGS): Define USE_CRT_DLL if requested.
(LINK_FLAGS): Append to original value of LINK_FLAGS.
Diffstat (limited to 'src')
| -rw-r--r-- | src/makefile.nt | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/makefile.nt b/src/makefile.nt index 420eb4d7a94..34acca622d3 100644 --- a/src/makefile.nt +++ b/src/makefile.nt | |||
| @@ -36,6 +36,11 @@ LOCAL_FLAGS = -Demacs=1 -DWINDOWSNT -DDOS_NT -DHAVE_CONFIG_H -I..\nt\inc | |||
| 36 | !ifdef NTGUI | 36 | !ifdef NTGUI |
| 37 | LOCAL_FLAGS = $(LOCAL_FLAGS) -DHAVE_NTGUI=1 | 37 | LOCAL_FLAGS = $(LOCAL_FLAGS) -DHAVE_NTGUI=1 |
| 38 | !endif | 38 | !endif |
| 39 | !ifdef USE_CRT_DLL | ||
| 40 | LOCAL_FLAGS = $(LOCAL_FLAGS) -DUSE_CRT_DLL=1 -MD | ||
| 41 | libc = msvcrt.lib | ||
| 42 | LINK_FLAGS = -nodefaultlib | ||
| 43 | !endif | ||
| 39 | 44 | ||
| 40 | # From MSVC 5.0 onwards, it seem base relocation information is not included, | 45 | # From MSVC 5.0 onwards, it seem base relocation information is not included, |
| 41 | # at least in release builds. We need to ensure the reloc info is included | 46 | # at least in release builds. We need to ensure the reloc info is included |
| @@ -68,9 +73,9 @@ TLASTLIB = $(BLD)\lastfile.lib | |||
| 68 | # see comments in allocate_heap in w32heap.c before changing any of the | 73 | # see comments in allocate_heap in w32heap.c before changing any of the |
| 69 | # -stack, -heap, or -base settings. | 74 | # -stack, -heap, or -base settings. |
| 70 | !if "$(BUILD_TYPE)" == "spd" | 75 | !if "$(BUILD_TYPE)" == "spd" |
| 71 | LINK_FLAGS = $(ARCH_LDFLAGS) -stack:0x00800000 -heap:0x00100000 -base:0x01000000 -debug:full -debugtype:both -pdb:$(BLD)\temacs.pdb -machine:$(ARCH) -subsystem:$(SUBSYSTEM) -entry:_start -map:$(BLD)\temacs.map -swaprun:net -swaprun:cd | 76 | LINK_FLAGS = $(LINK_FLAGS) $(ARCH_LDFLAGS) -stack:0x00800000 -heap:0x00100000 -base:0x01000000 -debug:full -debugtype:both -pdb:$(BLD)\temacs.pdb -machine:$(ARCH) -subsystem:$(SUBSYSTEM) -entry:_start -map:$(BLD)\temacs.map -swaprun:net -swaprun:cd |
| 72 | !else | 77 | !else |
| 73 | LINK_FLAGS = $(ARCH_LDFLAGS) -stack:0x00800000 -heap:0x00100000 -base:0x01000000 -debug:full -debugtype:both -pdb:none -machine:$(ARCH) -subsystem:$(SUBSYSTEM) -entry:_start -map:$(BLD)\temacs.map -swaprun:net -swaprun:cd $(EXTRA_LINK) | 78 | LINK_FLAGS = $(LINK_FLAGS) $(ARCH_LDFLAGS) -stack:0x00800000 -heap:0x00100000 -base:0x01000000 -debug:full -debugtype:both -pdb:none -machine:$(ARCH) -subsystem:$(SUBSYSTEM) -entry:_start -map:$(BLD)\temacs.map -swaprun:net -swaprun:cd $(EXTRA_LINK) |
| 74 | !endif | 79 | !endif |
| 75 | 80 | ||
| 76 | # | 81 | # |