aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1995-06-15 15:28:03 +0000
committerRichard M. Stallman1995-06-15 15:28:03 +0000
commitd51bca10bd8a2a39013060457a40d09671702616 (patch)
treef54650483e2ffa4e012f4c43483079a3ff008348
parent191f57e924f650b7d98846862b0ea6f24b6d7e2f (diff)
downloademacs-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.def15
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 @@
27INSTALL_DIR = C:\emacs 27INSTALL_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
32MSVCNT11 = 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)
115BASE_LIBS = $(libc) $(baselibs) oldnames.lib
116!else
110BASE_LIBS = $(libc) $(baselibs) 117BASE_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
119INC = -I. 127INC = -I.
120CFLAGS = -nologo $(INC) $(ARCH_CFLAGS) $(LOCAL_FLAGS) -DWIN32_LEAN_AND_MEAN -D$(ARCH) 128CFLAGS_COMMON = -nologo $(INC) $(ARCH_CFLAGS) $(LOCAL_FLAGS) -DWIN32_LEAN_AND_MEAN -D$(ARCH)
129!if $(MSVCNT11)
130CFLAGS = $(CFLAGS_COMMON) -D_CRTAPI1=_cdecl
131!else
132CFLAGS = $(CFLAGS_COMMON)
133!endif
121 134
122OBJDIR = obj 135OBJDIR = obj
123$(OBJDIR):; -mkdir $(OBJDIR) 136$(OBJDIR):; -mkdir $(OBJDIR)