diff options
| author | Geoff Voelker | 1998-11-04 01:27:10 +0000 |
|---|---|---|
| committer | Geoff Voelker | 1998-11-04 01:27:10 +0000 |
| commit | ec465548a9c155d5e9a3feabe9f03f257eaecc8c (patch) | |
| tree | 3ede34be3d60b385dae691a173dc8f4ec8d75ea5 | |
| parent | f2b56a5d967cffb36c26f00e83568c8e6207bbb2 (diff) | |
| download | emacs-ec465548a9c155d5e9a3feabe9f03f257eaecc8c.tar.gz emacs-ec465548a9c155d5e9a3feabe9f03f257eaecc8c.zip | |
(SYS_LDFLAGS): Use swapfile when running from cd or net.
(DEL_TREE): Use rd instead of rmdir.
(ARCH_CFLAGS): Optimize for P6. Align structures on 8-byte boundaries.
| -rw-r--r-- | nt/makefile.def | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/nt/makefile.def b/nt/makefile.def index fdfa6029653..e9926c540a2 100644 --- a/nt/makefile.def +++ b/nt/makefile.def | |||
| @@ -42,6 +42,16 @@ MSVCNT11 = 0 | |||
| 42 | # END CONFIGURATION | 42 | # END CONFIGURATION |
| 43 | # | 43 | # |
| 44 | 44 | ||
| 45 | # | ||
| 46 | # Allow detection of builds with MSVC 5 or later | ||
| 47 | # | ||
| 48 | _NMAKE_VER_5=162 | ||
| 49 | _NMAKE_VER_4=0 | ||
| 50 | |||
| 51 | !IFNDEF _NMAKE_VER | ||
| 52 | _NMAKE_VER=$(_NMAKE_VER_4) | ||
| 53 | !ENDIF | ||
| 54 | |||
| 45 | # Check that the INCLUDE and LIB environment variables are set. | 55 | # Check that the INCLUDE and LIB environment variables are set. |
| 46 | # | 56 | # |
| 47 | !ifndef INCLUDE | 57 | !ifndef INCLUDE |
| @@ -131,6 +141,9 @@ SYS_LDFLAGS = | |||
| 131 | SYS_LDFLAGS = -release -incremental:no -version:3.10 | 141 | SYS_LDFLAGS = -release -incremental:no -version:3.10 |
| 132 | !endif | 142 | !endif |
| 133 | 143 | ||
| 144 | # Tag the executables to run out of the swapfile when execute off CD or network shares | ||
| 145 | SYS_LDFLAGS = $(SYS_LDFLAGS) -swaprun:cd -swaprun:net | ||
| 146 | |||
| 134 | INC = -I. | 147 | INC = -I. |
| 135 | !if "$(BUILD_TYPE)" == "spd" | 148 | !if "$(BUILD_TYPE)" == "spd" |
| 136 | CFLAGS_COMMON = -nologo $(INC) $(ARCH_CFLAGS) $(LOCAL_FLAGS) -DWIN32_LEAN_AND_MEAN -D$(ARCH) -Fd$(BLD)\vc.pdb | 149 | CFLAGS_COMMON = -nologo $(INC) $(ARCH_CFLAGS) $(LOCAL_FLAGS) -DWIN32_LEAN_AND_MEAN -D$(ARCH) -Fd$(BLD)\vc.pdb |
| @@ -161,8 +174,8 @@ DEL = deltree /y | |||
| 161 | DEL_TREE = deltree /y | 174 | DEL_TREE = deltree /y |
| 162 | !else | 175 | !else |
| 163 | DEL = del | 176 | DEL = del |
| 164 | # This is completely braindamaged, but it's the only routine known to be there | 177 | # NT better way of killing a deltree |
| 165 | DEL_TREE = echo y | rmdir /s | 178 | DEL_TREE = rd /s/q |
| 166 | !endif | 179 | !endif |
| 167 | 180 | ||
| 168 | # The location of the icon file | 181 | # The location of the icon file |
| @@ -173,7 +186,7 @@ ADDPM = ..\nt\$(BLD)\addpm.exe | |||
| 173 | 186 | ||
| 174 | !if "$(ARCH)" == "i386" | 187 | !if "$(ARCH)" == "i386" |
| 175 | !if "$(BUILD_TYPE)" == "spd" | 188 | !if "$(BUILD_TYPE)" == "spd" |
| 176 | ARCH_CFLAGS = -nologo -D_X86_=1 -c -Zel -W2 -H63 -Oxsb2 -G5dF -Zi | 189 | ARCH_CFLAGS = -nologo -D_X86_=1 -c -Zel -W2 -H63 -Oxsb2 -G6dF -Zi -Zp8 |
| 177 | !else | 190 | !else |
| 178 | ARCH_CFLAGS = -nologo -D_X86_=1 -c -Zel -W2 -H63 -G3d -Zi -Od | 191 | ARCH_CFLAGS = -nologo -D_X86_=1 -c -Zel -W2 -H63 -G3d -Zi -Od |
| 179 | !endif | 192 | !endif |