comparison nt/nmake.defs @ 88155:d7ddb3e565de

sync with trunk
author Henrik Enberg <henrik.enberg@telia.com>
date Mon, 16 Jan 2006 00:03:54 +0000
parents 23a1cea22d13
children
comparison
equal deleted inserted replaced
88154:8ce476d3ba36 88155:d7ddb3e565de
1 # 1 # -*- Makefile -*- definition file for building GNU Emacs on Windows NT.
2 # Makefile definition file for building GNU Emacs on the Microsoft W32 API. 2 # Copyright (C) 2000, 2001, 2002, 2003, 2004,
3 # Copyright (c) 2000-2001 Free Software Foundation, Inc. 3 # 2005 Free Software Foundation, Inc.
4 # 4 #
5 # GNU Emacs is free software; you can redistribute it and/or modify 5 # GNU Emacs is free software; you can redistribute it and/or modify
6 # it under the terms of the GNU General Public License as published by 6 # it under the terms of the GNU General Public License as published by
7 # the Free Software Foundation; either version 2, or (at your option) 7 # the Free Software Foundation; either version 2, or (at your option)
8 # any later version. 8 # any later version.
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 # GNU General Public License for more details. 13 # GNU General Public License for more details.
14 # 14 #
15 # You should have received a copy of the GNU General Public License 15 # You should have received a copy of the GNU General Public License
16 # along with GNU Emacs; see the file COPYING. If not, write to 16 # along with GNU Emacs; see the file COPYING. If not, write to
17 # the Free Software Foundation, Inc., 59 Temple Place - Suite 330, 17 # the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
18 # Boston, MA 02111-1307, USA. 18 # Boston, MA 02110-1301, USA.
19 19
20 # Ensure 'all' is the default target 20 # Ensure 'all' is the default target
21 all: 21 all:
22 22
23 THE_SHELL = $(COMSPEC) 23 THE_SHELL = $(COMSPEC)
122 MPR = mpr.lib 122 MPR = mpr.lib
123 SHELL32 = shell32.lib 123 SHELL32 = shell32.lib
124 USER32 = user32.lib 124 USER32 = user32.lib
125 WSOCK32 = wsock32.lib 125 WSOCK32 = wsock32.lib
126 WINMM = winmm.lib 126 WINMM = winmm.lib
127 WINSPOOL = winspool.lib
127 128
128 !ifdef NOOPT 129 !ifdef NOOPT
129 DEBUG_CFLAGS = -DEMACSDEBUG 130 DEBUG_CFLAGS = -DEMACSDEBUG
130 !else 131 !else
131 DEBUG_CFLAGS = 132 DEBUG_CFLAGS =
132 !endif 133 !endif
133 CFLAGS = -I. -DWIN32_LEAN_AND_MEAN -D_WIN32_WINNT=0x0400 $(ARCH_CFLAGS) -D$(ARCH) \ 134 CFLAGS = -I. -DWIN32_LEAN_AND_MEAN -D_WIN32_WINNT=0x0400 $(ARCH_CFLAGS) -D$(ARCH) \
134 -D_CRTAPI1=_cdecl $(DEBUG_CFLAGS) $(USER_CFLAGS) $(LOCAL_FLAGS) 135 -D_CRTAPI1=_cdecl $(DEBUG_CFLAGS) $(USER_CFLAGS) $(LOCAL_FLAGS)
135 EMACS_EXTRA_C_FLAGS = 136 EMACS_EXTRA_C_FLAGS =
136 137
137 SYS_LDFLAGS = -release -incremental:no -version:3.10 -swaprun:cd -swaprun:net setargv.obj 138 SYS_LDFLAGS = -nologo -release -incremental:no -version:3.10 -swaprun:cd -swaprun:net setargv.obj
138 139
139 # see comments in allocate_heap in w32heap.c before changing any of the 140 # see comments in allocate_heap in w32heap.c before changing any of the
140 # -stack, -heap, or -base settings. 141 # -stack, -heap, or -base settings.
141 TEMACS_EXTRA_LINK = -stack:0x00800000 -heap:0x00100000 -base:0x01000000 -debug:full -debugtype:both -pdb:$(BLD)\temacs.pdb -machine:$(ARCH) $(SUBSYSTEM_CONSOLE) -entry:_start -map:$(BLD)\temacs.map $(EXTRA_LINK) 142 TEMACS_EXTRA_LINK = -stack:0x00800000 -heap:0x00100000 -base:0x01000000 -debug:full -debugtype:both -pdb:$(BLD)\temacs.pdb -machine:$(ARCH) $(SUBSYSTEM_CONSOLE) -entry:_start -map:$(BLD)\temacs.map $(EXTRA_LINK)
142 143
159 FOREACH = for %%f in ( 160 FOREACH = for %%f in (
160 FORVAR = %%f 161 FORVAR = %%f
161 FORDO = ) do 162 FORDO = ) do
162 ENDFOR = 163 ENDFOR =
163 ARGQUOTE = " 164 ARGQUOTE = "
165 # "
164 DQUOTE = \" 166 DQUOTE = \"
165 DEL = rm 167 DEL = rm
166 DEL_TREE = rm -r 168 DEL_TREE = rm -r
167 169
168 !ifdef NODEBUG 170 !ifdef NODEBUG
228 $(CC) $(CFLAGS) -Fo$(BLD)\ $< 230 $(CC) $(CFLAGS) -Fo$(BLD)\ $<
229 !ELSE 231 !ELSE
230 .c{$(BLD)}.obj:: 232 .c{$(BLD)}.obj::
231 $(CC) $(CFLAGS) -Fo$(BLD)\ $< 233 $(CC) $(CFLAGS) -Fo$(BLD)\ $<
232 !ENDIF 234 !ENDIF
235
236 # arch-tag: fefa49b0-c23c-46c7-9094-cab2a405058e