diff options
author | Richard M. Stallman <rms@gnu.org> | 1995-06-15 15:28:03 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1995-06-15 15:28:03 +0000 |
commit | 2c620b420e82e9d80282fdebd03ee45acd4c5336 (patch) | |
tree | 3e661d8df4b44583614c3a003d8fa736acdcd398 /nt | |
parent | 0a2131c593f9eaed65d93d9019cfcdf0e635c788 (diff) | |
download | emacs-2c620b420e82e9d80282fdebd03ee45acd4c5336.tar.gz |
(MSVCNT11): Defined.
(BASE_LIBS) [MSVCNT11]: Use oldnames.lib.
(CFLAGS_COMMON): Defined.
(CFLAGS) [MSVCNT11]: Define _CRTAPI1 to _cdecl.
Diffstat (limited to 'nt')
-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 @@ INSTALL_DIR = C:\emacs !endif +# Define MSVCNT11 to be nonzero if you are using the MSVCNT 1.1 environment. +# MSVCNT11 = 1 +MSVCNT11 = 0 + # # END CONFIGURATION # @@ -107,7 +111,11 @@ libc = libc.lib # The base libraries for compiling Emacs on NT. With MSVC, this should # include oldnames.lib. +!if $(MSVCNT11) +BASE_LIBS = $(libc) $(baselibs) oldnames.lib +!else BASE_LIBS = $(libc) $(baselibs) +!endif # We want any debugging info in the executable. !if "$(LINK)" == "link32" @@ -117,7 +125,12 @@ SYS_LDFLAGS = -pdb:none -release -incremental:no !endif INC = -I. -CFLAGS = -nologo $(INC) $(ARCH_CFLAGS) $(LOCAL_FLAGS) -DWIN32_LEAN_AND_MEAN -D$(ARCH) +CFLAGS_COMMON = -nologo $(INC) $(ARCH_CFLAGS) $(LOCAL_FLAGS) -DWIN32_LEAN_AND_MEAN -D$(ARCH) +!if $(MSVCNT11) +CFLAGS = $(CFLAGS_COMMON) -D_CRTAPI1=_cdecl +!else +CFLAGS = $(CFLAGS_COMMON) +!endif OBJDIR = obj $(OBJDIR):; -mkdir $(OBJDIR) |