aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Rumney2008-03-04 18:00:52 +0000
committerJason Rumney2008-03-04 18:00:52 +0000
commit12cc4d8f4129ede99a2cb3d1bd0bef9a6333cace (patch)
tree4bebda6e465a2636f46d9cc40db4268305d99135
parent2aec15a416e8a4811c630c9189b9c0f2410097ff (diff)
downloademacs-12cc4d8f4129ede99a2cb3d1bd0bef9a6333cace.tar.gz
emacs-12cc4d8f4129ede99a2cb3d1bd0bef9a6333cace.zip
(FONT_CFLAGS): New optional compiler flag.
(EMACS_EXTRA_C_FLAGS): Include it.
-rw-r--r--nt/ChangeLog8
-rw-r--r--nt/gmake.defs12
-rw-r--r--nt/nmake.defs13
3 files changed, 27 insertions, 6 deletions
diff --git a/nt/ChangeLog b/nt/ChangeLog
index a3d5a951318..fd5a489d679 100644
--- a/nt/ChangeLog
+++ b/nt/ChangeLog
@@ -1,3 +1,11 @@
12008-03-04 Jason Rumney <jasonr@gnu.org>
2
3 * gmake.defs, nmake.defs (FONT_CFLAGS): New optional compiler flag.
4 (EMACS_EXTRA_C_FLAGS): Include it.
5 * configure.bat (usefontbackend): Default to Y.
6 (--enable-font-backend): Replace with --disable-font-backend.
7 (:withfont): Replace with :withoutfont.
8
12008-03-03 Kentaro Ohkouchi <nanasess@fsm.ne.jp> 92008-03-03 Kentaro Ohkouchi <nanasess@fsm.ne.jp>
2 10
3 * icons/emacs.ico: Full alpha for 32x32 full color. 11 * icons/emacs.ico: Full alpha for 32x32 full color.
diff --git a/nt/gmake.defs b/nt/gmake.defs
index 6bc5e247886..f6c0cb14493 100644
--- a/nt/gmake.defs
+++ b/nt/gmake.defs
@@ -191,15 +191,21 @@ WINMM = -lwinmm
191WINSPOOL = -lwinspool 191WINSPOOL = -lwinspool
192OLE32 = -lole32 192OLE32 = -lole32
193 193
194ifdef USE_FONTBACKEND
195FONT_CFLAGS = -DUSE_FONT_BACKEND=1
196else
197FONT_CFLAGS =
198endif
199
194ifdef NOOPT 200ifdef NOOPT
195DEBUG_CFLAGS = -DEMACSDEBUG 201DEBUG_CFLAGS = -DEMACSDEBUG
196else 202else
197DEBUG_CFLAGS = 203DEBUG_CFLAGS =
198endif 204endif
199CFLAGS = -I. -DWIN32_LEAN_AND_MEAN -D_WIN32_WINNT=0x0400 $(ARCH_CFLAGS) -D$(ARCH) \ 205CFLAGS = -I. -DWIN32_LEAN_AND_MEAN -D_WIN32_WINNT=0x0400 \
200 -D_CRTAPI1=_cdecl \ 206 $(ARCH_CFLAGS) -D$(ARCH) -D_CRTAPI1=_cdecl \
201 $(DEBUG_CFLAGS) $(USER_CFLAGS) $(LOCAL_FLAGS) 207 $(DEBUG_CFLAGS) $(USER_CFLAGS) $(LOCAL_FLAGS)
202EMACS_EXTRA_C_FLAGS = -DUSE_CRT_DLL=1 208EMACS_EXTRA_C_FLAGS = -DUSE_CRT_DLL=1 $(FONT_CFLAGS)
203 209
204# see comments in allocate_heap in w32heap.c before changing any of the 210# see comments in allocate_heap in w32heap.c before changing any of the
205# -stack, -heap, or -image-base settings. 211# -stack, -heap, or -image-base settings.
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
128WINSPOOL = winspool.lib 128WINSPOOL = winspool.lib
129OLE32 = ole32.lib 129OLE32 = ole32.lib
130 130
131!ifdef USE_FONTBACKEND
132FONT_CFLAGS = -DUSE_FONT_BACKEND=1
133!else
134FONT_CFLAGS =
135!endif
136
131!ifdef NOOPT 137!ifdef NOOPT
132DEBUG_CFLAGS = -DEMACSDEBUG 138DEBUG_CFLAGS = -DEMACSDEBUG
133!else 139!else
134DEBUG_CFLAGS = 140DEBUG_CFLAGS =
135!endif 141!endif
136CFLAGS = -I. -DWIN32_LEAN_AND_MEAN -D_WIN32_WINNT=0x0400 $(ARCH_CFLAGS) -D$(ARCH) \ 142CFLAGS = -I. -DWIN32_LEAN_AND_MEAN -D_WIN32_WINNT=0x0400 \
137 -D_CRTAPI1=_cdecl $(DEBUG_CFLAGS) $(USER_CFLAGS) $(LOCAL_FLAGS) 143 $(ARCH_CFLAGS) -D$(ARCH) -D_CRTAPI1=_cdecl \
138EMACS_EXTRA_C_FLAGS = 144 $(DEBUG_CFLAGS) $(USER_CFLAGS) $(LOCAL_FLAGS)
145EMACS_EXTRA_C_FLAGS = $(FONT_CFLAGS)
139 146
140SYS_LDFLAGS = -nologo -release -incremental:no -version:3.10 -swaprun:cd -swaprun:net setargv.obj 147SYS_LDFLAGS = -nologo -release -incremental:no -version:3.10 -swaprun:cd -swaprun:net setargv.obj
141 148