changeset 92476:61be4b6febb2

(FONT_CFLAGS): New optional compiler flag. (EMACS_EXTRA_C_FLAGS): Include it.
author Jason Rumney <jasonr@gnu.org>
date Tue, 04 Mar 2008 17:59:02 +0000
parents f59e2a810db3
children 53134c2f8865
files nt/nmake.defs
diffstat 1 files changed, 10 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/nt/nmake.defs	Tue Mar 04 17:58:36 2008 +0000
+++ b/nt/nmake.defs	Tue Mar 04 17:59:02 2008 +0000
@@ -128,14 +128,21 @@
 WINSPOOL	= winspool.lib
 OLE32		= ole32.lib
 
+!ifdef USE_FONTBACKEND
+FONT_CFLAGS	= -DUSE_FONT_BACKEND=1
+!else
+FONT_CFLAGS	=
+!endif
+
 !ifdef NOOPT
 DEBUG_CFLAGS	= -DEMACSDEBUG
 !else
 DEBUG_CFLAGS	=
 !endif
-CFLAGS          = -I. -DWIN32_LEAN_AND_MEAN -D_WIN32_WINNT=0x0400 $(ARCH_CFLAGS) -D$(ARCH) \
-		  -D_CRTAPI1=_cdecl $(DEBUG_CFLAGS) $(USER_CFLAGS) $(LOCAL_FLAGS)
-EMACS_EXTRA_C_FLAGS =
+CFLAGS          = -I. -DWIN32_LEAN_AND_MEAN -D_WIN32_WINNT=0x0400 \
+		  $(ARCH_CFLAGS) -D$(ARCH) -D_CRTAPI1=_cdecl \
+		  $(DEBUG_CFLAGS) $(USER_CFLAGS) $(LOCAL_FLAGS)
+EMACS_EXTRA_C_FLAGS = $(FONT_CFLAGS)
 
 SYS_LDFLAGS	= -nologo -release -incremental:no -version:3.10 -swaprun:cd -swaprun:net setargv.obj