summaryrefslogtreecommitdiff
path: root/nt/nmake.defs
diff options
context:
space:
mode:
authorJason Rumney <jasonr@gnu.org>2008-03-04 18:00:52 +0000
committerJason Rumney <jasonr@gnu.org>2008-03-04 18:00:52 +0000
commit12cc4d8f4129ede99a2cb3d1bd0bef9a6333cace (patch)
tree4bebda6e465a2636f46d9cc40db4268305d99135 /nt/nmake.defs
parent2aec15a416e8a4811c630c9189b9c0f2410097ff (diff)
downloademacs-12cc4d8f4129ede99a2cb3d1bd0bef9a6333cace.tar.gz
(FONT_CFLAGS): New optional compiler flag.
(EMACS_EXTRA_C_FLAGS): Include it.
Diffstat (limited to 'nt/nmake.defs')
-rw-r--r--nt/nmake.defs13
1 files changed, 10 insertions, 3 deletions
diff --git a/nt/nmake.defs b/nt/nmake.defs
index 503d8ec140f..8c8602de58b 100644
--- a/nt/nmake.defs
+++ b/nt/nmake.defs
@@ -128,14 +128,21 @@ WINMM = winmm.lib
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