diff options
| author | Jason Rumney | 2008-03-04 18:00:52 +0000 |
|---|---|---|
| committer | Jason Rumney | 2008-03-04 18:00:52 +0000 |
| commit | 12cc4d8f4129ede99a2cb3d1bd0bef9a6333cace (patch) | |
| tree | 4bebda6e465a2636f46d9cc40db4268305d99135 | |
| parent | 2aec15a416e8a4811c630c9189b9c0f2410097ff (diff) | |
| download | emacs-12cc4d8f4129ede99a2cb3d1bd0bef9a6333cace.tar.gz emacs-12cc4d8f4129ede99a2cb3d1bd0bef9a6333cace.zip | |
(FONT_CFLAGS): New optional compiler flag.
(EMACS_EXTRA_C_FLAGS): Include it.
| -rw-r--r-- | nt/ChangeLog | 8 | ||||
| -rw-r--r-- | nt/gmake.defs | 12 | ||||
| -rw-r--r-- | nt/nmake.defs | 13 |
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 @@ | |||
| 1 | 2008-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 | |||
| 1 | 2008-03-03 Kentaro Ohkouchi <nanasess@fsm.ne.jp> | 9 | 2008-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 | |||
| 191 | WINSPOOL = -lwinspool | 191 | WINSPOOL = -lwinspool |
| 192 | OLE32 = -lole32 | 192 | OLE32 = -lole32 |
| 193 | 193 | ||
| 194 | ifdef USE_FONTBACKEND | ||
| 195 | FONT_CFLAGS = -DUSE_FONT_BACKEND=1 | ||
| 196 | else | ||
| 197 | FONT_CFLAGS = | ||
| 198 | endif | ||
| 199 | |||
| 194 | ifdef NOOPT | 200 | ifdef NOOPT |
| 195 | DEBUG_CFLAGS = -DEMACSDEBUG | 201 | DEBUG_CFLAGS = -DEMACSDEBUG |
| 196 | else | 202 | else |
| 197 | DEBUG_CFLAGS = | 203 | DEBUG_CFLAGS = |
| 198 | endif | 204 | endif |
| 199 | CFLAGS = -I. -DWIN32_LEAN_AND_MEAN -D_WIN32_WINNT=0x0400 $(ARCH_CFLAGS) -D$(ARCH) \ | 205 | CFLAGS = -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) |
| 202 | EMACS_EXTRA_C_FLAGS = -DUSE_CRT_DLL=1 | 208 | EMACS_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 | |||
| 128 | WINSPOOL = winspool.lib | 128 | WINSPOOL = winspool.lib |
| 129 | OLE32 = ole32.lib | 129 | OLE32 = ole32.lib |
| 130 | 130 | ||
| 131 | !ifdef USE_FONTBACKEND | ||
| 132 | FONT_CFLAGS = -DUSE_FONT_BACKEND=1 | ||
| 133 | !else | ||
| 134 | FONT_CFLAGS = | ||
| 135 | !endif | ||
| 136 | |||
| 131 | !ifdef NOOPT | 137 | !ifdef NOOPT |
| 132 | DEBUG_CFLAGS = -DEMACSDEBUG | 138 | DEBUG_CFLAGS = -DEMACSDEBUG |
| 133 | !else | 139 | !else |
| 134 | DEBUG_CFLAGS = | 140 | DEBUG_CFLAGS = |
| 135 | !endif | 141 | !endif |
| 136 | CFLAGS = -I. -DWIN32_LEAN_AND_MEAN -D_WIN32_WINNT=0x0400 $(ARCH_CFLAGS) -D$(ARCH) \ | 142 | CFLAGS = -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 \ |
| 138 | EMACS_EXTRA_C_FLAGS = | 144 | $(DEBUG_CFLAGS) $(USER_CFLAGS) $(LOCAL_FLAGS) |
| 145 | EMACS_EXTRA_C_FLAGS = $(FONT_CFLAGS) | ||
| 139 | 146 | ||
| 140 | SYS_LDFLAGS = -nologo -release -incremental:no -version:3.10 -swaprun:cd -swaprun:net setargv.obj | 147 | SYS_LDFLAGS = -nologo -release -incremental:no -version:3.10 -swaprun:cd -swaprun:net setargv.obj |
| 141 | 148 | ||