428
|
1 # Makefile for Microsoft NMAKE
|
|
2 # Copyright (C) 1995 Board of Trustees, University of Illinois.
|
442
|
3 # Copyright (C) 1995, 1996, 2000 Ben Wing.
|
428
|
4 # Copyright (C) 1995 Sun Microsystems, Inc.
|
|
5 # Copyright (C) 1998 Free Software Foundation, Inc.
|
|
6 #
|
|
7 # This file is part of XEmacs.
|
|
8 #
|
|
9 # XEmacs is free software; you can redistribute it and/or modify it
|
|
10 # under the terms of the GNU General Public License as published by the
|
|
11 # Free Software Foundation; either version 2, or (at your option) any
|
|
12 # later version.
|
|
13 #
|
|
14 # XEmacs is distributed in the hope that it will be useful, but WITHOUT
|
|
15 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
|
16 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
|
17 # for more details.
|
|
18 #
|
|
19 # You should have received a copy of the GNU General Public License
|
|
20 # along with XEmacs; see the file COPYING. If not, write to
|
|
21 # the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
|
22 # Boston, MA 02111-1307, USA.
|
|
23 #
|
|
24 # Synched up with: Not in FSF.
|
|
25 #
|
|
26
|
442
|
27 default: all
|
|
28
|
444
|
29 # APA: Since there seems to be no way to determine the directory where
|
|
30 # xemacs.mak is located (from within nmake) we just insist on the user
|
|
31 # to invoke nmake in the directory where xemacs.mak is.
|
|
32 !if !exist("$(MAKEDIR)\xemacs.mak")
|
|
33 !error Please run nmake from the directory of this makefile (xemacs\nt).
|
|
34 !endif
|
|
35
|
|
36 XEMACS=$(MAKEDIR)\..
|
428
|
37 LISP=$(XEMACS)\lisp
|
442
|
38 LIB_SRC=$(XEMACS)\lib-src
|
428
|
39 MODULES=$(XEMACS)\modules
|
|
40 NT=$(XEMACS)\nt
|
|
41 OUTDIR=$(NT)\obj
|
442
|
42 SRC=$(XEMACS)\src
|
|
43 LWLIB_SRCDIR=$(XEMACS)\lwlib
|
|
44 MAKEDIRSTRING=$(MAKEDIR:\=\\)
|
|
45 XEMACSDIRSTRING=$(MAKEDIRSTRING:\\nt=)
|
|
46
|
428
|
47
|
|
48 # Define a variable for the 'del' command to use
|
632
|
49 # N.B. Windows Millenium Edition's ERASE can only handle one target (file or
|
|
50 # wildcard) per invocation. Make sure each use has only one target!
|
428
|
51 DEL=-del
|
|
52
|
583
|
53 # Define a variable for 'copy' command to use
|
|
54 # Suppress confirmation for overwriting files
|
|
55 COPY=xcopy /q /y
|
|
56 COPYDIR=xcopy /q /y /e
|
|
57
|
428
|
58 # Program name and version
|
|
59
|
442
|
60 !include "$(XEMACS)\version.sh"
|
|
61
|
|
62 !include "config.inc"
|
428
|
63
|
|
64 !if !defined(INFODOCK)
|
|
65 INFODOCK=0
|
|
66 !endif
|
|
67
|
|
68 !if $(INFODOCK)
|
|
69 INFODOCK_VERSION_STRING=$(infodock_major_version).$(infodock_minor_version).$(infodock_build_version)
|
|
70 PROGRAM_DEFINES=-DINFODOCK \
|
|
71 -DPATH_VERSION=\"$(INFODOCK_VERSION_STRING)\" \
|
|
72 -DPATH_PROGNAME=\"infodock\" \
|
442
|
73 -DEMACS_PROGNAME=\"infodock\" \
|
|
74 -DEMACS_VERSION=\"$(INFODOCK_VERSION_STRING)\" \
|
428
|
75 -DINFODOCK_MAJOR_VERSION=$(infodock_major_version) \
|
|
76 -DINFODOCK_MINOR_VERSION=$(infodock_minor_version) \
|
|
77 -DINFODOCK_BUILD_VERSION=$(infodock_build_version)
|
|
78 !else
|
496
|
79 XEMACS_VERSION_STRING=$(emacs_major_version).$(emacs_minor_version)
|
|
80 !if "$(emacs_beta_version)" != ""
|
488
|
81 !if "$(emacs_is_beta)" != ""
|
496
|
82 XEMACS_VERSION_STRING=$(XEMACS_VERSION_STRING)-b$(emacs_beta_version)
|
428
|
83 !else
|
496
|
84 XEMACS_VERSION_STRING=$(XEMACS_VERSION_STRING).$(emacs_beta_version)
|
|
85 !endif
|
428
|
86 !endif
|
|
87 PROGRAM_DEFINES= \
|
|
88 -DPATH_VERSION=\"$(XEMACS_VERSION_STRING)\" \
|
442
|
89 -DPATH_PROGNAME=\"xemacs\" \
|
|
90 -DEMACS_VERSION=\"$(XEMACS_VERSION_STRING)\" \
|
|
91 -DEMACS_PROGNAME=\"xemacs\"
|
428
|
92 !endif
|
|
93
|
|
94 #
|
|
95 # Command line options defaults
|
|
96 #
|
|
97 !if !defined(INSTALL_DIR)
|
|
98 ! if $(INFODOCK)
|
|
99 INSTALL_DIR=c:\Program Files\Infodock\Infodock-$(INFODOCK_VERSION_STRING)
|
|
100 ! else
|
|
101 INSTALL_DIR=c:\Program Files\XEmacs\XEmacs-$(XEMACS_VERSION_STRING)
|
|
102 ! endif
|
|
103 !endif
|
|
104 !if !defined(HAVE_MULE)
|
|
105 HAVE_MULE=0
|
|
106 !endif
|
|
107 !if !defined(PACKAGE_PATH)
|
|
108 ! if !defined(PACKAGE_PREFIX)
|
|
109 PACKAGE_PREFIX=c:\Program Files\XEmacs
|
|
110 ! endif
|
|
111 ! if $(HAVE_MULE)
|
|
112 PACKAGE_PATH=~\.xemacs;;$(PACKAGE_PREFIX)\site-packages;$(PACKAGE_PREFIX)\mule-packages;$(PACKAGE_PREFIX)\xemacs-packages
|
|
113 ! else
|
|
114 PACKAGE_PATH=~\.xemacs;;$(PACKAGE_PREFIX)\site-packages;$(PACKAGE_PREFIX)\xemacs-packages
|
|
115 ! endif
|
|
116 !endif
|
|
117 PATH_PACKAGEPATH="$(PACKAGE_PATH:\=\\)"
|
442
|
118 !if !defined(HAVE_MS_WINDOWS)
|
|
119 HAVE_MS_WINDOWS=1
|
428
|
120 !endif
|
442
|
121 !if !defined(HAVE_X_WINDOWS)
|
|
122 HAVE_X_WINDOWS=0
|
428
|
123 !endif
|
|
124 !if !defined(HAVE_XPM)
|
|
125 HAVE_XPM=0
|
|
126 !endif
|
|
127 !if !defined(HAVE_PNG)
|
|
128 HAVE_PNG=0
|
|
129 !endif
|
632
|
130 !if !defined(HAVE_ZLIB)
|
|
131 HAVE_ZLIB=$(HAVE_PNG)
|
|
132 !endif
|
428
|
133 !if !defined(HAVE_TIFF)
|
|
134 HAVE_TIFF=0
|
|
135 !endif
|
|
136 !if !defined(HAVE_JPEG)
|
|
137 HAVE_JPEG=0
|
|
138 !endif
|
|
139 !if !defined(HAVE_XFACE)
|
|
140 HAVE_XFACE=0
|
|
141 !endif
|
|
142 !if !defined(HAVE_GIF)
|
|
143 HAVE_GIF=1
|
|
144 !endif
|
488
|
145 !if !defined(HAVE_GTK)
|
|
146 HAVE_GTK=0
|
|
147 !endif
|
428
|
148 !if !defined(HAVE_TOOLBARS)
|
|
149 HAVE_TOOLBARS=$(HAVE_XPM)
|
|
150 !endif
|
|
151 !if !defined(HAVE_DIALOGS)
|
|
152 HAVE_DIALOGS=1
|
|
153 !endif
|
|
154 !if !defined(HAVE_MSW_C_DIRED)
|
|
155 HAVE_MSW_C_DIRED=1
|
|
156 !endif
|
|
157 !if !defined(HAVE_NATIVE_SOUND)
|
|
158 HAVE_NATIVE_SOUND=1
|
|
159 !endif
|
|
160 !if !defined(HAVE_WIDGETS)
|
|
161 HAVE_WIDGETS=1
|
|
162 !endif
|
|
163 !if !defined(DEBUG_XEMACS)
|
|
164 DEBUG_XEMACS=0
|
|
165 !endif
|
442
|
166 !if !defined(QUICK_BUILD)
|
|
167 QUICK_BUILD=0
|
|
168 !endif
|
428
|
169 !if !defined(USE_UNION_TYPE)
|
|
170 USE_UNION_TYPE=0
|
|
171 !endif
|
438
|
172 !if !defined(USE_MINITAR)
|
632
|
173 USE_MINITAR=$(HAVE_ZLIB)
|
438
|
174 !endif
|
428
|
175 !if !defined(USE_MINIMAL_TAGBITS)
|
|
176 USE_MINIMAL_TAGBITS=0
|
|
177 !endif
|
|
178 !if !defined(USE_INDEXED_LRECORD_IMPLEMENTATION)
|
|
179 USE_INDEXED_LRECORD_IMPLEMENTATION=0
|
|
180 !endif
|
438
|
181 !if !defined(USE_PORTABLE_DUMPER)
|
|
182 USE_PORTABLE_DUMPER=0
|
|
183 !endif
|
428
|
184 !if !defined(GUNG_HO)
|
|
185 GUNG_HO=0
|
|
186 !endif
|
|
187
|
440
|
188 # A little bit of adhockery. Default to use system malloc and
|
|
189 # DLL version of the C runtime library when using portable
|
|
190 # dumping. These are the optimal settings.
|
|
191 !if !defined(USE_SYSTEM_MALLOC)
|
|
192 USE_SYSTEM_MALLOC=$(USE_PORTABLE_DUMPER)
|
|
193 !endif
|
|
194 !if !defined(USE_CRTDLL)
|
|
195 USE_CRTDLL=$(USE_PORTABLE_DUMPER)
|
|
196 !endif
|
|
197
|
428
|
198 #
|
|
199 # System configuration
|
|
200 #
|
|
201 !if !defined(OS)
|
|
202 OS=Windows_95/98
|
|
203 EMACS_CONFIGURATION=i586-pc-win32
|
|
204 !else if "$(PROCESSOR_ARCHITECTURE)" == "x86"
|
|
205 EMACS_CONFIGURATION=i586-pc-win32
|
|
206 !else if "$(PROCESSOR_ARCHITECTURE)" == "MIPS"
|
|
207 EMACS_CONFIGURATION=mips-pc-win32
|
|
208 !else if "$(PROCESSOR_ARCHITECTURE)" == "ALPHA"
|
|
209 EMACS_CONFIGURATION=alpha-pc-win32
|
|
210 !else if "$(PROCESSOR_ARCHITECTURE)" == "PPC"
|
|
211 EMACS_CONFIGURATION=ppc-pc-win32
|
|
212 !else
|
|
213 ! error Unknown processor architecture type $(PROCESSOR_ARCHITECTURE)
|
|
214 !endif
|
|
215
|
|
216 #
|
|
217 # Conf error checks
|
|
218 #
|
|
219 CONFIG_ERROR=0
|
|
220 !if $(INFODOCK) && !exist("..\..\Infodock.rules")
|
|
221 !message Cannot build InfoDock without InfoDock sources
|
|
222 CONFIG_ERROR=1
|
|
223 !endif
|
440
|
224 !if !$(USE_PORTABLE_DUMPER) && $(USE_SYSTEM_MALLOC)
|
|
225 !message Cannot use system allocator when dumping old way, use portable dumper.
|
|
226 CONFIG_ERROR=1
|
|
227 !endif
|
|
228 !if !$(USE_PORTABLE_DUMPER) && $(USE_CRTDLL)
|
|
229 !message Cannot use C runtime DLL when dumping old way, use portable dumper.
|
|
230 CONFIG_ERROR=1
|
|
231 !endif
|
|
232 !if !$(USE_SYSTEM_MALLOC) && $(USE_CRTDLL)
|
|
233 !message GNU malloc currently cannot be used with CRT DLL.
|
|
234 !message [[[Developer note: If you want to fix it, read Q112297 first]]] ####
|
|
235 CONFIG_ERROR=1
|
|
236 !endif
|
442
|
237 !if !$(HAVE_MS_WINDOWS) && !$(HAVE_X_WINDOWS)
|
|
238 !message Please specify at least one HAVE_MS_WINDOWS=1 and/or HAVE_X_WINDOWS=1
|
428
|
239 CONFIG_ERROR=1
|
|
240 !endif
|
442
|
241 !if $(HAVE_X_WINDOWS) && !defined(X11_DIR)
|
428
|
242 !message Please specify root directory for your X11 installation: X11_DIR=path
|
|
243 CONFIG_ERROR=1
|
|
244 !endif
|
442
|
245 !if $(HAVE_X_WINDOWS) && defined(X11_DIR) && !exist("$(X11_DIR)\LIB\X11.LIB")
|
428
|
246 !message Specified X11 directory does not contain "$(X11_DIR)\LIB\X11.LIB"
|
|
247 CONFIG_ERROR=1
|
|
248 !endif
|
488
|
249 !if $(HAVE_MS_WINDOWS) && $(HAVE_GTK) && !defined(GTK_DIR)
|
|
250 !message Please specify root directory for your GTK installation: GTK_DIR=path
|
|
251 CONFIG_ERROR=1
|
|
252 !endif
|
442
|
253 !if $(HAVE_MS_WINDOWS) && $(HAVE_XPM) && !defined(XPM_DIR)
|
428
|
254 !message Please specify root directory for your XPM installation: XPM_DIR=path
|
|
255 CONFIG_ERROR=1
|
|
256 !endif
|
442
|
257 !if $(HAVE_MS_WINDOWS) && $(HAVE_XPM) && defined(XPM_DIR) && !exist("$(XPM_DIR)\lib\Xpm.lib")
|
428
|
258 !message Specified XPM directory does not contain "$(XPM_DIR)\lib\Xpm.lib"
|
|
259 CONFIG_ERROR=1
|
|
260 !endif
|
442
|
261 !if $(HAVE_MS_WINDOWS) && $(HAVE_PNG) && !defined(PNG_DIR)
|
428
|
262 !message Please specify root directory for your PNG installation: PNG_DIR=path
|
|
263 CONFIG_ERROR=1
|
|
264 !endif
|
442
|
265 !if $(HAVE_MS_WINDOWS) && $(HAVE_PNG) && defined(PNG_DIR) && !exist("$(PNG_DIR)\libpng.lib")
|
428
|
266 !message Specified PNG directory does not contain "$(PNG_DIR)\libpng.lib"
|
|
267 CONFIG_ERROR=1
|
|
268 !endif
|
442
|
269 !if $(HAVE_MS_WINDOWS) && $(HAVE_PNG) && !defined(ZLIB_DIR)
|
428
|
270 !message Please specify root directory for your ZLIB installation: ZLIB_DIR=path
|
|
271 CONFIG_ERROR=1
|
|
272 !endif
|
442
|
273 !if $(HAVE_MS_WINDOWS) && $(HAVE_PNG) && defined(ZLIB_DIR) && !exist("$(ZLIB_DIR)\zlib.lib")
|
428
|
274 !message Specified ZLIB directory does not contain "$(ZLIB_DIR)\zlib.lib"
|
|
275 CONFIG_ERROR=1
|
|
276 !endif
|
442
|
277 !if $(HAVE_MS_WINDOWS) && $(HAVE_TIFF) && !defined(TIFF_DIR)
|
428
|
278 !message Please specify root directory for your TIFF installation: TIFF_DIR=path
|
|
279 CONFIG_ERROR=1
|
|
280 !endif
|
442
|
281 !if $(HAVE_MS_WINDOWS) && $(HAVE_TIFF) && !exist("$(TIFF_DIR)\libtiff\libtiff.lib")
|
428
|
282 !message Specified TIFF directory does not contain "$(TIFF_DIR)\libtiff\libtiff.lib"
|
|
283 CONFIG_ERROR=1
|
|
284 !endif
|
442
|
285 !if $(HAVE_MS_WINDOWS) && $(HAVE_JPEG) && !defined(JPEG_DIR)
|
428
|
286 !message Please specify root directory for your JPEG installation: JPEG_DIR=path
|
|
287 CONFIG_ERROR=1
|
|
288 !endif
|
442
|
289 !if $(HAVE_MS_WINDOWS) && $(HAVE_JPEG) && !exist("$(JPEG_DIR)\libjpeg.lib")
|
428
|
290 !message Specified JPEG directory does not contain "$(JPEG_DIR)\libjpeg.lib"
|
|
291 CONFIG_ERROR=1
|
|
292 !endif
|
442
|
293 !if $(HAVE_MS_WINDOWS) && $(HAVE_XFACE) && !defined(COMPFACE_DIR)
|
428
|
294 !message Please specify root directory for your COMPFACE installation: COMPFACE_DIR=path
|
|
295 CONFIG_ERROR=1
|
|
296 !endif
|
442
|
297 !if $(HAVE_MS_WINDOWS) && $(HAVE_XFACE) && !exist("$(COMPFACE_DIR)\libcompface.lib")
|
428
|
298 !message Specified COMPFACE directory does not contain "$(COMPFACE_DIR)\libcompface.lib"
|
|
299 CONFIG_ERROR=1
|
|
300 !endif
|
442
|
301 !if $(HAVE_MS_WINDOWS) && $(HAVE_TOOLBARS) && !$(HAVE_XPM)
|
428
|
302 !message Toolbars require XPM support
|
|
303 CONFIG_ERROR=1
|
|
304 !endif
|
|
305 !if $(CONFIG_ERROR)
|
|
306 !error Configuration error(s) found
|
|
307 !endif
|
|
308
|
|
309 #
|
|
310 # Handle GUNG_HO
|
|
311 #
|
|
312 !if defined(GUNG_HO)
|
|
313 USE_MINIMAL_TAGBITS=$(GUNG_HO)
|
|
314 USE_INDEXED_LRECORD_IMPLEMENTATION=$(GUNG_HO)
|
|
315 !endif
|
|
316
|
|
317 #
|
442
|
318 # Whether to use dependency information generated by make-src-depend
|
|
319 #
|
|
320 !if !defined(DEPEND)
|
|
321 DEPEND=0
|
|
322 !endif
|
|
323 !if $(DEPEND)
|
|
324 ! if [if not exist $(OUTDIR)\nul mkdir "$(OUTDIR)"]
|
|
325 ! endif
|
|
326 # generate an nmake-readable version of depend
|
|
327 # #### here, it doesn't seem to matter if we double ^'s!
|
|
328 # results are the same with all single ^ and all double ^^!
|
|
329 # see comment below.
|
462
|
330 # #### Yuuuuuuuuuuck!!! Cygwin is too smart for its own good. If we are
|
|
331 # being run from within Cygwin, a Cygwin Perl seems to require twice as
|
|
332 # much backslash quoting. This does not happen, of course, with a non-
|
|
333 # Cygwin Perl, so in that circumstance, you'd be screwed and would have
|
|
334 # to fix this Makefile to not have a special Cygwin case.
|
|
335 ! if defined(_)
|
|
336 ! if [perl -p -e "s/^\\x23if defined(.+)/!if defined$$1/; s/^\\x23e/!e/;" \
|
|
337 -e "s/([\\s=^])([\\w\\d\\.\\-^]+\\.[ch^])/$$1$(SRC:\=\\\\)\\\\$$2/g;" \
|
587
|
338 -e "s/^(.+)\\.o:(.+)/$(OUTDIR:\=\\\\)\\\\$$1.obj:$$2 $(NT:\=\\\\)\\\\config.inc/;" \
|
462
|
339 < $(SRC)\depend > $(OUTDIR)\depend.tmp]
|
|
340 ! endif
|
|
341 ! else
|
|
342 ! if [perl -p -e "s/^\x23if defined(.+)/!if defined$$1/; s/^\x23e/!e/;" \
|
442
|
343 -e "s/([\s=^])([\w\d\.\-^]+\.[ch^])/$$1$(SRC:\=\\)\\$$2/g;" \
|
587
|
344 -e "s/^(.+)\.o:(.+)/$(OUTDIR:\=\\)\\$$1.obj:$$2 $(NT:\=\\)\\config.inc/;" \
|
442
|
345 < $(SRC)\depend > $(OUTDIR)\depend.tmp]
|
462
|
346 ! endif
|
442
|
347 ! endif
|
|
348 ! include "$(OUTDIR)\depend.tmp"
|
|
349 !else
|
|
350 ! if [echo WARNING: Compiling without dependency information.]
|
|
351 ! endif
|
|
352 !endif
|
|
353
|
|
354 #
|
428
|
355 # Compiler command echo control. Define VERBOSECC=1 to get verbose compilation.
|
|
356 #
|
|
357 !if !defined(VERBOSECC)
|
|
358 VERBOSECC=0
|
|
359 !endif
|
|
360 !if $(VERBOSECC)
|
|
361 CCV=$(CC)
|
|
362 !else
|
|
363 CCV=@$(CC)
|
|
364 !endif
|
|
365
|
|
366 !if $(DEBUG_XEMACS)
|
|
367 OPT=-Od -Zi
|
|
368 !else
|
|
369 OPT=-O2 -G5
|
|
370 !endif
|
|
371
|
440
|
372 !if $(USE_CRTDLL)
|
|
373 !if $(DEBUG_XEMACS)
|
|
374 C_LIBFLAG=-MDd
|
|
375 LIBC_LIB=msvcrtd.lib
|
|
376 !else
|
|
377 C_LIBFLAG=-MD
|
|
378 LIBC_LIB=msvcrt.lib
|
|
379 !endif
|
|
380 !else
|
|
381 C_LIBFLAG=-ML
|
|
382 LIBC_LIB=libc.lib
|
|
383 !endif
|
|
384
|
|
385 CFLAGS=-nologo -W3 $(OPT) $(C_LIBFLAG)
|
428
|
386
|
442
|
387 !if $(HAVE_X_WINDOWS)
|
428
|
388 X_DEFINES=-DHAVE_X_WINDOWS
|
|
389 X_INCLUDES=-I$(X11_DIR)\include
|
|
390 X_LIBS=-libpath:$(X11_DIR)\lib Xaw.lib Xmu.lib Xt.lib SM.lib ICE.lib Xext.lib X11.lib
|
|
391 !endif
|
|
392
|
442
|
393 !if $(HAVE_MS_WINDOWS)
|
428
|
394 MSW_DEFINES=-DHAVE_MS_WINDOWS -DHAVE_SCROLLBARS -DHAVE_MENUBARS
|
|
395 MSW_INCLUDES=
|
|
396 MSW_LIBS=
|
|
397 !if $(HAVE_MSW_C_DIRED)
|
|
398 MSW_DEFINES=$(MSW_DEFINES) -DHAVE_MSW_C_DIRED
|
442
|
399 MSW_C_DIRED_SRC=$(SRC)\dired-msw.c
|
428
|
400 MSW_C_DIRED_OBJ=$(OUTDIR)\dired-msw.obj
|
|
401 !endif
|
|
402 !if $(HAVE_XPM)
|
|
403 MSW_DEFINES=$(MSW_DEFINES) -DHAVE_XPM -DFOR_MSW
|
|
404 MSW_INCLUDES=$(MSW_INCLUDES) -I"$(XPM_DIR)" -I"$(XPM_DIR)\lib"
|
|
405 MSW_LIBS=$(MSW_LIBS) "$(XPM_DIR)\lib\Xpm.lib"
|
|
406 !endif
|
|
407 !if $(HAVE_GIF)
|
|
408 MSW_DEFINES=$(MSW_DEFINES) -DHAVE_GIF
|
442
|
409 MSW_GIF_SRC=$(SRC)\dgif_lib.c $(SRC)\gif_io.c
|
428
|
410 MSW_GIF_OBJ=$(OUTDIR)\dgif_lib.obj $(OUTDIR)\gif_io.obj
|
|
411 !endif
|
|
412 !if $(HAVE_PNG)
|
|
413 MSW_DEFINES=$(MSW_DEFINES) -DHAVE_PNG
|
|
414 MSW_INCLUDES=$(MSW_INCLUDES) -I"$(PNG_DIR)" -I"$(ZLIB_DIR)"
|
|
415 MSW_LIBS=$(MSW_LIBS) "$(PNG_DIR)\libpng.lib" "$(ZLIB_DIR)\zlib.lib"
|
|
416 !endif
|
|
417 !if $(HAVE_TIFF)
|
|
418 MSW_DEFINES=$(MSW_DEFINES) -DHAVE_TIFF
|
|
419 MSW_INCLUDES=$(MSW_INCLUDES) -I"$(TIFF_DIR)\libtiff"
|
|
420 MSW_LIBS=$(MSW_LIBS) "$(TIFF_DIR)\libtiff\libtiff.lib"
|
|
421 !endif
|
|
422 !if $(HAVE_JPEG)
|
|
423 MSW_DEFINES=$(MSW_DEFINES) -DHAVE_JPEG
|
|
424 MSW_INCLUDES=$(MSW_INCLUDES) -I"$(JPEG_DIR)"
|
|
425 MSW_LIBS=$(MSW_LIBS) "$(JPEG_DIR)\libjpeg.lib"
|
|
426 !endif
|
|
427 !if $(HAVE_XFACE)
|
|
428 MSW_DEFINES=$(MSW_DEFINES) -DHAVE_XFACE
|
|
429 MSW_INCLUDES=$(MSW_INCLUDES) -I"$(COMPFACE_DIR)"
|
|
430 MSW_LIBS=$(MSW_LIBS) "$(COMPFACE_DIR)\libcompface.lib"
|
|
431 !endif
|
|
432 !if $(HAVE_TOOLBARS)
|
|
433 MSW_DEFINES=$(MSW_DEFINES) -DHAVE_TOOLBARS
|
442
|
434 MSW_TOOLBAR_SRC=$(SRC)\toolbar.c $(SRC)\toolbar-msw.c
|
428
|
435 MSW_TOOLBAR_OBJ=$(OUTDIR)\toolbar.obj $(OUTDIR)\toolbar-msw.obj
|
|
436 !endif
|
|
437 !if $(HAVE_DIALOGS)
|
|
438 MSW_DEFINES=$(MSW_DEFINES) -DHAVE_DIALOGS
|
442
|
439 MSW_DIALOG_SRC=$(SRC)\dialog.c $(SRC)\dialog-msw.c
|
428
|
440 MSW_DIALOG_OBJ=$(OUTDIR)\dialog.obj $(OUTDIR)\dialog-msw.obj
|
|
441 !endif
|
|
442 !if $(HAVE_WIDGETS)
|
|
443 MSW_DEFINES=$(MSW_DEFINES) -DHAVE_WIDGETS
|
|
444 !endif
|
632
|
445 !if $(HAVE_TOOLBARS) || $(HAVE_WIDGETS)
|
|
446 MSW_LIBS=$(MSW_LIBS) comctl32.lib
|
|
447 !endif
|
428
|
448 !if $(HAVE_NATIVE_SOUND)
|
|
449 MSW_DEFINES=$(MSW_DEFINES) -DHAVE_NATIVE_SOUND
|
|
450 !endif
|
|
451 !endif
|
|
452
|
|
453 !if $(HAVE_MULE)
|
|
454 MULE_DEFINES=-DMULE
|
|
455 !endif
|
|
456
|
|
457 !if $(DEBUG_XEMACS)
|
|
458 DEBUG_DEFINES=-DDEBUG_XEMACS -D_DEBUG
|
|
459 DEBUG_FLAGS=-debug:full
|
|
460 !endif
|
|
461
|
442
|
462 !if $(QUICK_BUILD)
|
|
463 QUICK_DEFINES=-DQUICK_BUILD
|
|
464 !endif
|
|
465
|
428
|
466 !if $(USE_MINIMAL_TAGBITS)
|
|
467 TAGBITS_DEFINES=-DUSE_MINIMAL_TAGBITS
|
|
468 !endif
|
|
469 !if $(USE_INDEXED_LRECORD_IMPLEMENTATION)
|
|
470 LRECORD_DEFINES=-DUSE_INDEXED_LRECORD_IMPLEMENTATION
|
|
471 !endif
|
|
472 !if $(USE_UNION_TYPE)
|
440
|
473 UNION_DEFINES=-DUSE_UNION_TYPE
|
|
474 !endif
|
|
475
|
438
|
476 !if $(USE_PORTABLE_DUMPER)
|
|
477 DUMPER_DEFINES=-DPDUMP
|
|
478 !endif
|
|
479
|
440
|
480 !if $(USE_SYSTEM_MALLOC)
|
|
481 MALLOC_DEFINES=-DSYSTEM_MALLOC
|
|
482 !else
|
|
483 MALLOC_DEFINES=-DGNU_MALLOC
|
428
|
484 !endif
|
|
485
|
|
486 # Hard-coded paths
|
|
487
|
|
488 !if $(INFODOCK)
|
|
489 PATH_PREFIX=../..
|
|
490 !else
|
|
491 PATH_PREFIX=..
|
|
492 !endif
|
|
493
|
|
494 PATH_DEFINES=-DPATH_PREFIX=\"$(PATH_PREFIX)\"
|
|
495
|
|
496 # Generic variables
|
|
497
|
442
|
498 INCLUDES=$(X_INCLUDES) $(MSW_INCLUDES) -I$(NT)\inc -I$(SRC) -I$(LWLIB_SRCDIR)
|
428
|
499
|
|
500 DEFINES=$(X_DEFINES) $(MSW_DEFINES) $(MULE_DEFINES) \
|
440
|
501 $(TAGBITS_DEFINES) $(LRECORD_DEFINES) $(UNION_DEFINES) \
|
442
|
502 $(DUMPER_DEFINES) $(MALLOC_DEFINES) $(QUICK_DEFINES) \
|
|
503 -DWIN32_LEAN_AND_MEAN -DWIN32_NATIVE -Demacs \
|
428
|
504 -DHAVE_CONFIG_H $(PROGRAM_DEFINES) $(PATH_DEFINES)
|
|
505
|
|
506 #------------------------------------------------------------------------------
|
|
507
|
|
508 $(OUTDIR)\nul:
|
|
509 -@mkdir $(OUTDIR)
|
|
510
|
|
511 XEMACS_INCLUDES=\
|
442
|
512 $(SRC)\config.h \
|
|
513 $(SRC)\Emacs.ad.h \
|
|
514 $(SRC)\paths.h
|
428
|
515
|
632
|
516 # #### Copying is cheap, we should just force these
|
442
|
517 $(SRC)\config.h: config.h
|
583
|
518 @$(COPY) config.h $(SRC)
|
428
|
519
|
442
|
520 $(SRC)\Emacs.ad.h: Emacs.ad.h
|
583
|
521 @$(COPY) Emacs.ad.h $(SRC)
|
428
|
522
|
442
|
523 $(SRC)\paths.h: paths.h
|
583
|
524 @$(COPY) paths.h $(SRC)
|
428
|
525
|
|
526 #------------------------------------------------------------------------------
|
|
527
|
|
528 # lib-src programs
|
|
529
|
442
|
530 LIB_SRC_DEFINES = -DHAVE_CONFIG_H -DWIN32_NATIVE
|
428
|
531
|
|
532 #
|
|
533 # Creating config.values to be used by config.el
|
|
534 #
|
|
535 CONFIG_VALUES = $(LIB_SRC)\config.values
|
|
536 !if [echo Creating $(CONFIG_VALUES) && echo ;;; Do not edit this file!>$(CONFIG_VALUES)]
|
|
537 !endif
|
|
538 # MAKEDIR has to be made into a string.
|
|
539 #!if [echo blddir>>$(CONFIG_VALUES) && echo $(ESC)"$(MAKEDIR:\=\\)\\..$(ESC)">>$(CONFIG_VALUES)]
|
|
540 !if [echo blddir>>$(CONFIG_VALUES) && echo "$(MAKEDIR:\=\\)\\..">>$(CONFIG_VALUES)]
|
|
541 !endif
|
|
542 !if [echo CC>>$(CONFIG_VALUES) && echo "$(CC:\=\\)">>$(CONFIG_VALUES)]
|
|
543 !endif
|
|
544 !if [echo CFLAGS>>$(CONFIG_VALUES) && echo "$(CFLAGS:\=\\)">>$(CONFIG_VALUES)]
|
|
545 !endif
|
|
546 !if [echo CPP>>$(CONFIG_VALUES) && echo "$(CPP:\=\\)">>$(CONFIG_VALUES)]
|
|
547 !endif
|
|
548 !if [echo CPPFLAGS>>$(CONFIG_VALUES) && echo "$(CPPFLAGS:\=\\)">>$(CONFIG_VALUES)]
|
|
549 !endif
|
|
550 !if [echo LISPDIR>>$(CONFIG_VALUES) && echo "$(MAKEDIR:\=\\)\\$(LISP:\=\\)">>$(CONFIG_VALUES)]
|
|
551 !endif
|
|
552 # PATH_PACKAGEPATH is already a quoted string.
|
|
553 !if [echo PACKAGE_PATH>>$(CONFIG_VALUES) && echo $(PATH_PACKAGEPATH)>>$(CONFIG_VALUES)]
|
|
554 !endif
|
|
555
|
|
556 # Inferred rule
|
|
557 {$(LIB_SRC)}.c{$(LIB_SRC)}.exe :
|
430
|
558 cd $(LIB_SRC)
|
442
|
559 $(CCV) -I. -I$(XEMACS)/src -I$(XEMACS)/nt/inc $(LIB_SRC_DEFINES) $(CFLAGS) -Fe$@ $** -link -incremental:no setargv.obj
|
430
|
560 cd $(NT)
|
428
|
561
|
|
562 # Individual dependencies
|
|
563 ETAGS_DEPS = $(LIB_SRC)/getopt.c $(LIB_SRC)/getopt1.c $(LIB_SRC)/../src/regex.c
|
|
564 $(LIB_SRC)/etags.exe : $(LIB_SRC)/etags.c $(ETAGS_DEPS)
|
|
565 $(LIB_SRC)/movemail.exe: $(LIB_SRC)/movemail.c $(LIB_SRC)/pop.c $(ETAGS_DEPS)
|
430
|
566 cd $(LIB_SRC)
|
428
|
567 $(CCV) -I. -I$(XEMACS)/src -I$(XEMACS)/nt/inc $(LIB_SRC_DEFINES) $(CFLAGS) -Fe$@ $** wsock32.lib -link -incremental:no
|
430
|
568 cd $(NT)
|
438
|
569 $(LIB_SRC)/minitar.exe : $(NT)/minitar.mak $(NT)/minitar.c
|
|
570 nmake -nologo -f minitar.mak ZLIB="$(ZLIB_DIR)" NT="$(NT)" LIB_SRC="$(LIB_SRC)"
|
428
|
571
|
|
572 LIB_SRC_TOOLS = \
|
442
|
573 $(LIB_SRC)/etags.exe \
|
428
|
574 $(LIB_SRC)/hexl.exe \
|
442
|
575 $(LIB_SRC)/i.exe \
|
|
576 $(LIB_SRC)/make-docfile.exe \
|
428
|
577 $(LIB_SRC)/mmencode.exe \
|
442
|
578 $(LIB_SRC)/movemail.exe \
|
428
|
579 $(LIB_SRC)/sorted-doc.exe \
|
442
|
580 $(LIB_SRC)/wakeup.exe
|
438
|
581 !if $(USE_MINITAR)
|
|
582 LIB_SRC_TOOLS = \
|
|
583 $(LIB_SRC_TOOLS) \
|
|
584 $(LIB_SRC)/minitar.exe
|
|
585 !endif
|
442
|
586 !if $(USE_PORTABLE_DUMPER)
|
|
587 LIB_SRC_TOOLS = \
|
|
588 $(XEMACS_INCLUDES) \
|
|
589 $(LIB_SRC)/make-dump-id.exe \
|
|
590 $(LIB_SRC_TOOLS)
|
|
591 !endif
|
438
|
592
|
|
593 # Shorthand target
|
|
594 minitar: $(LIB_SRC)/minitar.exe
|
428
|
595
|
|
596 #------------------------------------------------------------------------------
|
|
597
|
442
|
598 # dump-id.c file that contains the dump id
|
428
|
599
|
442
|
600 $(SRC)\dump-id.c : $(LIB_SRC)/make-dump-id.exe
|
|
601 cd $(SRC)
|
|
602 $(LIB_SRC)\make-dump-id.exe
|
|
603 cd $(NT)
|
428
|
604
|
|
605 #------------------------------------------------------------------------------
|
|
606
|
|
607 # LASTFILE Library
|
|
608
|
440
|
609 !if !$(USE_SYSTEM_MALLOC) || !$(USE_PORTABLE_DUMPER)
|
|
610
|
428
|
611 LASTFILE=$(OUTDIR)\lastfile.lib
|
442
|
612 LASTFILE_SRC=$(SRC)
|
428
|
613 LASTFILE_FLAGS=$(CFLAGS) $(INCLUDES) -Fo$@ -Fd$* -c
|
|
614 LASTFILE_OBJS= \
|
|
615 $(OUTDIR)\lastfile.obj
|
|
616
|
|
617 $(LASTFILE): $(XEMACS_INCLUDES) $(LASTFILE_OBJS)
|
|
618 link.exe -lib -nologo -out:$@ $(LASTFILE_OBJS)
|
|
619
|
|
620 $(OUTDIR)\lastfile.obj: $(LASTFILE_SRC)\lastfile.c
|
587
|
621 $(CCV) $(LASTFILE_FLAGS) $(LASTFILE_SRC)\$(@B).c
|
428
|
622
|
440
|
623 !endif
|
|
624
|
428
|
625 #------------------------------------------------------------------------------
|
|
626
|
442
|
627 !if $(HAVE_X_WINDOWS)
|
428
|
628
|
|
629 # LWLIB Library
|
|
630
|
|
631 LWLIB=$(OUTDIR)\lwlib.lib
|
|
632 LWLIB_FLAGS=$(CFLAGS) $(INCLUDES) $(DEFINES) \
|
|
633 -DNEED_ATHENA -DNEED_LUCID \
|
|
634 -D_WINDOWS -DMENUBARS_LUCID -DSCROLLBARS_LUCID -DDIALOGS_ATHENA \
|
|
635 -Fo$@ -c
|
|
636 LWLIB_OBJS= \
|
|
637 $(OUTDIR)\lwlib-utils.obj \
|
|
638 $(OUTDIR)\lwlib-Xaw.obj \
|
|
639 $(OUTDIR)\lwlib-Xlw.obj \
|
|
640 $(OUTDIR)\lwlib.obj \
|
|
641 $(OUTDIR)\xlwmenu.obj \
|
|
642 $(OUTDIR)\xlwscrollbar.obj
|
|
643
|
|
644 $(LWLIB): $(LWLIB_OBJS)
|
|
645 link.exe -lib -nologo -out:$@ $(LWLIB_OBJS)
|
|
646
|
442
|
647 $(OUTDIR)\lwlib-utils.obj: $(LWLIB_SRCDIR)\lwlib-utils.c
|
587
|
648 $(CCV) $(LWLIB_FLAGS) $(LWLIB_SRCDIR)\$(@B).c
|
428
|
649
|
442
|
650 $(OUTDIR)\lwlib-Xaw.obj: $(LWLIB_SRCDIR)\lwlib-Xaw.c
|
587
|
651 $(CCV) $(LWLIB_FLAGS) $(LWLIB_SRCDIR)\$(@B).c
|
428
|
652
|
442
|
653 $(OUTDIR)\lwlib-Xlw.obj: $(LWLIB_SRCDIR)\lwlib-Xlw.c
|
587
|
654 $(CCV) $(LWLIB_FLAGS) $(LWLIB_SRCDIR)\$(@B).c
|
428
|
655
|
442
|
656 $(OUTDIR)\lwlib.obj: $(LWLIB_SRCDIR)\lwlib.c
|
587
|
657 $(CCV) $(LWLIB_FLAGS) $(LWLIB_SRCDIR)\$(@B).c
|
428
|
658
|
442
|
659 $(OUTDIR)\xlwmenu.obj: $(LWLIB_SRCDIR)\xlwmenu.c
|
587
|
660 $(CCV) $(LWLIB_FLAGS) $(LWLIB_SRCDIR)\$(@B).c
|
428
|
661
|
442
|
662 $(OUTDIR)\xlwscrollbar.obj: $(LWLIB_SRCDIR)\xlwscrollbar.c
|
587
|
663 $(CCV) $(LWLIB_FLAGS) $(LWLIB_SRCDIR)\$(@B).c
|
428
|
664
|
|
665 !endif
|
|
666 #------------------------------------------------------------------------------
|
|
667
|
|
668 DOC=$(LIB_SRC)\DOC
|
|
669 DOC_SRC1=\
|
442
|
670 $(SRC)\abbrev.c \
|
|
671 $(SRC)\alloc.c \
|
|
672 $(SRC)\blocktype.c \
|
|
673 $(SRC)\buffer.c \
|
|
674 $(SRC)\bytecode.c \
|
|
675 $(SRC)\callint.c \
|
|
676 $(SRC)\callproc.c \
|
|
677 $(SRC)\casefiddle.c \
|
|
678 $(SRC)\casetab.c \
|
|
679 $(SRC)\chartab.c \
|
|
680 $(SRC)\cmdloop.c \
|
|
681 $(SRC)\cmds.c \
|
|
682 $(SRC)\console-stream.c \
|
|
683 $(SRC)\console.c \
|
|
684 $(SRC)\data.c \
|
|
685 $(SRC)\device.c
|
428
|
686 DOC_SRC2=\
|
442
|
687 $(SRC)\dired.c \
|
|
688 $(SRC)\doc.c \
|
|
689 $(SRC)\doprnt.c \
|
|
690 $(SRC)\dragdrop.c \
|
|
691 $(SRC)\dynarr.c \
|
|
692 $(SRC)\editfns.c \
|
|
693 $(SRC)\elhash.c \
|
|
694 $(SRC)\emacs.c \
|
|
695 $(SRC)\eval.c \
|
|
696 $(SRC)\event-stream.c \
|
|
697 $(SRC)\events.c \
|
|
698 $(SRC)\extents.c \
|
|
699 $(SRC)\faces.c \
|
|
700 $(SRC)\file-coding.c \
|
|
701 $(SRC)\fileio.c \
|
|
702 $(SRC)\filemode.c \
|
|
703 $(SRC)\floatfns.c \
|
|
704 $(SRC)\fns.c
|
428
|
705 DOC_SRC3=\
|
442
|
706 $(SRC)\font-lock.c \
|
|
707 $(SRC)\frame.c \
|
|
708 $(SRC)\general.c \
|
|
709 $(SRC)\getloadavg.c \
|
|
710 $(SRC)\glyphs.c \
|
|
711 $(SRC)\glyphs-eimage.c \
|
587
|
712 $(SRC)\glyphs-shared.c \
|
442
|
713 $(SRC)\glyphs-widget.c \
|
|
714 $(SRC)\gui.c \
|
|
715 $(SRC)\gutter.c \
|
|
716 $(SRC)\hash.c \
|
|
717 $(SRC)\imgproc.c \
|
|
718 $(SRC)\indent.c \
|
|
719 $(SRC)\insdel.c \
|
|
720 $(SRC)\intl.c \
|
|
721 $(SRC)\keymap.c \
|
|
722 $(SRC)\line-number.c \
|
|
723 $(SRC)\lread.c \
|
|
724 $(SRC)\lstream.c \
|
|
725 $(SRC)\macros.c \
|
|
726 $(SRC)\marker.c
|
428
|
727 DOC_SRC4=\
|
442
|
728 $(SRC)\md5.c \
|
|
729 $(SRC)\menubar.c \
|
|
730 $(SRC)\minibuf.c \
|
|
731 $(SRC)\nt.c \
|
|
732 $(SRC)\ntplay.c \
|
|
733 $(SRC)\ntproc.c \
|
|
734 $(SRC)\objects.c \
|
|
735 $(SRC)\opaque.c \
|
|
736 $(SRC)\print.c \
|
|
737 $(SRC)\process.c \
|
|
738 $(SRC)\process-nt.c \
|
|
739 $(SRC)\profile.c \
|
|
740 $(SRC)\rangetab.c \
|
|
741 $(SRC)\realpath.c \
|
|
742 $(SRC)\redisplay-output.c \
|
|
743 $(SRC)\redisplay.c \
|
|
744 $(SRC)\regex.c \
|
|
745 $(SRC)\scrollbar.c \
|
|
746 $(SRC)\search.c \
|
|
747 $(SRC)\select.c \
|
|
748 $(SRC)\signal.c \
|
|
749 $(SRC)\sound.c
|
428
|
750 DOC_SRC5=\
|
442
|
751 $(SRC)\specifier.c \
|
|
752 $(SRC)\strftime.c \
|
|
753 $(SRC)\symbols.c \
|
|
754 $(SRC)\syntax.c \
|
|
755 $(SRC)\sysdep.c \
|
|
756 $(SRC)\termcap.c \
|
|
757 $(SRC)\tparam.c \
|
|
758 $(SRC)\undo.c \
|
|
759 $(SRC)\window.c \
|
|
760 $(SRC)\win32.c \
|
|
761 $(SRC)\widget.c
|
428
|
762
|
442
|
763 !if $(HAVE_X_WINDOWS)
|
428
|
764 DOC_SRC6=\
|
442
|
765 $(SRC)\balloon_help.c \
|
|
766 $(SRC)\console-x.c \
|
|
767 $(SRC)\device-x.c \
|
|
768 $(SRC)\dialog-x.c \
|
|
769 $(SRC)\EmacsFrame.c \
|
|
770 $(SRC)\EmacsManager.c \
|
|
771 $(SRC)\EmacsShell-sub.c\
|
|
772 $(SRC)\EmacsShell.c \
|
|
773 $(SRC)\event-Xt.c \
|
|
774 $(SRC)\frame-x.c \
|
|
775 $(SRC)\glyphs-x.c \
|
|
776 $(SRC)\gui-x.c \
|
|
777 $(SRC)\menubar.c \
|
|
778 $(SRC)\menubar-x.c \
|
|
779 $(SRC)\objects-x.c \
|
|
780 $(SRC)\redisplay-x.c \
|
|
781 $(SRC)\scrollbar-x.c \
|
|
782 $(SRC)\balloon-x.c \
|
|
783 $(SRC)\xgccache.c \
|
|
784 $(SRC)\xmu.c \
|
|
785 $(SRC)\select-x.c
|
428
|
786 !endif
|
|
787
|
442
|
788 !if $(HAVE_MS_WINDOWS)
|
428
|
789 DOC_SRC7=\
|
442
|
790 $(SRC)\console-msw.c \
|
|
791 $(SRC)\device-msw.c \
|
|
792 $(SRC)\event-msw.c \
|
|
793 $(SRC)\frame-msw.c \
|
|
794 $(SRC)\glyphs-msw.c \
|
|
795 $(SRC)\gui-msw.c \
|
|
796 $(SRC)\menubar-msw.c \
|
|
797 $(SRC)\objects-msw.c \
|
|
798 $(SRC)\redisplay-msw.c \
|
|
799 $(SRC)\scrollbar-msw.c \
|
|
800 $(SRC)\select-msw.c \
|
428
|
801 $(MSW_C_DIRED_SRC) \
|
|
802 $(MSW_TOOLBAR_SRC) \
|
|
803 $(MSW_DIALOG_SRC) \
|
|
804 $(MSW_GIF_SRC)
|
|
805 !endif
|
|
806
|
|
807 !if $(HAVE_MULE)
|
|
808 DOC_SRC8=\
|
442
|
809 $(SRC)\mule.c \
|
|
810 $(SRC)\mule-charset.c \
|
|
811 $(SRC)\mule-ccl.c
|
|
812 ! if $(HAVE_X_WINDOWS)
|
|
813 DOC_SRC8=$(DOC_SRC8) $(SRC)\input-method-xlib.c
|
428
|
814 ! endif
|
|
815 !endif
|
|
816
|
|
817 !if $(DEBUG_XEMACS)
|
|
818 DOC_SRC9=\
|
442
|
819 $(SRC)\debug.c \
|
|
820 $(SRC)\tests.c
|
440
|
821 !endif
|
|
822
|
|
823 !if !$(USE_SYSTEM_MALLOC)
|
|
824 DOC_SRC10=\
|
442
|
825 $(SRC)\free-hook.c \
|
|
826 $(SRC)\gmalloc.c \
|
|
827 $(SRC)\ntheap.c \
|
|
828 $(SRC)\vm-limit.c
|
440
|
829 !endif
|
|
830
|
|
831 !if !$(USE_PORTABLE_DUMPER)
|
|
832 DOC_SRC11=\
|
442
|
833 $(SRC)\unexnt.c
|
|
834 !else
|
|
835 DOC_SRC11=\
|
|
836 $(SRC)\dumper.c
|
428
|
837 !endif
|
|
838
|
|
839 #------------------------------------------------------------------------------
|
|
840
|
|
841 # TEMACS Executable
|
|
842
|
|
843 # This may not exist
|
|
844 !if "$(emacs_beta_version)" != ""
|
496
|
845 !if "$(emacs_is_beta)" != ""
|
428
|
846 EMACS_BETA_VERSION=-DEMACS_BETA_VERSION=$(emacs_beta_version)
|
496
|
847 !else
|
|
848 EMACS_PATCH_LEVEL=-DEMACS_PATCH_LEVEL=$(emacs_beta_version)
|
|
849 !endif
|
|
850 !endif
|
428
|
851
|
440
|
852 !if !$(USE_PORTABLE_DUMPER)
|
442
|
853 TEMACS_ENTRYPOINT=-entry:_start
|
|
854 !else
|
|
855 TEMACS_ENTRYPOINT=-entry:mainCRTStartup
|
440
|
856 !endif
|
|
857
|
442
|
858 TEMACS_DIR=$(SRC)
|
428
|
859 TEMACS=$(TEMACS_DIR)\temacs.exe
|
|
860 TEMACS_BROWSE=$(TEMACS_DIR)\temacs.bsc
|
442
|
861 TEMACS_SRC=$(SRC)
|
428
|
862 TEMACS_LIBS=$(LASTFILE) $(LWLIB) $(X_LIBS) $(MSW_LIBS) \
|
442
|
863 oldnames.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib advapi32.lib \
|
528
|
864 shell32.lib wsock32.lib netapi32.lib winmm.lib winspool.lib ole32.lib \
|
|
865 uuid.lib $(LIBC_LIB)
|
428
|
866 TEMACS_LFLAGS=-nologo $(LIBRARIES) $(DEBUG_FLAGS) -base:0x1000000\
|
442
|
867 -stack:0x800000 $(TEMACS_ENTRYPOINT) -subsystem:windows\
|
428
|
868 -pdb:$(TEMACS_DIR)\temacs.pdb -map:$(TEMACS_DIR)\temacs.map \
|
442
|
869 -heap:0x00100000 -nodefaultlib -incremental:no setargv.obj
|
440
|
870 TEMACS_CPP_FLAGS=-c \
|
428
|
871 $(CFLAGS) $(INCLUDES) $(DEFINES) $(DEBUG_DEFINES) \
|
|
872 -DEMACS_MAJOR_VERSION=$(emacs_major_version) \
|
|
873 -DEMACS_MINOR_VERSION=$(emacs_minor_version) \
|
|
874 $(EMACS_BETA_VERSION) \
|
632
|
875 $(EMACS_PATCH_LEVEL) \
|
442
|
876 -DXEMACS_CODENAME=\"$(xemacs_codename:&=and)\" \
|
428
|
877 -DEMACS_CONFIGURATION=\"$(EMACS_CONFIGURATION)\" \
|
|
878 -DPATH_PACKAGEPATH=\"$(PATH_PACKAGEPATH)\"
|
|
879
|
442
|
880 !if $(HAVE_X_WINDOWS)
|
428
|
881 TEMACS_X_OBJS=\
|
|
882 $(OUTDIR)\balloon-x.obj \
|
|
883 $(OUTDIR)\balloon_help.obj \
|
|
884 $(OUTDIR)\console-x.obj \
|
|
885 $(OUTDIR)\device-x.obj \
|
|
886 $(OUTDIR)\dialog-x.obj \
|
|
887 $(OUTDIR)\EmacsFrame.obj \
|
|
888 $(OUTDIR)\EmacsManager.obj \
|
|
889 $(OUTDIR)\EmacsShell.obj \
|
|
890 $(OUTDIR)\TopLevelEmacsShell.obj\
|
|
891 $(OUTDIR)\TransientEmacsShell.obj\
|
|
892 $(OUTDIR)\event-Xt.obj \
|
|
893 $(OUTDIR)\frame-x.obj \
|
|
894 $(OUTDIR)\glyphs-x.obj \
|
|
895 $(OUTDIR)\gui-x.obj \
|
|
896 $(OUTDIR)\menubar-x.obj \
|
|
897 $(OUTDIR)\objects-x.obj \
|
|
898 $(OUTDIR)\redisplay-x.obj \
|
|
899 $(OUTDIR)\scrollbar-x.obj \
|
|
900 $(OUTDIR)\xgccache.obj \
|
|
901 $(OUTDIR)\xmu.obj \
|
|
902 $(OUTDIR)\select-x.obj
|
|
903 !endif
|
|
904
|
442
|
905 !if $(HAVE_MS_WINDOWS)
|
428
|
906 TEMACS_MSW_OBJS=\
|
|
907 $(OUTDIR)\console-msw.obj \
|
|
908 $(OUTDIR)\device-msw.obj \
|
|
909 $(OUTDIR)\event-msw.obj \
|
|
910 $(OUTDIR)\frame-msw.obj \
|
|
911 $(OUTDIR)\glyphs-msw.obj \
|
|
912 $(OUTDIR)\gui-msw.obj \
|
|
913 $(OUTDIR)\menubar-msw.obj \
|
|
914 $(OUTDIR)\objects-msw.obj \
|
|
915 $(OUTDIR)\redisplay-msw.obj \
|
|
916 $(OUTDIR)\scrollbar-msw.obj \
|
|
917 $(OUTDIR)\select-msw.obj \
|
|
918 $(MSW_C_DIRED_OBJ) \
|
|
919 $(MSW_TOOLBAR_OBJ) \
|
|
920 $(MSW_DIALOG_OBJ) \
|
|
921 $(MSW_GIF_OBJ)
|
|
922 !endif
|
|
923
|
|
924 !if $(HAVE_MULE)
|
|
925 TEMACS_MULE_OBJS=\
|
|
926 $(OUTDIR)\mule.obj \
|
|
927 $(OUTDIR)\mule-charset.obj \
|
|
928 $(OUTDIR)\mule-ccl.obj
|
442
|
929 ! if $(HAVE_X_WINDOWS)
|
428
|
930 TEMACS_MULE_OBJS=\
|
|
931 $(TEMACS_MULE_OBJS) $(OUTDIR)\input-method-xlib.obj
|
|
932 ! endif
|
|
933 !endif
|
|
934
|
|
935 !if $(DEBUG_XEMACS)
|
|
936 TEMACS_DEBUG_OBJS=\
|
440
|
937 $(OUTDIR)\debug.obj \
|
|
938 $(OUTDIR)\tests.obj
|
|
939 !endif
|
|
940
|
|
941 !if !$(USE_SYSTEM_MALLOC)
|
|
942 TEMACS_ALLOC_OBJS=\
|
|
943 $(OUTDIR)\free-hook.obj \
|
|
944 $(OUTDIR)\gmalloc.obj \
|
|
945 $(OUTDIR)\ntheap.obj \
|
|
946 $(OUTDIR)\vm-limit.obj
|
|
947 !endif
|
|
948
|
|
949 !if !$(USE_PORTABLE_DUMPER)
|
|
950 TEMACS_DUMP_OBJS=\
|
|
951 $(OUTDIR)\unexnt.obj
|
442
|
952 !else
|
|
953 TEMACS_DUMP_OBJS=\
|
|
954 $(OUTDIR)\dumper.obj
|
428
|
955 !endif
|
|
956
|
|
957 TEMACS_OBJS= \
|
|
958 $(TEMACS_X_OBJS)\
|
|
959 $(TEMACS_MSW_OBJS)\
|
|
960 $(TEMACS_CODING_OBJS)\
|
|
961 $(TEMACS_MULE_OBJS)\
|
|
962 $(TEMACS_DEBUG_OBJS)\
|
440
|
963 $(TEMACS_ALLOC_OBJS)\
|
|
964 $(TEMACS_DUMP_OBJS)\
|
428
|
965 $(OUTDIR)\abbrev.obj \
|
|
966 $(OUTDIR)\alloc.obj \
|
|
967 $(OUTDIR)\blocktype.obj \
|
|
968 $(OUTDIR)\buffer.obj \
|
|
969 $(OUTDIR)\bytecode.obj \
|
|
970 $(OUTDIR)\callint.obj \
|
|
971 $(OUTDIR)\callproc.obj \
|
|
972 $(OUTDIR)\casefiddle.obj \
|
|
973 $(OUTDIR)\casetab.obj \
|
|
974 $(OUTDIR)\chartab.obj \
|
|
975 $(OUTDIR)\cmdloop.obj \
|
|
976 $(OUTDIR)\cmds.obj \
|
|
977 $(OUTDIR)\console-stream.obj \
|
|
978 $(OUTDIR)\console.obj \
|
|
979 $(OUTDIR)\data.obj \
|
|
980 $(OUTDIR)\device.obj \
|
|
981 $(OUTDIR)\dired.obj \
|
|
982 $(OUTDIR)\doc.obj \
|
|
983 $(OUTDIR)\doprnt.obj \
|
|
984 $(OUTDIR)\dragdrop.obj \
|
|
985 $(OUTDIR)\dynarr.obj \
|
|
986 $(OUTDIR)\editfns.obj \
|
|
987 $(OUTDIR)\elhash.obj \
|
|
988 $(OUTDIR)\emacs.obj \
|
|
989 $(OUTDIR)\eval.obj \
|
|
990 $(OUTDIR)\event-stream.obj \
|
|
991 $(OUTDIR)\events.obj \
|
|
992 $(OUTDIR)\extents.obj \
|
|
993 $(OUTDIR)\faces.obj \
|
|
994 $(OUTDIR)\file-coding.obj \
|
|
995 $(OUTDIR)\fileio.obj \
|
|
996 $(OUTDIR)\filemode.obj \
|
|
997 $(OUTDIR)\floatfns.obj \
|
|
998 $(OUTDIR)\fns.obj \
|
|
999 $(OUTDIR)\font-lock.obj \
|
|
1000 $(OUTDIR)\frame.obj \
|
|
1001 $(OUTDIR)\general.obj \
|
442
|
1002 $(OUTDIR)\getloadavg.obj \
|
428
|
1003 $(OUTDIR)\glyphs.obj \
|
|
1004 $(OUTDIR)\glyphs-eimage.obj \
|
587
|
1005 $(OUTDIR)\glyphs-shared.obj \
|
428
|
1006 $(OUTDIR)\glyphs-widget.obj \
|
|
1007 $(OUTDIR)\gui.obj \
|
|
1008 $(OUTDIR)\gutter.obj \
|
|
1009 $(OUTDIR)\hash.obj \
|
|
1010 $(OUTDIR)\indent.obj \
|
|
1011 $(OUTDIR)\imgproc.obj \
|
|
1012 $(OUTDIR)\insdel.obj \
|
|
1013 $(OUTDIR)\intl.obj \
|
|
1014 $(OUTDIR)\keymap.obj \
|
|
1015 $(OUTDIR)\line-number.obj \
|
|
1016 $(OUTDIR)\lread.obj \
|
|
1017 $(OUTDIR)\lstream.obj \
|
|
1018 $(OUTDIR)\macros.obj \
|
|
1019 $(OUTDIR)\menubar.obj \
|
|
1020 $(OUTDIR)\marker.obj \
|
|
1021 $(OUTDIR)\md5.obj \
|
|
1022 $(OUTDIR)\minibuf.obj \
|
|
1023 $(OUTDIR)\nt.obj \
|
|
1024 $(OUTDIR)\ntplay.obj \
|
|
1025 $(OUTDIR)\ntproc.obj \
|
|
1026 $(OUTDIR)\objects.obj \
|
|
1027 $(OUTDIR)\opaque.obj \
|
|
1028 $(OUTDIR)\print.obj \
|
|
1029 $(OUTDIR)\process.obj \
|
|
1030 $(OUTDIR)\process-nt.obj \
|
|
1031 $(OUTDIR)\profile.obj \
|
|
1032 $(OUTDIR)\rangetab.obj \
|
|
1033 $(OUTDIR)\realpath.obj \
|
|
1034 $(OUTDIR)\redisplay-output.obj \
|
|
1035 $(OUTDIR)\redisplay.obj \
|
|
1036 $(OUTDIR)\regex.obj \
|
|
1037 $(OUTDIR)\scrollbar.obj \
|
|
1038 $(OUTDIR)\search.obj \
|
|
1039 $(OUTDIR)\select.obj \
|
|
1040 $(OUTDIR)\signal.obj \
|
|
1041 $(OUTDIR)\sound.obj \
|
|
1042 $(OUTDIR)\specifier.obj \
|
|
1043 $(OUTDIR)\strftime.obj \
|
|
1044 $(OUTDIR)\symbols.obj \
|
|
1045 $(OUTDIR)\syntax.obj \
|
|
1046 $(OUTDIR)\sysdep.obj \
|
|
1047 $(OUTDIR)\tparam.obj \
|
|
1048 $(OUTDIR)\undo.obj \
|
|
1049 $(OUTDIR)\widget.obj \
|
|
1050 $(OUTDIR)\window.obj \
|
442
|
1051 $(OUTDIR)\win32.obj
|
428
|
1052
|
|
1053 # Rules
|
|
1054
|
|
1055 .SUFFIXES:
|
430
|
1056 .SUFFIXES: .c .obj .texi .info
|
428
|
1057
|
|
1058 # nmake rule
|
|
1059 !if $(DEBUG_XEMACS)
|
|
1060 {$(TEMACS_SRC)}.c{$(OUTDIR)}.obj:
|
|
1061 $(CCV) $(TEMACS_CPP_FLAGS) $< -Fo$@ -Fr$*.sbr -Fd$(OUTDIR)\temacs.pdb
|
|
1062 !else
|
|
1063 {$(TEMACS_SRC)}.c{$(OUTDIR)}.obj:
|
|
1064 $(CCV) $(TEMACS_CPP_FLAGS) $< -Fo$@
|
|
1065 !endif
|
|
1066
|
442
|
1067 $(OUTDIR)\emacs.obj: $(XEMACS)\version.sh
|
|
1068
|
428
|
1069 $(OUTDIR)\TopLevelEmacsShell.obj: $(TEMACS_SRC)\EmacsShell-sub.c
|
587
|
1070 $(CCV) $(TEMACS_CPP_FLAGS) -DDEFINE_TOP_LEVEL_EMACS_SHELL $(TEMACS_SRC)\$(@B).c -Fo$@
|
428
|
1071
|
|
1072 $(OUTDIR)\TransientEmacsShell.obj: $(TEMACS_SRC)\EmacsShell-sub.c
|
587
|
1073 $(CCV) $(TEMACS_CPP_FLAGS) -DDEFINE_TRANSIENT_EMACS_SHELL $(TEMACS_SRC)\$(@B).c -Fo$@
|
428
|
1074
|
|
1075 $(OUTDIR)\alloc.obj: $(TEMACS_SRC)\alloc.c
|
|
1076
|
|
1077 #$(TEMACS_SRC)\Emacs.ad.h: $(XEMACS)\etc\Emacs.ad
|
|
1078 # !"sed -f ad2c.sed < $(XEMACS)\etc\Emacs.ad > $(TEMACS_SRC)\Emacs.ad.h"
|
|
1079
|
|
1080 #$(TEMACS_SRC)\paths.h: $(TEMACS_SRC)\paths.h.in
|
|
1081 # !"cd $(TEMACS_SRC); cp paths.h.in paths.h"
|
|
1082
|
442
|
1083 $(TEMACS): $(TEMACS_INCLUDES) $(TEMACS_OBJS) $(OUTDIR)\xemacs.res
|
428
|
1084 !if $(DEBUG_XEMACS)
|
|
1085 @dir /b/s $(OUTDIR)\*.sbr > bscmake.tmp
|
|
1086 bscmake -nologo -o$(TEMACS_BROWSE) @bscmake.tmp
|
488
|
1087 $(DEL) bscmake.tmp
|
428
|
1088 !endif
|
440
|
1089 !if $(USE_PORTABLE_DUMPER)
|
442
|
1090 @if exist $(SRC)\dump-id.c del $(SRC)\dump-id.c
|
|
1091 # make a new dump id file. There is probably a better way to do this, but this works
|
|
1092 @if exist $(OUTDIR)\dump-id.obj del $(OUTDIR)\dump-id.obj
|
|
1093 nmake -nologo -f xemacs.mak OUTDIR=$(OUTDIR) $(OUTDIR)\dump-id.obj
|
428
|
1094 link.exe @<<
|
442
|
1095 $(TEMACS_LFLAGS) -out:$@ $(TEMACS_OBJS) $(TEMACS_LIBS) $(OUTDIR)\dump-id.obj
|
428
|
1096 <<
|
442
|
1097 !else
|
|
1098 link.exe @<<
|
|
1099 $(TEMACS_LFLAGS) -out:$@ $(TEMACS_OBJS) $(OUTDIR)\xemacs.res $(TEMACS_LIBS)
|
|
1100 <<
|
|
1101 !endif
|
428
|
1102
|
|
1103 $(OUTDIR)\xemacs.res: xemacs.rc
|
|
1104 rc -Fo$@ xemacs.rc
|
|
1105
|
442
|
1106
|
|
1107 PROGNAME=$(SRC)\xemacs.exe
|
|
1108 TEMACS_BATCH="$(LIB_SRC)\i" "$(TEMACS)" -batch
|
|
1109 XEMACS_BATCH="$(LIB_SRC)\i" "$(PROGNAME)" -vanilla -batch
|
|
1110
|
428
|
1111 # Section handling automated tests starts here
|
|
1112
|
|
1113 blddir=$(MAKEDIR:\=\\)\\..
|
442
|
1114 temacs_loadup=$(TEMACS_BATCH) -l $(LISP)/loadup.el
|
428
|
1115 dump_temacs = $(temacs_loadup) dump
|
|
1116 run_temacs = $(temacs_loadup) run-temacs
|
|
1117 ## We have automated tests!!
|
|
1118 testdir=../tests/automated
|
|
1119 batch_test_emacs=-batch -l $(testdir)/test-harness.el -f batch-test-emacs $(testdir)
|
|
1120
|
|
1121 # .PHONY: check check-temacs
|
|
1122
|
|
1123 check:
|
442
|
1124 cd $(SRC)
|
428
|
1125 $(PROGNAME) $(batch_test_emacs)
|
|
1126
|
|
1127 check-temacs:
|
442
|
1128 cd $(SRC)
|
428
|
1129 set EMACSBOOTSTRAPLOADPATH=$(LISP)
|
|
1130 set EMACSBOOTSTRAPMODULEPATH=$(MODULES)
|
|
1131 $(run_temacs) $(batch_test_emacs)
|
|
1132
|
|
1133 # Section handling automated tests ends here
|
|
1134
|
442
|
1135 # Section handling tags starts here
|
|
1136
|
|
1137 tagslisp=lisp
|
|
1138
|
|
1139 tags:
|
|
1140 @echo If you don't have a copy of etags around, then do 'make lib-src' first.
|
|
1141 @echo To make use of the tags file, put the following in your .emacs:
|
|
1142 @echo (setq tag-table-alist
|
|
1143 @echo '(("$(XEMACSDIRSTRING)\\" . "$(XEMACSDIRSTRING)\\")))
|
|
1144 cd $(XEMACS)
|
|
1145 $(DEL) TAGS
|
|
1146 set PATH=lib-src;%PATH%
|
|
1147 # we need to double ^, but only before backslash! Doubling it elsewhere
|
|
1148 # causes problems. I don't understand this -- CMD.EXE uses ^ as a quoting
|
|
1149 # convention of sorts, but appears to leave it alone inside of double quotes,
|
|
1150 # even before \. Could this be nmake interference?
|
|
1151 etags -a -r "/[ ]*DEF\(VAR\|INE\)_[A-Z_]+[ ]*([ ]*\"\([^^\"]+\)\"/\2/" src\*.c src\*.h lwlib\*.c lwlib\*.h lib-src\*.c lib-src\*.h
|
|
1152 etags -a -l none -r "/^(def\(var\|un\|alias\|const\|macro\|subst\|struct\|face\|group\|custom\|ine-\(function\|compiler-macro\|[a-z-]+alias\)\)[ ]+'?\([^ ]+\)/\3/" $(tagslisp)\*.el
|
|
1153
|
|
1154 # Section handling tags ends here
|
|
1155
|
428
|
1156 # Section handling info starts here
|
430
|
1157
|
|
1158 !if !defined(MAKEINFO)
|
442
|
1159 MAKEINFO=$(XEMACS_BATCH) -l texinfmt -f batch-texinfo-format
|
430
|
1160 !endif
|
428
|
1161
|
|
1162 MANDIR = $(XEMACS)\man
|
|
1163 INFODIR = $(XEMACS)\info
|
|
1164 INFO_FILES= \
|
|
1165 $(INFODIR)\cl.info \
|
|
1166 $(INFODIR)\custom.info \
|
|
1167 $(INFODIR)\emodules.info \
|
|
1168 $(INFODIR)\external-widget.info \
|
|
1169 $(INFODIR)\info.info \
|
|
1170 $(INFODIR)\standards.info \
|
|
1171 $(INFODIR)\term.info \
|
|
1172 $(INFODIR)\termcap.info \
|
|
1173 $(INFODIR)\texinfo.info \
|
|
1174 $(INFODIR)\widget.info \
|
|
1175 $(INFODIR)\xemacs-faq.info \
|
|
1176 $(INFODIR)\xemacs.info \
|
|
1177 $(INFODIR)\lispref.info \
|
|
1178 $(INFODIR)\new-users-guide.info \
|
|
1179 $(INFODIR)\internals.info
|
|
1180
|
|
1181 {$(MANDIR)}.texi{$(INFODIR)}.info:
|
430
|
1182 cd $(MANDIR)
|
428
|
1183 $(MAKEINFO) $**
|
|
1184
|
430
|
1185 XEMACS_SRCS = \
|
428
|
1186 $(MANDIR)\xemacs\abbrevs.texi \
|
|
1187 $(MANDIR)\xemacs\basic.texi \
|
|
1188 $(MANDIR)\xemacs\buffers.texi \
|
|
1189 $(MANDIR)\xemacs\building.texi \
|
|
1190 $(MANDIR)\xemacs\calendar.texi \
|
|
1191 $(MANDIR)\xemacs\cmdargs.texi \
|
|
1192 $(MANDIR)\xemacs\custom.texi \
|
|
1193 $(MANDIR)\xemacs\display.texi \
|
|
1194 $(MANDIR)\xemacs\entering.texi \
|
|
1195 $(MANDIR)\xemacs\files.texi \
|
|
1196 $(MANDIR)\xemacs\fixit.texi \
|
430
|
1197 $(MANDIR)\xemacs\frame.texi \
|
428
|
1198 $(MANDIR)\xemacs\glossary.texi \
|
|
1199 $(MANDIR)\xemacs\gnu.texi \
|
|
1200 $(MANDIR)\xemacs\help.texi \
|
|
1201 $(MANDIR)\xemacs\indent.texi \
|
|
1202 $(MANDIR)\xemacs\keystrokes.texi \
|
|
1203 $(MANDIR)\xemacs\killing.texi \
|
|
1204 $(MANDIR)\xemacs\m-x.texi \
|
|
1205 $(MANDIR)\xemacs\major.texi \
|
|
1206 $(MANDIR)\xemacs\mark.texi \
|
|
1207 $(MANDIR)\xemacs\menus.texi \
|
|
1208 $(MANDIR)\xemacs\mini.texi \
|
|
1209 $(MANDIR)\xemacs\misc.texi \
|
|
1210 $(MANDIR)\xemacs\mouse.texi \
|
430
|
1211 $(MANDIR)\xemacs\mule.texi \
|
428
|
1212 $(MANDIR)\xemacs\new.texi \
|
430
|
1213 $(MANDIR)\xemacs\packages.texi \
|
428
|
1214 $(MANDIR)\xemacs\picture.texi \
|
|
1215 $(MANDIR)\xemacs\programs.texi \
|
|
1216 $(MANDIR)\xemacs\reading.texi \
|
|
1217 $(MANDIR)\xemacs\regs.texi \
|
|
1218 $(MANDIR)\xemacs\search.texi \
|
|
1219 $(MANDIR)\xemacs\sending.texi \
|
430
|
1220 $(MANDIR)\xemacs\startup.texi \
|
428
|
1221 $(MANDIR)\xemacs\text.texi \
|
|
1222 $(MANDIR)\xemacs\trouble.texi \
|
|
1223 $(MANDIR)\xemacs\undo.texi \
|
430
|
1224 $(MANDIR)\xemacs\windows.texi \
|
|
1225 $(MANDIR)\xemacs\xemacs.texi
|
428
|
1226
|
430
|
1227 LISPREF_SRCS = \
|
428
|
1228 $(MANDIR)\lispref\abbrevs.texi \
|
|
1229 $(MANDIR)\lispref\annotations.texi \
|
|
1230 $(MANDIR)\lispref\back.texi \
|
|
1231 $(MANDIR)\lispref\backups.texi \
|
|
1232 $(MANDIR)\lispref\buffers.texi \
|
|
1233 $(MANDIR)\lispref\building.texi \
|
|
1234 $(MANDIR)\lispref\commands.texi \
|
|
1235 $(MANDIR)\lispref\compile.texi \
|
|
1236 $(MANDIR)\lispref\consoles-devices.texi \
|
|
1237 $(MANDIR)\lispref\control.texi \
|
430
|
1238 $(MANDIR)\lispref\customize.texi \
|
428
|
1239 $(MANDIR)\lispref\databases.texi \
|
|
1240 $(MANDIR)\lispref\debugging.texi \
|
|
1241 $(MANDIR)\lispref\dialog.texi \
|
|
1242 $(MANDIR)\lispref\display.texi \
|
430
|
1243 $(MANDIR)\lispref\dragndrop.texi \
|
428
|
1244 $(MANDIR)\lispref\edebug-inc.texi \
|
|
1245 $(MANDIR)\lispref\edebug.texi \
|
|
1246 $(MANDIR)\lispref\errors.texi \
|
|
1247 $(MANDIR)\lispref\eval.texi \
|
|
1248 $(MANDIR)\lispref\extents.texi \
|
|
1249 $(MANDIR)\lispref\faces.texi \
|
|
1250 $(MANDIR)\lispref\files.texi \
|
|
1251 $(MANDIR)\lispref\frames.texi \
|
|
1252 $(MANDIR)\lispref\functions.texi \
|
|
1253 $(MANDIR)\lispref\glyphs.texi \
|
|
1254 $(MANDIR)\lispref\hash-tables.texi \
|
|
1255 $(MANDIR)\lispref\help.texi \
|
|
1256 $(MANDIR)\lispref\hooks.texi \
|
430
|
1257 $(MANDIR)\lispref\index.texi \
|
428
|
1258 $(MANDIR)\lispref\internationalization.texi \
|
|
1259 $(MANDIR)\lispref\intro.texi \
|
|
1260 $(MANDIR)\lispref\keymaps.texi \
|
|
1261 $(MANDIR)\lispref\ldap.texi \
|
430
|
1262 $(MANDIR)\lispref\lispref.texi \
|
428
|
1263 $(MANDIR)\lispref\lists.texi \
|
|
1264 $(MANDIR)\lispref\loading.texi \
|
|
1265 $(MANDIR)\lispref\locals.texi \
|
|
1266 $(MANDIR)\lispref\macros.texi \
|
|
1267 $(MANDIR)\lispref\maps.texi \
|
|
1268 $(MANDIR)\lispref\markers.texi \
|
|
1269 $(MANDIR)\lispref\menus.texi \
|
|
1270 $(MANDIR)\lispref\minibuf.texi \
|
|
1271 $(MANDIR)\lispref\modes.texi \
|
|
1272 $(MANDIR)\lispref\mouse.texi \
|
|
1273 $(MANDIR)\lispref\mule.texi \
|
|
1274 $(MANDIR)\lispref\numbers.texi \
|
|
1275 $(MANDIR)\lispref\objects.texi \
|
|
1276 $(MANDIR)\lispref\os.texi \
|
|
1277 $(MANDIR)\lispref\positions.texi \
|
|
1278 $(MANDIR)\lispref\processes.texi \
|
|
1279 $(MANDIR)\lispref\range-tables.texi \
|
|
1280 $(MANDIR)\lispref\scrollbars.texi \
|
|
1281 $(MANDIR)\lispref\searching.texi \
|
|
1282 $(MANDIR)\lispref\sequences.texi \
|
|
1283 $(MANDIR)\lispref\specifiers.texi \
|
|
1284 $(MANDIR)\lispref\streams.texi \
|
|
1285 $(MANDIR)\lispref\strings.texi \
|
|
1286 $(MANDIR)\lispref\symbols.texi \
|
|
1287 $(MANDIR)\lispref\syntax.texi \
|
|
1288 $(MANDIR)\lispref\text.texi \
|
|
1289 $(MANDIR)\lispref\tips.texi \
|
|
1290 $(MANDIR)\lispref\toolbar.texi \
|
|
1291 $(MANDIR)\lispref\tooltalk.texi \
|
|
1292 $(MANDIR)\lispref\variables.texi \
|
|
1293 $(MANDIR)\lispref\windows.texi \
|
430
|
1294 $(MANDIR)\lispref\x-windows.texi
|
|
1295
|
|
1296 INTERNALS_SRCS = \
|
|
1297 $(MANDIR)\internals\internals.texi \
|
|
1298 $(MANDIR)\internals\index.texi
|
|
1299
|
|
1300 NEW_USERS_GUIDE_SRCS = \
|
|
1301 $(MANDIR)\new-users-guide\custom1.texi \
|
|
1302 $(MANDIR)\new-users-guide\custom2.texi \
|
|
1303 $(MANDIR)\new-users-guide\edit.texi \
|
|
1304 $(MANDIR)\new-users-guide\enter.texi \
|
|
1305 $(MANDIR)\new-users-guide\files.texi \
|
|
1306 $(MANDIR)\new-users-guide\help.texi \
|
|
1307 $(MANDIR)\new-users-guide\modes.texi \
|
|
1308 $(MANDIR)\new-users-guide\new-users-guide.texi \
|
|
1309 $(MANDIR)\new-users-guide\region.texi \
|
|
1310 $(MANDIR)\new-users-guide\search.texi \
|
|
1311 $(MANDIR)\new-users-guide\xmenu.texi
|
|
1312
|
|
1313 $(INFODIR)\xemacs.info: $(XEMACS_SRCS)
|
|
1314 cd $(MANDIR)\xemacs
|
|
1315 $(MAKEINFO) xemacs.texi
|
|
1316 cd ..
|
428
|
1317
|
|
1318
|
430
|
1319 $(INFODIR)\lispref.info: $(LISPREF_SRCS)
|
|
1320 cd $(MANDIR)\lispref
|
|
1321 $(MAKEINFO) lispref.texi
|
|
1322 cd ..
|
|
1323
|
|
1324 $(INFODIR)\internals.info: $(INTERNALS_SRCS)
|
|
1325 cd $(MANDIR)\internals
|
|
1326 $(MAKEINFO) internals.texi
|
|
1327 cd ..
|
|
1328
|
|
1329 $(INFODIR)\new-users-guide.info: $(NEW_USERS_GUIDE_SRCS)
|
|
1330 cd $(MANDIR)\new-users-guide
|
|
1331 $(MAKEINFO) new-users-guide.texi
|
|
1332 cd ..
|
428
|
1333
|
430
|
1334 info: makeinfo-test $(INFO_FILES)
|
428
|
1335
|
430
|
1336 makeinfo-test:
|
|
1337 @<<makeinfo_test.bat
|
|
1338 @echo off
|
|
1339 if exist "$(MAKEINFO)" goto test_done
|
442
|
1340 @$(XEMACS_BATCH) -eval "(condition-case nil (require (quote texinfo)) (t (kill-emacs 1)))"
|
430
|
1341 @if not errorlevel 1 goto suggest_makeinfo
|
442
|
1342 @echo XEmacs 'info' cannot be built!
|
|
1343 @echo Install XEmacs package 'texinfo' (see README.packages).
|
430
|
1344 :suggest_makeinfo
|
|
1345 @echo Consider specifying path to makeinfo program: MAKEINFO=path
|
442
|
1346 @echo as this will build info docs faster than XEmacs using 'texinfo'.
|
430
|
1347 @if errorlevel 1 exit 1
|
|
1348 :test_done
|
|
1349 <<NOKEEP
|
428
|
1350
|
|
1351 # Section handling info ends here
|
|
1352
|
|
1353 #------------------------------------------------------------------------------
|
|
1354
|
|
1355 # LISP bits 'n bobs
|
|
1356
|
|
1357 LOADPATH=$(LISP)
|
|
1358
|
440
|
1359 # Rebuild docfile target
|
|
1360 docfile ::
|
496
|
1361 if exist $(DOC) del $(DOC)
|
440
|
1362 docfile :: $(DOC)
|
|
1363
|
442
|
1364 $(DOC): $(LIB_SRC)\make-docfile.exe $(DOC_SRC1) $(DOC_SRC2) $(DOC_SRC3) $(DOC_SRC4) $(DOC_SRC5) $(DOC_SRC6) $(DOC_SRC7) $(DOC_SRC8) $(DOC_SRC9) $(DOC_SRC10) $(DOC_SRC11)
|
494
|
1365 if exist $(DOC) del $(DOC)
|
440
|
1366 set EMACSBOOTSTRAPLOADPATH=$(LISP);$(PACKAGE_PATH)
|
|
1367 set EMACSBOOTSTRAPMODULEPATH=$(MODULES)
|
442
|
1368 $(TEMACS_BATCH) -l $(TEMACS_DIR)\..\lisp\make-docfile.el -- -o $(DOC) -i $(XEMACS)\site-packages
|
428
|
1369 $(LIB_SRC)\make-docfile.exe -a $(DOC) -d $(TEMACS_SRC) $(DOC_SRC1)
|
|
1370 $(LIB_SRC)\make-docfile.exe -a $(DOC) -d $(TEMACS_SRC) $(DOC_SRC2)
|
|
1371 $(LIB_SRC)\make-docfile.exe -a $(DOC) -d $(TEMACS_SRC) $(DOC_SRC3)
|
|
1372 $(LIB_SRC)\make-docfile.exe -a $(DOC) -d $(TEMACS_SRC) $(DOC_SRC4)
|
|
1373 $(LIB_SRC)\make-docfile.exe -a $(DOC) -d $(TEMACS_SRC) $(DOC_SRC5)
|
|
1374 $(LIB_SRC)\make-docfile.exe -a $(DOC) -d $(TEMACS_SRC) $(DOC_SRC6)
|
|
1375 $(LIB_SRC)\make-docfile.exe -a $(DOC) -d $(TEMACS_SRC) $(DOC_SRC7)
|
|
1376 $(LIB_SRC)\make-docfile.exe -a $(DOC) -d $(TEMACS_SRC) $(DOC_SRC8)
|
|
1377 $(LIB_SRC)\make-docfile.exe -a $(DOC) -d $(TEMACS_SRC) $(DOC_SRC9)
|
440
|
1378 $(LIB_SRC)\make-docfile.exe -a $(DOC) -d $(TEMACS_SRC) $(DOC_SRC10)
|
|
1379 $(LIB_SRC)\make-docfile.exe -a $(DOC) -d $(TEMACS_SRC) $(DOC_SRC11)
|
428
|
1380
|
|
1381 update-elc:
|
|
1382 set EMACSBOOTSTRAPLOADPATH=$(LISP);$(PACKAGE_PATH)
|
|
1383 set EMACSBOOTSTRAPMODULEPATH=$(MODULES)
|
442
|
1384 $(TEMACS_BATCH) -l $(TEMACS_DIR)\..\lisp\update-elc.el
|
|
1385
|
|
1386 # This file is touched by update-elc.el when redumping is necessary.
|
|
1387 $(TEMACS_DIR)\NEEDTODUMP :
|
|
1388 @echo >$(TEMACS_DIR)\NEEDTODUMP
|
428
|
1389
|
|
1390 # This rule dumps xemacs and then possibly spawns sub-make if PURESPACE
|
|
1391 # requirements have changed.
|
442
|
1392
|
|
1393 $(PROGNAME) : $(TEMACS) $(TEMACS_DIR)\NEEDTODUMP
|
428
|
1394 @echo >$(TEMACS_DIR)\SATISFIED
|
|
1395 cd $(TEMACS_DIR)
|
|
1396 set EMACSBOOTSTRAPLOADPATH=$(LISP);$(PACKAGE_PATH)
|
440
|
1397 set EMACSBOOTSTRAPMODULEPATH=$(MODULES)
|
442
|
1398 $(TEMACS_BATCH) -l $(TEMACS_DIR)\..\lisp\loadup.el dump
|
440
|
1399 !if $(USE_PORTABLE_DUMPER)
|
442
|
1400 rc -d INCLUDE_DUMP -Fo $(OUTDIR)\xemacs.res $(NT)\xemacs.rc
|
|
1401 # Make the resource section read/write since almost all of it is the dump
|
|
1402 # data which needs to be writable. This avoids having to copy it.
|
545
|
1403 link.exe @<<
|
|
1404 $(TEMACS_LFLAGS) -section:.rsrc,rw -out:xemacs.exe $(TEMACS_OBJS) $(OUTDIR)\xemacs.res $(TEMACS_LIBS) $(OUTDIR)\dump-id.obj
|
|
1405 <<
|
488
|
1406 $(DEL) $(TEMACS_DIR)\xemacs.dmp
|
440
|
1407 !endif
|
430
|
1408 cd $(NT)
|
428
|
1409 @if not exist $(TEMACS_DIR)\SATISFIED nmake -nologo -f xemacs.mak $@
|
|
1410 #------------------------------------------------------------------------------
|
|
1411
|
|
1412 # use this rule to build the complete system
|
442
|
1413 all: installation $(OUTDIR)\nul $(LASTFILE) $(LWLIB) \
|
|
1414 $(LIB_SRC_TOOLS) $(TEMACS) update-elc $(DOC) $(PROGNAME) \
|
528
|
1415 update-elc-2 info
|
428
|
1416
|
438
|
1417 temacs: $(LASTFILE) $(TEMACS)
|
428
|
1418
|
|
1419 # use this rule to install the system
|
|
1420 install: all
|
430
|
1421 cd $(NT)
|
428
|
1422 @echo Installing in $(INSTALL_DIR) ...
|
|
1423 @echo PlaceHolder > PlaceHolder
|
583
|
1424 @$(COPY) PROBLEMS "$(INSTALL_DIR)\"
|
|
1425 @$(COPY) PlaceHolder "$(INSTALL_DIR)\lock\"
|
488
|
1426 $(DEL) "$(INSTALL_DIR)\lock\PlaceHolder"
|
583
|
1427 @$(COPY) $(LIB_SRC)\*.exe "$(INSTALL_DIR)\$(EMACS_CONFIGURATION)\"
|
|
1428 @$(COPY) $(LIB_SRC)\DOC "$(INSTALL_DIR)\$(EMACS_CONFIGURATION)"
|
|
1429 @$(COPY) $(CONFIG_VALUES) "$(INSTALL_DIR)\$(EMACS_CONFIGURATION)"
|
|
1430 @$(COPY) $(SRC)\xemacs.exe "$(INSTALL_DIR)\$(EMACS_CONFIGURATION)"
|
|
1431 @$(COPYDIR) $(XEMACS)\etc "$(INSTALL_DIR)\etc\"
|
|
1432 @$(COPYDIR) $(XEMACS)\info "$(INSTALL_DIR)\info\"
|
|
1433 @$(COPYDIR) $(XEMACS)\lisp "$(INSTALL_DIR)\lisp\"
|
428
|
1434 @echo Making skeleton package tree in $(PACKAGE_PREFIX) ...
|
583
|
1435 @$(COPY) PlaceHolder "$(PACKAGE_PREFIX)\site-packages\"
|
488
|
1436 $(DEL) "$(PACKAGE_PREFIX)\site-packages\PlaceHolder"
|
583
|
1437 @$(COPY) PlaceHolder "$(PACKAGE_PREFIX)\mule-packages\"
|
488
|
1438 $(DEL) "$(PACKAGE_PREFIX)\mule-packages\PlaceHolder"
|
583
|
1439 @$(COPY) PlaceHolder "$(PACKAGE_PREFIX)\xemacs-packages\"
|
488
|
1440 $(DEL) "$(PACKAGE_PREFIX)\xemacs-packages\PlaceHolder"
|
|
1441 $(DEL) PlaceHolder
|
428
|
1442
|
442
|
1443 mostlyclean:
|
428
|
1444 $(DEL) $(XEMACS)\Installation
|
632
|
1445 $(DEL) $(OUTDIR)\*.lib
|
|
1446 $(DEL) $(OUTDIR)\*.obj
|
|
1447 $(DEL) $(OUTDIR)\*.pdb
|
|
1448 $(DEL) $(OUTDIR)\*.res
|
|
1449 $(DEL) $(OUTDIR)\*.sbr
|
|
1450 $(DEL) $(SRC)\*.exe
|
|
1451 $(DEL) $(SRC)\*.map
|
|
1452 $(DEL) $(SRC)\*.bsc
|
|
1453 $(DEL) $(SRC)\*.pdb
|
|
1454 $(DEL) $(LIB_SRC)\*.exe
|
|
1455 $(DEL) $(LIB_SRC)\*.obj
|
|
1456 $(DEL) $(LIB_SRC)\*.pdb
|
442
|
1457 $(DEL) $(LIB_SRC)\*.res
|
|
1458
|
|
1459 clean: mostlyclean versionclean
|
|
1460 $(DEL) $(XEMACS)\TAGS
|
|
1461
|
|
1462 nicenclean: clean
|
632
|
1463 $(DEL) $(NT)\*.bak
|
|
1464 $(DEL) $(NT)\*.orig
|
|
1465 $(DEL) $(NT)\*.rej
|
|
1466 $(DEL) $(NT)\*.tmp
|
|
1467 $(DEL) $(LIB_SRC)\*.bak
|
|
1468 $(DEL) $(LIB_SRC)\*.orig
|
|
1469 $(DEL) $(LIB_SRC)\*.rej
|
442
|
1470 $(DEL) $(LIB_SRC)\*.tmp
|
632
|
1471 $(DEL) $(SRC)\*.bak
|
|
1472 $(DEL) $(SRC)\*.orig
|
|
1473 $(DEL) $(SRC)\*.rej
|
|
1474 $(DEL) $(SRC)\*.tmp
|
|
1475 $(DEL) $(LISP)\*.bak
|
|
1476 $(DEL) $(LISP)\*.orig
|
|
1477 $(DEL) $(LISP)\*.rej
|
|
1478 $(DEL) $(LISP)\*.tmp
|
442
|
1479
|
|
1480 ## This is used in making a distribution.
|
|
1481 ## Do not use it on development directories!
|
|
1482 distclean: nicenclean
|
632
|
1483 $(DEL) $(SRC)\config.h
|
|
1484 $(DEL) $(SRC)\paths.h
|
|
1485 $(DEL) $(SRC)\Emacs.ad.h
|
|
1486 $(DEL) $(CONFIG_VALUES)
|
442
|
1487 $(DEL) $(INFODIR)\*.info*
|
632
|
1488 $(DEL) $(LISP)\*.elc
|
442
|
1489
|
|
1490 realclean: distclean
|
|
1491
|
|
1492 versionclean:
|
632
|
1493 $(DEL) $(SRC)\xemacs.exe
|
|
1494 $(DEL) $(LIB_SRC)\DOC
|
442
|
1495
|
|
1496 #not sure about those wildcards. DOS wildcards are stupid compared to Unix,
|
|
1497 #and could end up deleting *everything* instead of just backup files or
|
|
1498 #whatever.
|
|
1499 #extraclean: realclean
|
|
1500 # $(DEL) *~ *.*~ #* m\*~ m\#* s\*~ s\#*
|
428
|
1501
|
|
1502 depend:
|
442
|
1503 cd $(SRC)
|
432
|
1504 perl ./make-src-depend > depend.tmp
|
|
1505 perl -MFile::Compare -e "compare('depend.tmp', 'depend') && rename('depend.tmp', 'depend') or unlink('depend.tmp')"
|
428
|
1506
|
442
|
1507 $(XEMACS)\Installation:: installation
|
440
|
1508
|
442
|
1509 installation::
|
558
|
1510 @echo OS version:>$(XEMACS)\Installation
|
|
1511 @ver >> $(XEMACS)\Installation
|
|
1512 @type >> $(XEMACS)\Installation <<
|
428
|
1513 !if defined(OS)
|
|
1514 OS: $(OS)
|
|
1515 !endif
|
|
1516
|
|
1517 XEmacs $(XEMACS_VERSION_STRING) $(xemacs_codename:"=\") configured for `$(EMACS_CONFIGURATION)'.
|
|
1518
|
|
1519 Building XEmacs in \"$(MAKEDIR:\=\\)\".
|
|
1520 !if defined(CCV)
|
|
1521 Using compiler \"$(CC) $(CFLAGS)\".
|
|
1522 !endif
|
|
1523 Installing XEmacs in \"$(INSTALL_DIR:\=\\)\".
|
|
1524 Package path is $(PATH_PACKAGEPATH:"=\").
|
|
1525 !if $(INFODOCK)
|
|
1526 Building InfoDock.
|
|
1527 !endif
|
442
|
1528 !if $(HAVE_MS_WINDOWS)
|
428
|
1529 Compiling in support for Microsoft Windows native GUI.
|
|
1530 !endif
|
442
|
1531 !if $(HAVE_X_WINDOWS)
|
428
|
1532 Compiling in support for X-Windows.
|
|
1533 !endif
|
|
1534 !if $(HAVE_MULE)
|
|
1535 Compiling in MULE.
|
|
1536 !endif
|
488
|
1537 !if $(HAVE_GTK)
|
|
1538 --------------------------------------------------------------------
|
523
|
1539 WARNING: You specified HAVE_GTK=1, but we are compiling WITHOUT GTK support.
|
|
1540 WARNING: gtk-xemacs is not currently supported on MSWindows (mingw or msvc).
|
|
1541 WARNING: Yes, we know that gtk has been ported to native MSWindows, but
|
|
1542 WARNING: XEmacs is not yet ready to use that port.
|
488
|
1543 --------------------------------------------------------------------
|
|
1544 !endif
|
428
|
1545 !if $(HAVE_XPM)
|
|
1546 Compiling in support for XPM images.
|
|
1547 !else
|
|
1548 --------------------------------------------------------------------
|
|
1549 WARNING: Compiling without XPM support.
|
|
1550 WARNING: You should strongly consider installing XPM.
|
|
1551 WARNING: Otherwise toolbars and other graphics will look suboptimal.
|
|
1552 WARNING: (a copy may be found in ftp://ftp.xemacs.org/pub/xemacs/aux)
|
|
1553 --------------------------------------------------------------------
|
|
1554 !endif
|
|
1555 !if $(HAVE_GIF)
|
|
1556 Compiling in support for GIF images.
|
|
1557 !endif
|
|
1558 !if $(HAVE_PNG)
|
|
1559 Compiling in support for PNG images.
|
|
1560 !else
|
|
1561 --------------------------------------------------------------------
|
|
1562 WARNING: Compiling without PNG image support.
|
|
1563 WARNING: You should strongly consider installing the PNG libraries.
|
|
1564 WARNING: Otherwise certain images and glyphs may not display.
|
|
1565 WARNING: (a copy may be found in ftp://ftp.xemacs.org/pub/xemacs/aux
|
|
1566 --------------------------------------------------------------------
|
|
1567 !endif
|
|
1568 !if $(HAVE_TIFF)
|
|
1569 Compiling in support for TIFF images.
|
|
1570 !endif
|
|
1571 !if $(HAVE_JPEG)
|
|
1572 Compiling in support for JPEG images.
|
|
1573 !endif
|
|
1574 !if $(HAVE_XFACE)
|
|
1575 Compiling in support for X-Face message headers.
|
|
1576 !endif
|
|
1577 !if $(HAVE_TOOLBARS)
|
|
1578 Compiling in support for toolbars.
|
|
1579 !endif
|
|
1580 !if $(HAVE_DIALOGS)
|
|
1581 Compiling in support for dialogs.
|
|
1582 !endif
|
|
1583 !if $(HAVE_WIDGETS)
|
|
1584 Compiling in support for widgets.
|
|
1585 !endif
|
|
1586 !if $(HAVE_NATIVE_SOUND)
|
|
1587 Compiling in support for native sounds.
|
|
1588 !endif
|
|
1589 !if $(HAVE_MSW_C_DIRED)
|
|
1590 Compiling in fast dired implementation.
|
|
1591 !else
|
|
1592 --------------------------------------------------------------------
|
|
1593 WARNING: Define HAVE_MSW_C_DIRED to be non-zero if you want XEmacs
|
|
1594 WARNING: to use C primitives to significantly speed up dired, at the
|
|
1595 WARNING: expense of an additional ~4KB of code.
|
|
1596 --------------------------------------------------------------------
|
|
1597 !endif
|
|
1598 !if $(USE_MINIMAL_TAGBITS)
|
|
1599 Using minimal tagbits.
|
|
1600 !endif
|
|
1601 !if $(USE_INDEXED_LRECORD_IMPLEMENTATION)
|
|
1602 Using indexed lrecord implementation.
|
|
1603 !endif
|
|
1604 !if $(USE_UNION_TYPE)
|
|
1605 Using union type for Lisp object storage.
|
|
1606 !endif
|
438
|
1607 !if $(USE_PORTABLE_DUMPER)
|
|
1608 Using portable dumper.
|
|
1609 !endif
|
440
|
1610 !if $(USE_SYSTEM_MALLOC)
|
|
1611 Using system malloc.
|
|
1612 !endif
|
|
1613 !if $(USE_CRTDLL)
|
|
1614 Using DLL version of C runtime library
|
|
1615 !endif
|
428
|
1616 !if $(DEBUG_XEMACS)
|
|
1617 Compiling in extra debug checks. XEmacs will be slow!
|
|
1618 !endif
|
442
|
1619 !if $(QUICK_BUILD)
|
|
1620 Disabling non-essential build actions. Use with care!
|
|
1621 !endif
|
428
|
1622 <<NOKEEP
|
|
1623 @echo --------------------------------------------------------------------
|
|
1624 @type $(XEMACS)\Installation
|
|
1625 @echo --------------------------------------------------------------------
|
|
1626
|
442
|
1627 # Update out-of-date .elcs, other than needed for dumping.
|
|
1628 update-elc-2:
|
|
1629 $(XEMACS_BATCH) -l update-elc-2.el -f batch-update-elc-2 $(LISP)
|
|
1630
|
428
|
1631 # DO NOT DELETE THIS LINE -- make depend depends on it.
|
|
1632
|