comparison nt/xemacs.mak @ 298:70ad99077275 r21-0b47

Import from CVS: tag r21-0b47
author cvs
date Mon, 13 Aug 2007 10:39:40 +0200
parents 4b85ae5eabfb
children c6de09ad3017
comparison
equal deleted inserted replaced
297:deca3c1083ac 298:70ad99077275
25 # 25 #
26 26
27 XEMACS=.. 27 XEMACS=..
28 LISP=$(XEMACS)\lisp 28 LISP=$(XEMACS)\lisp
29 29
30 # 30 # Program name and version
31 # Command line options defaults 31
32 # 32 !include "..\version.sh"
33 !if !defined(PATH_PACKAGEPATH) 33
34 PATH_PACKAGEPATH="~/.xemacs"
35 !endif
36 !if !defined(HAVE_MSW)
37 HAVE_MSW=1
38 !endif
39 !if !defined(HAVE_X)
40 HAVE_X=0
41 !endif
42 !if !defined(HAVE_MULE)
43 HAVE_MULE=0
44 !endif
45 !if !defined(HAVE_XPM)
46 HAVE_XPM=0
47 !endif
48 !if !defined(HAVE_TOOLBARS)
49 HAVE_TOOLBARS=$(HAVE_XPM)
50 !endif
51 !if !defined(HAVE_DIALOGS)
52 HAVE_DIALOGS=1
53 !endif
54 !if !defined(HAVE_MSW_C_DIRED)
55 HAVE_MSW_C_DIRED=1
56 !endif
57 !if !defined(DEBUG_XEMACS)
58 DEBUG_XEMACS=1
59 !endif
60 !if !defined(USE_UNION_TYPE)
61 USE_UNION_TYPE=0
62 !endif
63 !if !defined(USE_MINIMAL_TAGBITS)
64 USE_MINIMAL_TAGBITS=0
65 !endif
66 !if !defined(USE_INDEXED_LRECORD_IMPLEMENTATION)
67 USE_INDEXED_LRECORD_IMPLEMENTATION=0
68 !endif
69 !if !defined(INFODOCK) 34 !if !defined(INFODOCK)
70 INFODOCK=0 35 INFODOCK=0
71 !endif 36 !endif
72
73 #
74 # Conf error checks
75 #
76 CONFIG_ERROR=0
77 !if $(INFODOCK) && !exist("..\..\Infodock.rules")
78 !message Cannot build InfoDock without InfoDock sources
79 CONFIG_ERROR=1
80 !endif
81 !if !$(HAVE_MSW) && !$(HAVE_X)
82 !message Please specify at least one HAVE_MSW=1 and/or HAVE_X=1
83 CONFIG_ERROR=1
84 !endif
85 !if $(HAVE_X) && !defined(X11_DIR)
86 !message Please specify root directory for your X11 installation: X11_DIR=path
87 CONFIG_ERROR=1
88 !endif
89 !if $(HAVE_X) && defined(X11_DIR) && !exist("$(X11_DIR)\LIB\X11.LIB")
90 !message Specified X11 directory does not contain "$(X11_DIR)\LIB\X11.LIB"
91 CONFIG_ERROR=1
92 !endif
93 !if $(HAVE_MSW) && $(HAVE_XPM) && !defined(XPM_DIR)
94 !message Please specify root directory for your XPM installation: XPM_DIR=path
95 CONFIG_ERROR=1
96 !endif
97 !if $(HAVE_MSW) && $(HAVE_XPM) && defined(XPM_DIR) && !exist("$(XPM_DIR)\lib\Xpm.lib")
98 !message Specified XPM directory does not contain "$(XPM_DIR)\lib\Xpm.lib"
99 CONFIG_ERROR=1
100 !endif
101 !if $(HAVE_MSW) && $(HAVE_TOOLBARS) && !$(HAVE_XPM)
102 !error Toolbars require XPM support
103 CONFIG_ERROR=1
104 !endif
105 !if $(CONFIG_ERROR)
106 !error Configuration error(s) found
107 !endif
108
109 #
110 # Handle GUNG_HO
111 #
112 !if defined(GUNG_HO)
113 USE_MINIMAL_TAGBITS=$(GUNG_HO)
114 USE_INDEXED_LRECORD_IMPLEMENTATION=$(GUNG_HO)
115 !endif
116
117 #
118 # Small configuration report
119 #
120 !if !defined(CONF_REPORT_ALREADY_PRINTED)
121 !if [set CONF_REPORT_ALREADY_PRINTED=1]
122 !endif
123 !message ------------------------------------------------
124 !if $(INFODOCK)
125 !message Building InfoDock.
126 !endif
127 !if $(HAVE_MSW)
128 !message Compiling in support for native GUI.
129 !endif
130 !if $(HAVE_X)
131 !message Compiling in support for X-Windows.
132 !endif
133 !if $(HAVE_MULE)
134 !message Compiling in MULE.
135 !endif
136 !if $(HAVE_XPM)
137 !message Compiling in support for XPM images.
138 !endif
139 !if $(HAVE_TOOLBARS)
140 !message Compiling in support for toolbars.
141 !endif
142 !if $(HAVE_DIALOGS)
143 !message Compiling in support for dialogs.
144 !endif
145 !if $(HAVE_MSW_C_DIRED)
146 # Define HAVE_MSW_C_DIRED to be non-zero if you want Xemacs to use C
147 # primitives to significantly speed up dired, at the expense of an
148 # additional ~4KB of code.
149 !message Compiling in fast dired implementation.
150 !endif
151 !if $(USE_MINIMAL_TAGBITS)
152 !message Using minimal tagbits.
153 !endif
154 !if $(USE_INDEXED_LRECORD_IMPLEMENTATION)
155 !message Using indexed lrecord implementation.
156 !endif
157 !if $(USE_UNION_TYPE)
158 !message Using union type for Lisp object storage.
159 !endif
160 !if $(DEBUG_XEMACS)
161 !message Compiling in extra debug checks. XEmacs will be slow!
162 !endif
163 !message ------------------------------------------------
164 !message
165 !endif # !defined(CONF_REPORT_ALREADY_PRINTED)
166
167 #
168 # Compiler command echo control. Define VERBOSECC=1 to get vebose compilation.
169 #
170 !if !defined(VERBOSECC)
171 VERBOSECC=0
172 !endif
173 !if $(VERBOSECC)
174 CCV=$(CC) -nologo
175 !else
176 CCV=@$(CC) -nologo
177 !endif
178
179 !if $(DEBUG_XEMACS)
180 OPT=-Od -Zi
181 !else
182 OPT=-O2 -G5 -Zi
183 !endif
184
185 WARN_CPP_FLAGS = -W3
186
187 !if $(HAVE_X)
188 X_DEFINES=-DHAVE_X_WINDOWS
189 X_INCLUDES=-I$(X11_DIR)\include
190 X_LIBS=-libpath:$(X11_DIR)\lib Xaw.lib Xmu.lib Xt.lib SM.lib ICE.lib Xext.lib X11.lib
191 !endif
192
193 !if $(HAVE_MSW)
194 MSW_DEFINES=-DHAVE_MS_WINDOWS -DHAVE_SCROLLBARS -DHAVE_MENUBARS
195 MSW_INCLUDES=
196 MSW_LIBS=
197 !if $(HAVE_MSW_C_DIRED)
198 MSW_DEFINES=$(MSW_DEFINES) -DHAVE_MSW_C_DIRED
199 MSW_C_DIRED_SRC=$(XEMACS)\src\dired-msw.c
200 MSW_C_DIRED_OBJ=$(OUTDIR)\dired-msw.obj
201 !endif
202 !if $(HAVE_XPM)
203 MSW_DEFINES=$(MSW_DEFINES) -DHAVE_XPM -DFOR_MSW
204 MSW_INCLUDES=$(MSW_INCLUDES) -I"$(XPM_DIR)" -I"$(XPM_DIR)\lib"
205 MSW_LIBS=$(MSW_LIBS) "$(XPM_DIR)\lib\Xpm.lib"
206 !endif
207 !if $(HAVE_TOOLBARS)
208 MSW_DEFINES=$(MSW_DEFINES) -DHAVE_TOOLBARS
209 MSW_TOOLBAR_SRC=$(XEMACS)\src\toolbar.c $(XEMACS)\src\toolbar-msw.c
210 MSW_TOOLBAR_OBJ=$(OUTDIR)\toolbar.obj $(OUTDIR)\toolbar-msw.obj
211 MSW_LIBS=$(MSW_LIBS) comctl32.lib
212 !endif
213 !if $(HAVE_DIALOGS)
214 MSW_DEFINES=$(MSW_DEFINES) -DHAVE_DIALOGS
215 MSW_DIALOG_SRC=$(XEMACS)\src\dialog.c $(XEMACS)\src\dialog-msw.c
216 MSW_DIALOG_OBJ=$(OUTDIR)\dialog.obj $(OUTDIR)\dialog-msw.obj
217 !endif
218 !endif
219
220 !if $(HAVE_MULE)
221 MULE_DEFINES=-DMULE
222 !endif
223
224 !if $(DEBUG_XEMACS)
225 DEBUG_DEFINES=-DDEBUG_XEMACS -D_DEBUG
226 DEBUG_FLAGS= -debugtype:both -debug:full
227 !endif
228
229 !if $(USE_MINIMAL_TAGBITS)
230 TAGBITS_DEFINES=-DUSE_MINIMAL_TAGBITS
231 !endif
232 !if $(USE_INDEXED_LRECORD_IMPLEMENTATION)
233 LRECORD_DEFINES=-DUSE_INDEXED_LRECORD_IMPLEMENTATION
234 !endif
235 !if $(USE_UNION_TYPE)
236 UNION_DEFINES=-DUSE_UNION_TYPE
237 !endif
238
239 !include "..\version.sh"
240
241 # Hard-coded paths
242
243 !if $(INFODOCK)
244 PATH_PREFIX=../..
245 !else
246 PATH_PREFIX=..
247 !endif
248
249 PATH_DEFINES=-DPATH_PREFIX=\"$(PATH_PREFIX)\"
250
251 # Program name and version
252 37
253 !if $(INFODOCK) 38 !if $(INFODOCK)
254 INFODOCK_VERSION_STRING=$(infodock_major_version).$(infodock_minor_version).$(infodock_build_version) 39 INFODOCK_VERSION_STRING=$(infodock_major_version).$(infodock_minor_version).$(infodock_build_version)
255 PROGRAM_DEFINES=-DINFODOCK \ 40 PROGRAM_DEFINES=-DINFODOCK \
256 -DPATH_VERSION=\"$(INFODOCK_VERSION_STRING)\" \ 41 -DPATH_VERSION=\"$(INFODOCK_VERSION_STRING)\" \
267 PROGRAM_DEFINES= \ 52 PROGRAM_DEFINES= \
268 -DPATH_VERSION=\"$(XEMACS_VERSION_STRING)\" \ 53 -DPATH_VERSION=\"$(XEMACS_VERSION_STRING)\" \
269 -DPATH_PROGNAME=\"xemacs\" 54 -DPATH_PROGNAME=\"xemacs\"
270 !endif 55 !endif
271 56
57 #
58 # Command line options defaults
59 #
60 !if !defined(INSTALL_DIR)
61 ! if $(INFODOCK)
62 INSTALL_DIR=c:\Program Files\Infodock\Infodock-$(INFODOCK_VERSION_STRING)
63 ! else
64 INSTALL_DIR=c:\Program Files\XEmacs\XEmacs-$(XEMACS_VERSION_STRING)
65 ! endif
66 !endif
67 !if !defined(PACKAGEPATH)
68 PATH_PACKAGEPATH="c:\\Program Files\\XEmacs\\packages"
69 !else
70 PATH_PACKAGEPATH="$(PACKAGEPATH)"
71 !endif
72 !if !defined(HAVE_MSW)
73 HAVE_MSW=1
74 !endif
75 !if !defined(HAVE_X)
76 HAVE_X=0
77 !endif
78 !if !defined(HAVE_MULE)
79 HAVE_MULE=0
80 !endif
81 !if !defined(HAVE_XPM)
82 HAVE_XPM=0
83 !endif
84 !if !defined(HAVE_TOOLBARS)
85 HAVE_TOOLBARS=$(HAVE_XPM)
86 !endif
87 !if !defined(HAVE_DIALOGS)
88 HAVE_DIALOGS=1
89 !endif
90 !if !defined(HAVE_MSW_C_DIRED)
91 HAVE_MSW_C_DIRED=1
92 !endif
93 !if !defined(HAVE_NATIVE_SOUND)
94 HAVE_NATIVE_SOUND=1
95 !endif
96 !if !defined(DEBUG_XEMACS)
97 DEBUG_XEMACS=0
98 !endif
99 !if !defined(USE_UNION_TYPE)
100 USE_UNION_TYPE=0
101 !endif
102 !if !defined(USE_MINIMAL_TAGBITS)
103 USE_MINIMAL_TAGBITS=0
104 !endif
105 !if !defined(USE_INDEXED_LRECORD_IMPLEMENTATION)
106 USE_INDEXED_LRECORD_IMPLEMENTATION=0
107 !endif
108
109 #
110 # System configuration
111 #
112 !if !defined(PROCESSOR_ARCHITECTURE) && "$(OS)" != "Windows_NT"
113 EMACS_CONFIGURATION=i386-pc-win32
114 !else if "$(PROCESSOR_ARCHITECTURE)" == "x86"
115 EMACS_CONFIGURATION=i386-pc-win32
116 !else if "$(PROCESSOR_ARCHITECTURE)" == "MIPS"
117 EMACS_CONFIGURATION=mips-pc-win32
118 !else if "$(PROCESSOR_ARCHITECTURE)" == "ALPHA"
119 EMACS_CONFIGURATION=alpha-pc-win32
120 !else if "$(PROCESSOR_ARCHITECTURE)" == "PPC"
121 EMACS_CONFIGURATION=ppc-pc-win32
122 !else
123 ! error Unknown processor architecture type $(PROCESSOR_ARCHITECTURE)
124 !endif
125
126 #
127 # Conf error checks
128 #
129 CONFIG_ERROR=0
130 !if $(INFODOCK) && !exist("..\..\Infodock.rules")
131 !message Cannot build InfoDock without InfoDock sources
132 CONFIG_ERROR=1
133 !endif
134 !if !$(HAVE_MSW) && !$(HAVE_X)
135 !message Please specify at least one HAVE_MSW=1 and/or HAVE_X=1
136 CONFIG_ERROR=1
137 !endif
138 !if $(HAVE_X) && !defined(X11_DIR)
139 !message Please specify root directory for your X11 installation: X11_DIR=path
140 CONFIG_ERROR=1
141 !endif
142 !if $(HAVE_X) && defined(X11_DIR) && !exist("$(X11_DIR)\LIB\X11.LIB")
143 !message Specified X11 directory does not contain "$(X11_DIR)\LIB\X11.LIB"
144 CONFIG_ERROR=1
145 !endif
146 !if $(HAVE_MSW) && $(HAVE_XPM) && !defined(XPM_DIR)
147 !message Please specify root directory for your XPM installation: XPM_DIR=path
148 CONFIG_ERROR=1
149 !endif
150 !if $(HAVE_MSW) && $(HAVE_XPM) && defined(XPM_DIR) && !exist("$(XPM_DIR)\lib\Xpm.lib")
151 !message Specified XPM directory does not contain "$(XPM_DIR)\lib\Xpm.lib"
152 CONFIG_ERROR=1
153 !endif
154 !if $(HAVE_MSW) && $(HAVE_TOOLBARS) && !$(HAVE_XPM)
155 !error Toolbars require XPM support
156 CONFIG_ERROR=1
157 !endif
158 !if $(CONFIG_ERROR)
159 !error Configuration error(s) found
160 !endif
161
162 #
163 # Handle GUNG_HO
164 #
165 !if defined(GUNG_HO)
166 USE_MINIMAL_TAGBITS=$(GUNG_HO)
167 USE_INDEXED_LRECORD_IMPLEMENTATION=$(GUNG_HO)
168 !endif
169
170 #
171 # Small configuration report
172 #
173 !if !defined(CONF_REPORT_ALREADY_PRINTED)
174 !if [set CONF_REPORT_ALREADY_PRINTED=1]
175 !endif
176 !message ------------------------------------------------
177 !message Configured for "$(EMACS_CONFIGURATION)".
178 !message
179 !message Installation directory is "$(INSTALL_DIR)".
180 !message Package path is $(PATH_PACKAGEPATH).
181 !message
182 !if $(INFODOCK)
183 !message Building InfoDock.
184 !endif
185 !if $(HAVE_MSW)
186 !message Compiling in support for native GUI.
187 !endif
188 !if $(HAVE_X)
189 !message Compiling in support for X-Windows.
190 !endif
191 !if $(HAVE_MULE)
192 !message Compiling in MULE.
193 !endif
194 !if $(HAVE_XPM)
195 !message Compiling in support for XPM images.
196 !endif
197 !if $(HAVE_TOOLBARS)
198 !message Compiling in support for toolbars.
199 !endif
200 !if $(HAVE_DIALOGS)
201 !message Compiling in support for dialogs.
202 !endif
203 !if $(HAVE_NATIVE_SOUND)
204 !message Compiling in support for native sounds.
205 !endif
206 !if $(HAVE_MSW_C_DIRED)
207 # Define HAVE_MSW_C_DIRED to be non-zero if you want XEmacs to use C
208 # primitives to significantly speed up dired, at the expense of an
209 # additional ~4KB of code.
210 !message Compiling in fast dired implementation.
211 !endif
212 !if $(USE_MINIMAL_TAGBITS)
213 !message Using minimal tagbits.
214 !endif
215 !if $(USE_INDEXED_LRECORD_IMPLEMENTATION)
216 !message Using indexed lrecord implementation.
217 !endif
218 !if $(USE_UNION_TYPE)
219 !message Using union type for Lisp object storage.
220 !endif
221 !if $(DEBUG_XEMACS)
222 !message Compiling in extra debug checks. XEmacs will be slow!
223 !endif
224 !message ------------------------------------------------
225 !message
226 !endif # !defined(CONF_REPORT_ALREADY_PRINTED)
227
228 #
229 # Compiler command echo control. Define VERBOSECC=1 to get vebose compilation.
230 #
231 !if !defined(VERBOSECC)
232 VERBOSECC=0
233 !endif
234 !if $(VERBOSECC)
235 CCV=$(CC) -nologo
236 !else
237 CCV=@$(CC) -nologo
238 !endif
239
240 !if $(DEBUG_XEMACS)
241 OPT=-Od -Zi
242 !else
243 OPT=-O2 -G5 -Zi
244 !endif
245
246 WARN_CPP_FLAGS = -W3
247
248 !if $(HAVE_X)
249 X_DEFINES=-DHAVE_X_WINDOWS
250 X_INCLUDES=-I$(X11_DIR)\include
251 X_LIBS=-libpath:$(X11_DIR)\lib Xaw.lib Xmu.lib Xt.lib SM.lib ICE.lib Xext.lib X11.lib
252 !endif
253
254 !if $(HAVE_MSW)
255 MSW_DEFINES=-DHAVE_MS_WINDOWS -DHAVE_SCROLLBARS -DHAVE_MENUBARS
256 MSW_INCLUDES=
257 MSW_LIBS=
258 !if $(HAVE_MSW_C_DIRED)
259 MSW_DEFINES=$(MSW_DEFINES) -DHAVE_MSW_C_DIRED
260 MSW_C_DIRED_SRC=$(XEMACS)\src\dired-msw.c
261 MSW_C_DIRED_OBJ=$(OUTDIR)\dired-msw.obj
262 !endif
263 !if $(HAVE_XPM)
264 MSW_DEFINES=$(MSW_DEFINES) -DHAVE_XPM -DFOR_MSW
265 MSW_INCLUDES=$(MSW_INCLUDES) -I"$(XPM_DIR)" -I"$(XPM_DIR)\lib"
266 MSW_LIBS=$(MSW_LIBS) "$(XPM_DIR)\lib\Xpm.lib"
267 !endif
268 !if $(HAVE_TOOLBARS)
269 MSW_DEFINES=$(MSW_DEFINES) -DHAVE_TOOLBARS
270 MSW_TOOLBAR_SRC=$(XEMACS)\src\toolbar.c $(XEMACS)\src\toolbar-msw.c
271 MSW_TOOLBAR_OBJ=$(OUTDIR)\toolbar.obj $(OUTDIR)\toolbar-msw.obj
272 MSW_LIBS=$(MSW_LIBS) comctl32.lib
273 !endif
274 !if $(HAVE_DIALOGS)
275 MSW_DEFINES=$(MSW_DEFINES) -DHAVE_DIALOGS
276 MSW_DIALOG_SRC=$(XEMACS)\src\dialog.c $(XEMACS)\src\dialog-msw.c
277 MSW_DIALOG_OBJ=$(OUTDIR)\dialog.obj $(OUTDIR)\dialog-msw.obj
278 !endif
279 !if $(HAVE_NATIVE_SOUND)
280 MSW_DEFINES=$(MSW_DEFINES) -DHAVE_NATIVE_SOUND
281 !endif
282 !endif
283
284 !if $(HAVE_MULE)
285 MULE_DEFINES=-DMULE
286 !endif
287
288 !if $(DEBUG_XEMACS)
289 DEBUG_DEFINES=-DDEBUG_XEMACS -D_DEBUG
290 DEBUG_FLAGS= -debugtype:both -debug:full
291 !endif
292
293 !if $(USE_MINIMAL_TAGBITS)
294 TAGBITS_DEFINES=-DUSE_MINIMAL_TAGBITS
295 !endif
296 !if $(USE_INDEXED_LRECORD_IMPLEMENTATION)
297 LRECORD_DEFINES=-DUSE_INDEXED_LRECORD_IMPLEMENTATION
298 !endif
299 !if $(USE_UNION_TYPE)
300 UNION_DEFINES=-DUSE_UNION_TYPE
301 !endif
302
303 # Hard-coded paths
304
305 !if $(INFODOCK)
306 PATH_PREFIX=../..
307 !else
308 PATH_PREFIX=..
309 !endif
310
311 PATH_DEFINES=-DPATH_PREFIX=\"$(PATH_PREFIX)\"
312
272 # Generic variables 313 # Generic variables
273 314
274 INCLUDES=$(X_INCLUDES) $(MSW_INCLUDES) -I$(XEMACS)\nt\inc -I$(XEMACS)\src -I$(XEMACS)\lwlib 315 INCLUDES=$(X_INCLUDES) $(MSW_INCLUDES) -I$(XEMACS)\nt\inc -I$(XEMACS)\src -I$(XEMACS)\lwlib
275 316
276 DEFINES=$(X_DEFINES) $(MSW_DEFINES) $(MULE_DEFINES) \ 317 DEFINES=$(X_DEFINES) $(MSW_DEFINES) $(MULE_DEFINES) \
330 $(LIB_SRC)/mmencode.exe \ 371 $(LIB_SRC)/mmencode.exe \
331 $(LIB_SRC)/sorted-doc.exe \ 372 $(LIB_SRC)/sorted-doc.exe \
332 $(LIB_SRC)/wakeup.exe \ 373 $(LIB_SRC)/wakeup.exe \
333 $(LIB_SRC)/etags.exe 374 $(LIB_SRC)/etags.exe
334 375
376 #------------------------------------------------------------------------------
377
378 # runemacs proglet
379
380 NT = $(XEMACS)\nt
381 RUNEMACS = $(XEMACS)\src\runemacs.exe
382
383 $(RUNEMACS): $(NT)\runemacs.c $(NT)\xemacs.res
384 $(CCV) -I. -I$(XEMACS)/src -I$(XEMACS)/nt/inc -O2 -W3 -Fe$@ $** kernel32.lib user32.lib
385
386 #------------------------------------------------------------------------------
387
335 # LASTFILE Library 388 # LASTFILE Library
336
337 #------------------------------------------------------------------------------
338 389
339 LASTFILE=$(OUTDIR)\lastfile.lib 390 LASTFILE=$(OUTDIR)\lastfile.lib
340 LASTFILE_SRC=$(XEMACS)\src 391 LASTFILE_SRC=$(XEMACS)\src
341 LASTFILE_FLAGS=$(WARN_CPP_FLAGS) $(OPT) $(INCLUDES) -Fo$@ -c 392 LASTFILE_FLAGS=$(WARN_CPP_FLAGS) $(OPT) $(INCLUDES) -Fo$@ -c
342 LASTFILE_OBJS= \ 393 LASTFILE_OBJS= \
459 $(XEMACS)\src\md5.c \ 510 $(XEMACS)\src\md5.c \
460 $(XEMACS)\src\menubar.c \ 511 $(XEMACS)\src\menubar.c \
461 $(XEMACS)\src\minibuf.c \ 512 $(XEMACS)\src\minibuf.c \
462 $(XEMACS)\src\nt.c \ 513 $(XEMACS)\src\nt.c \
463 $(XEMACS)\src\ntheap.c \ 514 $(XEMACS)\src\ntheap.c \
515 $(XEMACS)\src\ntplay.c \
464 $(XEMACS)\src\ntproc.c \ 516 $(XEMACS)\src\ntproc.c \
465 $(XEMACS)\src\objects.c \ 517 $(XEMACS)\src\objects.c \
466 $(XEMACS)\src\opaque.c \ 518 $(XEMACS)\src\opaque.c \
467 $(XEMACS)\src\print.c \ 519 $(XEMACS)\src\print.c \
468 $(XEMACS)\src\process.c \ 520 $(XEMACS)\src\process.c \
572 TEMACS_CPP_FLAGS= $(WARN_CPP_FLAGS) $(INCLUDES) $(DEFINES) $(DEBUG_DEFINES) \ 624 TEMACS_CPP_FLAGS= $(WARN_CPP_FLAGS) $(INCLUDES) $(DEFINES) $(DEBUG_DEFINES) \
573 -DEMACS_MAJOR_VERSION=$(emacs_major_version) \ 625 -DEMACS_MAJOR_VERSION=$(emacs_major_version) \
574 -DEMACS_MINOR_VERSION=$(emacs_minor_version) \ 626 -DEMACS_MINOR_VERSION=$(emacs_minor_version) \
575 $(EMACS_BETA_VERSION) \ 627 $(EMACS_BETA_VERSION) \
576 -DXEMACS_CODENAME=\"$(xemacs_codename)\" \ 628 -DXEMACS_CODENAME=\"$(xemacs_codename)\" \
629 -DEMACS_CONFIGURATION=\"$(EMACS_CONFIGURATION)\" \
577 -DPATH_PACKAGEPATH=\"$(PATH_PACKAGEPATH)\" 630 -DPATH_PACKAGEPATH=\"$(PATH_PACKAGEPATH)\"
578 631
579 TEMACS_FLAGS=-ML $(WARN_CPP_FALGS) $(OPT) -c $(TEMACS_CPP_FLAGS) 632 TEMACS_FLAGS=-ML $(WARN_CPP_FALGS) $(OPT) -c $(TEMACS_CPP_FLAGS)
580 633
581 !if $(HAVE_X) 634 !if $(HAVE_X)
699 $(OUTDIR)\marker.obj \ 752 $(OUTDIR)\marker.obj \
700 $(OUTDIR)\md5.obj \ 753 $(OUTDIR)\md5.obj \
701 $(OUTDIR)\minibuf.obj \ 754 $(OUTDIR)\minibuf.obj \
702 $(OUTDIR)\nt.obj \ 755 $(OUTDIR)\nt.obj \
703 $(OUTDIR)\ntheap.obj \ 756 $(OUTDIR)\ntheap.obj \
757 $(OUTDIR)\ntplay.obj \
704 $(OUTDIR)\ntproc.obj \ 758 $(OUTDIR)\ntproc.obj \
705 $(OUTDIR)\objects.obj \ 759 $(OUTDIR)\objects.obj \
706 $(OUTDIR)\opaque.obj \ 760 $(OUTDIR)\opaque.obj \
707 $(OUTDIR)\print.obj \ 761 $(OUTDIR)\print.obj \
708 $(OUTDIR)\process.obj \ 762 $(OUTDIR)\process.obj \
805 @if not exist $(TEMACS_DIR)\SATISFIED nmake -nologo -f xemacs.mak $@ 859 @if not exist $(TEMACS_DIR)\SATISFIED nmake -nologo -f xemacs.mak $@
806 860
807 #------------------------------------------------------------------------------ 861 #------------------------------------------------------------------------------
808 862
809 # use this rule to build the complete system 863 # use this rule to build the complete system
810 all: $(OUTDIR)\nul $(LASTFILE) $(LWLIB) $(LIB_SRC_TOOLS) \ 864 all: $(OUTDIR)\nul $(LASTFILE) $(LWLIB) $(LIB_SRC_TOOLS) $(RUNEMACS) \
811 $(TEMACS) $(TEMACS_BROWSE) update-elc $(DOC) dump-xemacs 865 $(TEMACS) $(TEMACS_BROWSE) update-elc $(DOC) dump-xemacs
812 866
813 temacs: $(TEMACS) 867 temacs: $(TEMACS)
814 868
815 # use this rule to install the system 869 # use this rule to install the system
816 install: 870 install: all "$(INSTALL_DIR)\nul" "$(INSTALL_DIR)\lock\nul"
817 echo Not yet implemented. 871 @xcopy /q $(LIB_SRC)\*.exe "$(INSTALL_DIR)\$(EMACS_CONFIGURATION)\"
872 @copy $(LIB_SRC)\DOC "$(INSTALL_DIR)\$(EMACS_CONFIGURATION)\"
873 @copy $(XEMACS)\src\xemacs.exe "$(INSTALL_DIR)\$(EMACS_CONFIGURATION)\"
874 @copy $(RUNEMACS) "$(INSTALL_DIR)\$(EMACS_CONFIGURATION)\"
875 @xcopy /e /q $(XEMACS)\etc "$(INSTALL_DIR)\etc\"
876 @xcopy /e /q $(XEMACS)\info "$(INSTALL_DIR)\info\"
877 @xcopy /e /q $(XEMACS)\lisp "$(INSTALL_DIR)\lisp\"
878
879 "$(INSTALL_DIR)\nul":
880 -@mkdir "$(INSTALL_DIR)"
881
882 "$(INSTALL_DIR)\lock\nul": "$(INSTALL_DIR)\nul"
883 -@mkdir "$(INSTALL_DIR)\lock"
818 884
819 distclean: 885 distclean:
820 del *.bak 886 del *.bak
821 del *.orig 887 del *.orig
822 del *.rej 888 del *.rej