# HG changeset patch # User Andrew Innes # Date 896709557 0 # Node ID 7139cd22a2f7023067269840a840ba34ed1ecfca # Parent eed3a1470e8318551990154e2b77e9a2cd2bc507 (LOCAL_FLAGS): Define HAVE_NTGUI if appropriate. diff -r eed3a1470e83 -r 7139cd22a2f7 src/makefile.nt --- a/src/makefile.nt Mon Jun 01 03:46:31 1998 +0000 +++ b/src/makefile.nt Mon Jun 01 13:59:17 1998 +0000 @@ -33,6 +33,9 @@ # 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 @@ # 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