diff options
| author | Richard M. Stallman | 1995-06-15 15:28:03 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1995-06-15 15:28:03 +0000 |
| commit | d51bca10bd8a2a39013060457a40d09671702616 (patch) | |
| tree | f54650483e2ffa4e012f4c43483079a3ff008348 | |
| parent | 191f57e924f650b7d98846862b0ea6f24b6d7e2f (diff) | |
| download | emacs-d51bca10bd8a2a39013060457a40d09671702616.tar.gz emacs-d51bca10bd8a2a39013060457a40d09671702616.zip | |
(MSVCNT11): Defined.
(BASE_LIBS) [MSVCNT11]: Use oldnames.lib.
(CFLAGS_COMMON): Defined.
(CFLAGS) [MSVCNT11]: Define _CRTAPI1 to _cdecl.
| -rw-r--r-- | nt/makefile.def | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/nt/makefile.def b/nt/makefile.def index 51c572b5d0b..39717c24cdb 100644 --- a/nt/makefile.def +++ b/nt/makefile.def | |||
| @@ -27,6 +27,10 @@ | |||
| 27 | INSTALL_DIR = C:\emacs | 27 | INSTALL_DIR = C:\emacs |
| 28 | !endif | 28 | !endif |
| 29 | 29 | ||
| 30 | # Define MSVCNT11 to be nonzero if you are using the MSVCNT 1.1 environment. | ||
| 31 | # MSVCNT11 = 1 | ||
| 32 | MSVCNT11 = 0 | ||
| 33 | |||
| 30 | # | 34 | # |
| 31 | # END CONFIGURATION | 35 | # END CONFIGURATION |
| 32 | # | 36 | # |
| @@ -107,7 +111,11 @@ libc = libc.lib | |||
| 107 | 111 | ||
| 108 | # The base libraries for compiling Emacs on NT. With MSVC, this should | 112 | # The base libraries for compiling Emacs on NT. With MSVC, this should |
| 109 | # include oldnames.lib. | 113 | # include oldnames.lib. |
| 114 | !if $(MSVCNT11) | ||
| 115 | BASE_LIBS = $(libc) $(baselibs) oldnames.lib | ||
| 116 | !else | ||
| 110 | BASE_LIBS = $(libc) $(baselibs) | 117 | BASE_LIBS = $(libc) $(baselibs) |
| 118 | !endif | ||
| 111 | 119 | ||
| 112 | # We want any debugging info in the executable. | 120 | # We want any debugging info in the executable. |
| 113 | !if "$(LINK)" == "link32" | 121 | !if "$(LINK)" == "link32" |
| @@ -117,7 +125,12 @@ SYS_LDFLAGS = -pdb:none -release -incremental:no | |||
| 117 | !endif | 125 | !endif |
| 118 | 126 | ||
| 119 | INC = -I. | 127 | INC = -I. |
| 120 | CFLAGS = -nologo $(INC) $(ARCH_CFLAGS) $(LOCAL_FLAGS) -DWIN32_LEAN_AND_MEAN -D$(ARCH) | 128 | CFLAGS_COMMON = -nologo $(INC) $(ARCH_CFLAGS) $(LOCAL_FLAGS) -DWIN32_LEAN_AND_MEAN -D$(ARCH) |
| 129 | !if $(MSVCNT11) | ||
| 130 | CFLAGS = $(CFLAGS_COMMON) -D_CRTAPI1=_cdecl | ||
| 131 | !else | ||
| 132 | CFLAGS = $(CFLAGS_COMMON) | ||
| 133 | !endif | ||
| 121 | 134 | ||
| 122 | OBJDIR = obj | 135 | OBJDIR = obj |
| 123 | $(OBJDIR):; -mkdir $(OBJDIR) | 136 | $(OBJDIR):; -mkdir $(OBJDIR) |