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