changeset 92477:53134c2f8865

(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:22 +0000
parents 61be4b6febb2
children 0ddefa2213b2
files nt/gmake.defs
diffstat 1 files changed, 9 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/nt/gmake.defs	Tue Mar 04 17:59:02 2008 +0000
+++ b/nt/gmake.defs	Tue Mar 04 17:59:22 2008 +0000
@@ -191,15 +191,21 @@
 WINSPOOL	= -lwinspool
 OLE32		= -lole32
 
+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 \
+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 = -DUSE_CRT_DLL=1
+EMACS_EXTRA_C_FLAGS = -DUSE_CRT_DLL=1 $(FONT_CFLAGS)
 
 # see comments in allocate_heap in w32heap.c before changing any of the
 # -stack, -heap, or -image-base settings.