summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrew Innes <andrewi@gnu.org>1998-06-01 13:59:17 +0000
committerAndrew Innes <andrewi@gnu.org>1998-06-01 13:59:17 +0000
commitafe2278a89958e9ab73c5372e603369ab23d0010 (patch)
tree593092e832aed9f87386906da4362520da5f5ebc /src
parent92712d24101c525933415c11ff1ca37e5d0c9122 (diff)
downloademacs-afe2278a89958e9ab73c5372e603369ab23d0010.tar.gz
(LOCAL_FLAGS): Define HAVE_NTGUI if appropriate.
Diffstat (limited to 'src')
-rw-r--r--src/makefile.nt5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/makefile.nt b/src/makefile.nt
index 7ecb6474f77..dcd528e9a9e 100644
--- a/src/makefile.nt
+++ b/src/makefile.nt
@@ -33,6 +33,9 @@ SUBSYSTEM=console
# the emacs source tree.
#
LOCAL_FLAGS = -Demacs=1 -DWINDOWSNT -DDOS_NT -DHAVE_CONFIG_H -I..\nt\inc
+!ifdef NTGUI
+LOCAL_FLAGS = $(LOCAL_FLAGS) -DHAVE_NTGUI=1
+!endif
EMACS = $(BLD)\emacs.exe
TEMACS = $(BLD)\temacs.exe
@@ -55,7 +58,7 @@ TLASTLIB = $(BLD)\lastfile.lib
# see comments in allocate_heap in w32heap.c before changing any of the
# -stack, -heap, or -base settings.
!if "$(BUILD_TYPE)" == "spd"
-LINK_FLAGS = $(ARCH_LDFLAGS) -stack:0x00800000 -heap:0x00100000 -base:0x01000000 -pdb:$(BLD)\temacs.pdb -machine:$(ARCH) -subsystem:$(SUBSYSTEM) -entry:_start -map:$(BLD)\temacs.map
+LINK_FLAGS = $(ARCH_LDFLAGS) -stack:0x00800000 -heap:0x00100000 -base:0x01000000 -debug:full -pdb:$(BLD)\temacs.pdb -machine:$(ARCH) -subsystem:$(SUBSYSTEM) -entry:_start -map:$(BLD)\temacs.map
!else
LINK_FLAGS = $(ARCH_LDFLAGS) -stack:0x00800000 -heap:0x00100000 -base:0x01000000 -debug:full -pdb:$(BLD)\temacs.pdb -machine:$(ARCH) -subsystem:$(SUBSYSTEM) -entry:_start -map:$(BLD)\temacs.map
!endif