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