274
|
1 # Makefile for Microsoft NMAKE
|
|
2 # Copyright (C) 1995 Board of Trustees, University of Illinois.
|
|
3 # Copyright (C) 1995, 1996 Ben Wing.
|
|
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
|
371
|
27 XEMACS=..
|
183
|
28 LISP=$(XEMACS)\lisp
|
388
|
29 MODULES=$(XEMACS)\modules
|
304
|
30 NT=$(XEMACS)\nt
|
396
|
31 OUTDIR=$(NT)\obj
|
398
|
32
|
298
|
33 # Program name and version
|
|
34
|
412
|
35 !include "..\version.sh"
|
404
|
36
|
298
|
37 !if !defined(INFODOCK)
|
|
38 INFODOCK=0
|
|
39 !endif
|
|
40
|
|
41 !if $(INFODOCK)
|
|
42 INFODOCK_VERSION_STRING=$(infodock_major_version).$(infodock_minor_version).$(infodock_build_version)
|
|
43 PROGRAM_DEFINES=-DINFODOCK \
|
|
44 -DPATH_VERSION=\"$(INFODOCK_VERSION_STRING)\" \
|
|
45 -DPATH_PROGNAME=\"infodock\" \
|
|
46 -DINFODOCK_MAJOR_VERSION=$(infodock_major_version) \
|
|
47 -DINFODOCK_MINOR_VERSION=$(infodock_minor_version) \
|
|
48 -DINFODOCK_BUILD_VERSION=$(infodock_build_version)
|
|
49 !else
|
371
|
50 !if "$(emacs_beta_version)" != ""
|
298
|
51 XEMACS_VERSION_STRING=$(emacs_major_version).$(emacs_minor_version)-b$(emacs_beta_version)
|
|
52 !else
|
371
|
53 XEMACS_VERSION_STRING=$(emacs_major_version).$(emacs_minor_version)
|
298
|
54 !endif
|
|
55 PROGRAM_DEFINES= \
|
|
56 -DPATH_VERSION=\"$(XEMACS_VERSION_STRING)\" \
|
412
|
57 -DPATH_PROGNAME=\"xemacs\"
|
298
|
58 !endif
|
|
59
|
274
|
60 #
|
|
61 # Command line options defaults
|
|
62 #
|
298
|
63 !if !defined(INSTALL_DIR)
|
|
64 ! if $(INFODOCK)
|
|
65 INSTALL_DIR=c:\Program Files\Infodock\Infodock-$(INFODOCK_VERSION_STRING)
|
|
66 ! else
|
|
67 INSTALL_DIR=c:\Program Files\XEmacs\XEmacs-$(XEMACS_VERSION_STRING)
|
|
68 ! endif
|
|
69 !endif
|
396
|
70 !if !defined(HAVE_MULE)
|
|
71 HAVE_MULE=0
|
|
72 !endif
|
384
|
73 !if !defined(PACKAGE_PATH)
|
|
74 ! if !defined(PACKAGE_PREFIX)
|
|
75 PACKAGE_PREFIX=c:\Program Files\XEmacs
|
|
76 ! endif
|
396
|
77 ! if $(HAVE_MULE)
|
384
|
78 PACKAGE_PATH=~\.xemacs;;$(PACKAGE_PREFIX)\site-packages;$(PACKAGE_PREFIX)\mule-packages;$(PACKAGE_PREFIX)\xemacs-packages
|
396
|
79 ! else
|
|
80 PACKAGE_PATH=~\.xemacs;;$(PACKAGE_PREFIX)\site-packages;$(PACKAGE_PREFIX)\xemacs-packages
|
|
81 ! endif
|
274
|
82 !endif
|
384
|
83 PATH_PACKAGEPATH="$(PACKAGE_PATH:\=\\)"
|
412
|
84 !if !defined(HAVE_MSW)
|
|
85 HAVE_MSW=1
|
274
|
86 !endif
|
412
|
87 !if !defined(HAVE_X)
|
|
88 HAVE_X=0
|
274
|
89 !endif
|
276
|
90 !if !defined(HAVE_XPM)
|
|
91 HAVE_XPM=0
|
|
92 !endif
|
373
|
93 !if !defined(HAVE_PNG)
|
|
94 HAVE_PNG=0
|
|
95 !endif
|
|
96 !if !defined(HAVE_TIFF)
|
|
97 HAVE_TIFF=0
|
|
98 !endif
|
|
99 !if !defined(HAVE_JPEG)
|
|
100 HAVE_JPEG=0
|
|
101 !endif
|
394
|
102 !if !defined(HAVE_XFACE)
|
|
103 HAVE_XFACE=0
|
|
104 !endif
|
373
|
105 !if !defined(HAVE_GIF)
|
|
106 HAVE_GIF=1
|
|
107 !endif
|
276
|
108 !if !defined(HAVE_TOOLBARS)
|
|
109 HAVE_TOOLBARS=$(HAVE_XPM)
|
|
110 !endif
|
286
|
111 !if !defined(HAVE_DIALOGS)
|
|
112 HAVE_DIALOGS=1
|
|
113 !endif
|
274
|
114 !if !defined(HAVE_MSW_C_DIRED)
|
|
115 HAVE_MSW_C_DIRED=1
|
|
116 !endif
|
298
|
117 !if !defined(HAVE_NATIVE_SOUND)
|
|
118 HAVE_NATIVE_SOUND=1
|
|
119 !endif
|
274
|
120 !if !defined(DEBUG_XEMACS)
|
298
|
121 DEBUG_XEMACS=0
|
274
|
122 !endif
|
|
123 !if !defined(USE_UNION_TYPE)
|
|
124 USE_UNION_TYPE=0
|
|
125 !endif
|
|
126 !if !defined(USE_MINIMAL_TAGBITS)
|
|
127 USE_MINIMAL_TAGBITS=0
|
|
128 !endif
|
|
129 !if !defined(USE_INDEXED_LRECORD_IMPLEMENTATION)
|
|
130 USE_INDEXED_LRECORD_IMPLEMENTATION=0
|
|
131 !endif
|
416
|
132 !if !defined(GUNG_HO)
|
|
133 GUNG_HO=0
|
|
134 !endif
|
298
|
135
|
|
136 #
|
|
137 # System configuration
|
|
138 #
|
396
|
139 !if !defined(OS)
|
|
140 OS=Windows_95/98
|
388
|
141 EMACS_CONFIGURATION=i586-pc-win32
|
298
|
142 !else if "$(PROCESSOR_ARCHITECTURE)" == "x86"
|
388
|
143 EMACS_CONFIGURATION=i586-pc-win32
|
298
|
144 !else if "$(PROCESSOR_ARCHITECTURE)" == "MIPS"
|
|
145 EMACS_CONFIGURATION=mips-pc-win32
|
|
146 !else if "$(PROCESSOR_ARCHITECTURE)" == "ALPHA"
|
|
147 EMACS_CONFIGURATION=alpha-pc-win32
|
|
148 !else if "$(PROCESSOR_ARCHITECTURE)" == "PPC"
|
|
149 EMACS_CONFIGURATION=ppc-pc-win32
|
|
150 !else
|
|
151 ! error Unknown processor architecture type $(PROCESSOR_ARCHITECTURE)
|
288
|
152 !endif
|
213
|
153
|
274
|
154 #
|
|
155 # Conf error checks
|
|
156 #
|
278
|
157 CONFIG_ERROR=0
|
288
|
158 !if $(INFODOCK) && !exist("..\..\Infodock.rules")
|
|
159 !message Cannot build InfoDock without InfoDock sources
|
|
160 CONFIG_ERROR=1
|
|
161 !endif
|
412
|
162 !if !$(HAVE_MSW) && !$(HAVE_X)
|
|
163 !message Please specify at least one HAVE_MSW=1 and/or HAVE_X=1
|
398
|
164 CONFIG_ERROR=1
|
|
165 !endif
|
412
|
166 !if $(HAVE_X) && !defined(X11_DIR)
|
278
|
167 !message Please specify root directory for your X11 installation: X11_DIR=path
|
|
168 CONFIG_ERROR=1
|
|
169 !endif
|
412
|
170 !if $(HAVE_X) && defined(X11_DIR) && !exist("$(X11_DIR)\LIB\X11.LIB")
|
278
|
171 !message Specified X11 directory does not contain "$(X11_DIR)\LIB\X11.LIB"
|
|
172 CONFIG_ERROR=1
|
274
|
173 !endif
|
412
|
174 !if $(HAVE_MSW) && $(HAVE_XPM) && !defined(XPM_DIR)
|
278
|
175 !message Please specify root directory for your XPM installation: XPM_DIR=path
|
|
176 CONFIG_ERROR=1
|
|
177 !endif
|
412
|
178 !if $(HAVE_MSW) && $(HAVE_XPM) && defined(XPM_DIR) && !exist("$(XPM_DIR)\lib\Xpm.lib")
|
294
|
179 !message Specified XPM directory does not contain "$(XPM_DIR)\lib\Xpm.lib"
|
278
|
180 CONFIG_ERROR=1
|
276
|
181 !endif
|
412
|
182 !if $(HAVE_MSW) && $(HAVE_PNG) && !defined(PNG_DIR)
|
373
|
183 !message Please specify root directory for your PNG installation: PNG_DIR=path
|
|
184 CONFIG_ERROR=1
|
|
185 !endif
|
412
|
186 !if $(HAVE_MSW) && $(HAVE_PNG) && defined(PNG_DIR) && !exist("$(PNG_DIR)\libpng.lib")
|
373
|
187 !message Specified PNG directory does not contain "$(PNG_DIR)\libpng.lib"
|
|
188 CONFIG_ERROR=1
|
|
189 !endif
|
412
|
190 !if $(HAVE_MSW) && $(HAVE_PNG) && !defined(ZLIB_DIR)
|
373
|
191 !message Please specify root directory for your ZLIB installation: ZLIB_DIR=path
|
|
192 CONFIG_ERROR=1
|
|
193 !endif
|
412
|
194 !if $(HAVE_MSW) && $(HAVE_PNG) && defined(ZLIB_DIR) && !exist("$(ZLIB_DIR)\zlib.lib")
|
373
|
195 !message Specified ZLIB directory does not contain "$(ZLIB_DIR)\zlib.lib"
|
|
196 CONFIG_ERROR=1
|
|
197 !endif
|
412
|
198 !if $(HAVE_MSW) && $(HAVE_TIFF) && !defined(TIFF_DIR)
|
373
|
199 !message Please specify root directory for your TIFF installation: TIFF_DIR=path
|
|
200 CONFIG_ERROR=1
|
|
201 !endif
|
412
|
202 !if $(HAVE_MSW) && $(HAVE_TIFF) && !exist("$(TIFF_DIR)\libtiff\libtiff.lib")
|
373
|
203 !message Specified TIFF directory does not contain "$(TIFF_DIR)\libtiff\libtiff.lib"
|
|
204 CONFIG_ERROR=1
|
|
205 !endif
|
412
|
206 !if $(HAVE_MSW) && $(HAVE_JPEG) && !defined(JPEG_DIR)
|
373
|
207 !message Please specify root directory for your JPEG installation: JPEG_DIR=path
|
|
208 CONFIG_ERROR=1
|
|
209 !endif
|
412
|
210 !if $(HAVE_MSW) && $(HAVE_JPEG) && !exist("$(JPEG_DIR)\libjpeg.lib")
|
373
|
211 !message Specified JPEG directory does not contain "$(JPEG_DIR)\libjpeg.lib"
|
|
212 CONFIG_ERROR=1
|
|
213 !endif
|
412
|
214 !if $(HAVE_MSW) && $(HAVE_XFACE) && !defined(COMPFACE_DIR)
|
394
|
215 !message Please specify root directory for your COMPFACE installation: COMPFACE_DIR=path
|
|
216 CONFIG_ERROR=1
|
|
217 !endif
|
412
|
218 !if $(HAVE_MSW) && $(HAVE_XFACE) && !exist("$(COMPFACE_DIR)\libcompface.lib")
|
394
|
219 !message Specified COMPFACE directory does not contain "$(COMPFACE_DIR)\libcompface.lib"
|
|
220 CONFIG_ERROR=1
|
|
221 !endif
|
412
|
222 !if $(HAVE_MSW) && $(HAVE_TOOLBARS) && !$(HAVE_XPM)
|
396
|
223 !message Toolbars require XPM support
|
278
|
224 CONFIG_ERROR=1
|
|
225 !endif
|
|
226 !if $(CONFIG_ERROR)
|
|
227 !error Configuration error(s) found
|
276
|
228 !endif
|
274
|
229
|
|
230 #
|
|
231 # Handle GUNG_HO
|
|
232 #
|
|
233 !if defined(GUNG_HO)
|
|
234 USE_MINIMAL_TAGBITS=$(GUNG_HO)
|
|
235 USE_INDEXED_LRECORD_IMPLEMENTATION=$(GUNG_HO)
|
|
236 !endif
|
219
|
237
|
274
|
238 #
|
416
|
239 # Compiler command echo control. Define VERBOSECC=1 to get verbose compilation.
|
278
|
240 #
|
|
241 !if !defined(VERBOSECC)
|
|
242 VERBOSECC=0
|
|
243 !endif
|
|
244 !if $(VERBOSECC)
|
388
|
245 CCV=$(CC)
|
278
|
246 !else
|
388
|
247 CCV=@$(CC)
|
278
|
248 !endif
|
|
249
|
219
|
250 !if $(DEBUG_XEMACS)
|
183
|
251 OPT=-Od -Zi
|
219
|
252 !else
|
396
|
253 OPT=-O2 -G5
|
219
|
254 !endif
|
183
|
255
|
412
|
256 CFLAGS=-nologo -W3 $(OPT)
|
398
|
257
|
412
|
258 !if $(HAVE_X)
|
213
|
259 X_DEFINES=-DHAVE_X_WINDOWS
|
274
|
260 X_INCLUDES=-I$(X11_DIR)\include
|
|
261 X_LIBS=-libpath:$(X11_DIR)\lib Xaw.lib Xmu.lib Xt.lib SM.lib ICE.lib Xext.lib X11.lib
|
213
|
262 !endif
|
|
263
|
412
|
264 !if $(HAVE_MSW)
|
231
|
265 MSW_DEFINES=-DHAVE_MS_WINDOWS -DHAVE_SCROLLBARS -DHAVE_MENUBARS
|
276
|
266 MSW_INCLUDES=
|
|
267 MSW_LIBS=
|
263
|
268 !if $(HAVE_MSW_C_DIRED)
|
276
|
269 MSW_DEFINES=$(MSW_DEFINES) -DHAVE_MSW_C_DIRED
|
412
|
270 MSW_C_DIRED_SRC=$(XEMACS)\src\dired-msw.c
|
263
|
271 MSW_C_DIRED_OBJ=$(OUTDIR)\dired-msw.obj
|
|
272 !endif
|
276
|
273 !if $(HAVE_XPM)
|
|
274 MSW_DEFINES=$(MSW_DEFINES) -DHAVE_XPM -DFOR_MSW
|
278
|
275 MSW_INCLUDES=$(MSW_INCLUDES) -I"$(XPM_DIR)" -I"$(XPM_DIR)\lib"
|
|
276 MSW_LIBS=$(MSW_LIBS) "$(XPM_DIR)\lib\Xpm.lib"
|
276
|
277 !endif
|
373
|
278 !if $(HAVE_GIF)
|
|
279 MSW_DEFINES=$(MSW_DEFINES) -DHAVE_GIF
|
412
|
280 MSW_GIF_SRC=$(XEMACS)\src\dgif_lib.c $(XEMACS)\src\gif_io.c
|
373
|
281 MSW_GIF_OBJ=$(OUTDIR)\dgif_lib.obj $(OUTDIR)\gif_io.obj
|
|
282 !endif
|
|
283 !if $(HAVE_PNG)
|
|
284 MSW_DEFINES=$(MSW_DEFINES) -DHAVE_PNG
|
|
285 MSW_INCLUDES=$(MSW_INCLUDES) -I"$(PNG_DIR)" -I"$(ZLIB_DIR)"
|
|
286 MSW_LIBS=$(MSW_LIBS) "$(PNG_DIR)\libpng.lib" "$(ZLIB_DIR)\zlib.lib"
|
|
287 !endif
|
|
288 !if $(HAVE_TIFF)
|
|
289 MSW_DEFINES=$(MSW_DEFINES) -DHAVE_TIFF
|
|
290 MSW_INCLUDES=$(MSW_INCLUDES) -I"$(TIFF_DIR)\libtiff"
|
|
291 MSW_LIBS=$(MSW_LIBS) "$(TIFF_DIR)\libtiff\libtiff.lib"
|
|
292 !endif
|
|
293 !if $(HAVE_JPEG)
|
|
294 MSW_DEFINES=$(MSW_DEFINES) -DHAVE_JPEG
|
|
295 MSW_INCLUDES=$(MSW_INCLUDES) -I"$(JPEG_DIR)"
|
|
296 MSW_LIBS=$(MSW_LIBS) "$(JPEG_DIR)\libjpeg.lib"
|
|
297 !endif
|
394
|
298 !if $(HAVE_XFACE)
|
|
299 MSW_DEFINES=$(MSW_DEFINES) -DHAVE_XFACE
|
|
300 MSW_INCLUDES=$(MSW_INCLUDES) -I"$(COMPFACE_DIR)"
|
|
301 MSW_LIBS=$(MSW_LIBS) "$(COMPFACE_DIR)\libcompface.lib"
|
|
302 !endif
|
276
|
303 !if $(HAVE_TOOLBARS)
|
|
304 MSW_DEFINES=$(MSW_DEFINES) -DHAVE_TOOLBARS
|
412
|
305 MSW_TOOLBAR_SRC=$(XEMACS)\src\toolbar.c $(XEMACS)\src\toolbar-msw.c
|
276
|
306 MSW_TOOLBAR_OBJ=$(OUTDIR)\toolbar.obj $(OUTDIR)\toolbar-msw.obj
|
|
307 MSW_LIBS=$(MSW_LIBS) comctl32.lib
|
|
308 !endif
|
286
|
309 !if $(HAVE_DIALOGS)
|
|
310 MSW_DEFINES=$(MSW_DEFINES) -DHAVE_DIALOGS
|
412
|
311 MSW_DIALOG_SRC=$(XEMACS)\src\dialog.c $(XEMACS)\src\dialog-msw.c
|
286
|
312 MSW_DIALOG_OBJ=$(OUTDIR)\dialog.obj $(OUTDIR)\dialog-msw.obj
|
|
313 !endif
|
298
|
314 !if $(HAVE_NATIVE_SOUND)
|
|
315 MSW_DEFINES=$(MSW_DEFINES) -DHAVE_NATIVE_SOUND
|
|
316 !endif
|
213
|
317 !endif
|
|
318
|
|
319 !if $(HAVE_MULE)
|
|
320 MULE_DEFINES=-DMULE
|
|
321 !endif
|
|
322
|
219
|
323 !if $(DEBUG_XEMACS)
|
282
|
324 DEBUG_DEFINES=-DDEBUG_XEMACS -D_DEBUG
|
396
|
325 DEBUG_FLAGS=-debug:full
|
219
|
326 !endif
|
|
327
|
282
|
328 !if $(USE_MINIMAL_TAGBITS)
|
|
329 TAGBITS_DEFINES=-DUSE_MINIMAL_TAGBITS
|
|
330 !endif
|
|
331 !if $(USE_INDEXED_LRECORD_IMPLEMENTATION)
|
|
332 LRECORD_DEFINES=-DUSE_INDEXED_LRECORD_IMPLEMENTATION
|
|
333 !endif
|
|
334 !if $(USE_UNION_TYPE)
|
|
335 UNION_DEFINES=-DUSE_UNION_TYPE
|
|
336 !endif
|
|
337
|
288
|
338 # Hard-coded paths
|
|
339
|
|
340 !if $(INFODOCK)
|
|
341 PATH_PREFIX=../..
|
|
342 !else
|
|
343 PATH_PREFIX=..
|
|
344 !endif
|
|
345
|
|
346 PATH_DEFINES=-DPATH_PREFIX=\"$(PATH_PREFIX)\"
|
|
347
|
118
|
348 # Generic variables
|
|
349
|
412
|
350 INCLUDES=$(X_INCLUDES) $(MSW_INCLUDES) -I$(XEMACS)\nt\inc -I$(XEMACS)\src -I$(XEMACS)\lwlib
|
213
|
351
|
276
|
352 DEFINES=$(X_DEFINES) $(MSW_DEFINES) $(MULE_DEFINES) \
|
282
|
353 $(TAGBITS_DEFINES) $(LRECORD_DEFINES) $(UNION_DEFINES) \
|
412
|
354 -DWIN32 -D_WIN32 -DWIN32_LEAN_AND_MEAN -DWINDOWSNT -Demacs \
|
288
|
355 -DHAVE_CONFIG_H $(PROGRAM_DEFINES) $(PATH_DEFINES)
|
118
|
356
|
|
357 #------------------------------------------------------------------------------
|
|
358
|
412
|
359 default: $(OUTDIR)\nul all
|
|
360
|
213
|
361 $(OUTDIR)\nul:
|
118
|
362 -@mkdir $(OUTDIR)
|
|
363
|
183
|
364 XEMACS_INCLUDES=\
|
412
|
365 $(XEMACS)\src\config.h \
|
|
366 $(XEMACS)\src\Emacs.ad.h \
|
|
367 $(XEMACS)\src\paths.h
|
183
|
368
|
412
|
369 $(XEMACS)\src\config.h: config.h
|
|
370 copy config.h $(XEMACS)\src
|
219
|
371
|
412
|
372 $(XEMACS)\src\Emacs.ad.h: Emacs.ad.h
|
|
373 copy Emacs.ad.h $(XEMACS)\src
|
219
|
374
|
412
|
375 $(XEMACS)\src\paths.h: paths.h
|
|
376 copy paths.h $(XEMACS)\src
|
183
|
377
|
|
378 #------------------------------------------------------------------------------
|
|
379
|
288
|
380 # lib-src programs
|
|
381
|
412
|
382 LIB_SRC = $(XEMACS)\lib-src
|
|
383 LIB_SRC_DEFINES = -DHAVE_CONFIG_H -DWIN32 -DWINDOWSNT
|
288
|
384
|
382
|
385 #
|
|
386 # Creating config.values to be used by config.el
|
|
387 #
|
|
388 CONFIG_VALUES = $(LIB_SRC)\config.values
|
|
389 !if [echo Creating $(CONFIG_VALUES) && echo ;;; Do not edit this file!>$(CONFIG_VALUES)]
|
|
390 !endif
|
|
391 # MAKEDIR has to be made into a string.
|
398
|
392 #!if [echo blddir>>$(CONFIG_VALUES) && echo $(ESC)"$(MAKEDIR:\=\\)\\..$(ESC)">>$(CONFIG_VALUES)]
|
|
393 !if [echo blddir>>$(CONFIG_VALUES) && echo "$(MAKEDIR:\=\\)\\..">>$(CONFIG_VALUES)]
|
382
|
394 !endif
|
398
|
395 !if [echo CC>>$(CONFIG_VALUES) && echo "$(CC:\=\\)">>$(CONFIG_VALUES)]
|
382
|
396 !endif
|
398
|
397 !if [echo CFLAGS>>$(CONFIG_VALUES) && echo "$(CFLAGS:\=\\)">>$(CONFIG_VALUES)]
|
|
398 !endif
|
|
399 !if [echo CPP>>$(CONFIG_VALUES) && echo "$(CPP:\=\\)">>$(CONFIG_VALUES)]
|
382
|
400 !endif
|
398
|
401 !if [echo CPPFLAGS>>$(CONFIG_VALUES) && echo "$(CPPFLAGS:\=\\)">>$(CONFIG_VALUES)]
|
382
|
402 !endif
|
398
|
403 !if [echo LISPDIR>>$(CONFIG_VALUES) && echo "$(MAKEDIR:\=\\)\\$(LISP:\=\\)">>$(CONFIG_VALUES)]
|
382
|
404 !endif
|
|
405 # PATH_PACKAGEPATH is already a quoted string.
|
|
406 !if [echo PACKAGE_PATH>>$(CONFIG_VALUES) && echo $(PATH_PACKAGEPATH)>>$(CONFIG_VALUES)]
|
|
407 !endif
|
|
408
|
288
|
409 # Inferred rule
|
|
410 {$(LIB_SRC)}.c{$(LIB_SRC)}.exe :
|
412
|
411 @cd $(LIB_SRC)
|
|
412 $(CCV) -I. -I$(XEMACS)/src -I$(XEMACS)/nt/inc $(LIB_SRC_DEFINES) $(CFLAGS) -Fe$@ $** -link -incremental:no
|
|
413 @cd $(NT)
|
288
|
414
|
|
415 # Individual dependencies
|
|
416 ETAGS_DEPS = $(LIB_SRC)/getopt.c $(LIB_SRC)/getopt1.c $(LIB_SRC)/../src/regex.c
|
|
417 $(LIB_SRC)/etags.exe : $(LIB_SRC)/etags.c $(ETAGS_DEPS)
|
382
|
418 $(LIB_SRC)/movemail.exe: $(LIB_SRC)/movemail.c $(LIB_SRC)/pop.c $(ETAGS_DEPS)
|
412
|
419 @cd $(LIB_SRC)
|
396
|
420 $(CCV) -I. -I$(XEMACS)/src -I$(XEMACS)/nt/inc $(LIB_SRC_DEFINES) $(CFLAGS) -Fe$@ $** wsock32.lib -link -incremental:no
|
412
|
421 @cd $(NT)
|
288
|
422
|
|
423 LIB_SRC_TOOLS = \
|
412
|
424 $(LIB_SRC)/make-docfile.exe \
|
288
|
425 $(LIB_SRC)/hexl.exe \
|
412
|
426 $(LIB_SRC)/movemail.exe \
|
288
|
427 $(LIB_SRC)/mmencode.exe \
|
|
428 $(LIB_SRC)/sorted-doc.exe \
|
412
|
429 $(LIB_SRC)/wakeup.exe \
|
|
430 $(LIB_SRC)/etags.exe
|
288
|
431
|
298
|
432 #------------------------------------------------------------------------------
|
|
433
|
412
|
434 # runxemacs proglet
|
|
435
|
|
436 RUNEMACS = $(XEMACS)\src\runxemacs.exe
|
406
|
437
|
412
|
438 $(RUNEMACS): $(LIB_SRC)\run.c $(LIB_SRC)\run.res
|
|
439 $(CCV) -I$(LIB_SRC) $(CFLAGS) -Fe$@ -Fo$(LIB_SRC) -Fd$(LIB_SRC)\ $** kernel32.lib user32.lib -link -incremental:no
|
|
440
|
|
441 $(LIB_SRC)\run.res: $(LIB_SRC)\run.rc
|
|
442 rc -I$(LIB_SRC) -Fo$@ $**
|
406
|
443
|
|
444 #------------------------------------------------------------------------------
|
|
445
|
298
|
446 # LASTFILE Library
|
|
447
|
183
|
448 LASTFILE=$(OUTDIR)\lastfile.lib
|
412
|
449 LASTFILE_SRC=$(XEMACS)\src
|
396
|
450 LASTFILE_FLAGS=$(CFLAGS) $(INCLUDES) -Fo$@ -Fd$* -c
|
118
|
451 LASTFILE_OBJS= \
|
183
|
452 $(OUTDIR)\lastfile.obj
|
179
|
453
|
215
|
454 $(LASTFILE): $(XEMACS_INCLUDES) $(LASTFILE_OBJS)
|
183
|
455 link.exe -lib -nologo -out:$@ $(LASTFILE_OBJS)
|
118
|
456
|
183
|
457 $(OUTDIR)\lastfile.obj: $(LASTFILE_SRC)\lastfile.c
|
278
|
458 $(CCV) $(LASTFILE_FLAGS) $**
|
118
|
459
|
|
460 #------------------------------------------------------------------------------
|
|
461
|
412
|
462 !if $(HAVE_X)
|
213
|
463
|
118
|
464 # LWLIB Library
|
|
465
|
183
|
466 LWLIB=$(OUTDIR)\lwlib.lib
|
412
|
467 LWLIB_SRC=$(XEMACS)\lwlib
|
388
|
468 LWLIB_FLAGS=$(CFLAGS) $(INCLUDES) $(DEFINES) \
|
213
|
469 -DNEED_ATHENA -DNEED_LUCID \
|
|
470 -D_WINDOWS -DMENUBARS_LUCID -DSCROLLBARS_LUCID -DDIALOGS_ATHENA \
|
|
471 -Fo$@ -c
|
118
|
472 LWLIB_OBJS= \
|
213
|
473 $(OUTDIR)\lwlib-config.obj \
|
|
474 $(OUTDIR)\lwlib-utils.obj \
|
|
475 $(OUTDIR)\lwlib-Xaw.obj \
|
|
476 $(OUTDIR)\lwlib-Xlw.obj \
|
|
477 $(OUTDIR)\lwlib.obj \
|
|
478 $(OUTDIR)\xlwmenu.obj \
|
|
479 $(OUTDIR)\xlwscrollbar.obj
|
118
|
480
|
215
|
481 $(LWLIB): $(LWLIB_OBJS)
|
396
|
482 link.exe -lib -nologo -out:$@ $(LWLIB_OBJS)
|
118
|
483
|
412
|
484 $(OUTDIR)\lwlib-config.obj: $(LWLIB_SRC)\lwlib-config.c
|
278
|
485 $(CCV) $(LWLIB_FLAGS) $**
|
118
|
486
|
412
|
487 $(OUTDIR)\lwlib-utils.obj: $(LWLIB_SRC)\lwlib-utils.c
|
278
|
488 $(CCV) $(LWLIB_FLAGS) $**
|
118
|
489
|
412
|
490 $(OUTDIR)\lwlib-Xaw.obj: $(LWLIB_SRC)\lwlib-Xaw.c
|
278
|
491 $(CCV) $(LWLIB_FLAGS) $**
|
118
|
492
|
412
|
493 $(OUTDIR)\lwlib-Xlw.obj: $(LWLIB_SRC)\lwlib-Xlw.c
|
278
|
494 $(CCV) $(LWLIB_FLAGS) $**
|
118
|
495
|
412
|
496 $(OUTDIR)\lwlib.obj: $(LWLIB_SRC)\lwlib.c
|
278
|
497 $(CCV) $(LWLIB_FLAGS) $**
|
118
|
498
|
412
|
499 $(OUTDIR)\xlwmenu.obj: $(LWLIB_SRC)\xlwmenu.c
|
278
|
500 $(CCV) $(LWLIB_FLAGS) $**
|
118
|
501
|
412
|
502 $(OUTDIR)\xlwscrollbar.obj: $(LWLIB_SRC)\xlwscrollbar.c
|
278
|
503 $(CCV) $(LWLIB_FLAGS) $**
|
118
|
504
|
213
|
505 !endif
|
118
|
506 #------------------------------------------------------------------------------
|
|
507
|
183
|
508 DOC=$(LIB_SRC)\DOC
|
195
|
509 DOC_SRC1=\
|
412
|
510 $(XEMACS)\src\abbrev.c \
|
|
511 $(XEMACS)\src\alloc.c \
|
|
512 $(XEMACS)\src\alloca.c \
|
|
513 $(XEMACS)\src\blocktype.c \
|
|
514 $(XEMACS)\src\buffer.c \
|
|
515 $(XEMACS)\src\bytecode.c \
|
|
516 $(XEMACS)\src\callint.c \
|
|
517 $(XEMACS)\src\callproc.c \
|
|
518 $(XEMACS)\src\casefiddle.c \
|
|
519 $(XEMACS)\src\casetab.c \
|
|
520 $(XEMACS)\src\chartab.c \
|
|
521 $(XEMACS)\src\cmdloop.c \
|
|
522 $(XEMACS)\src\cmds.c \
|
|
523 $(XEMACS)\src\console-stream.c \
|
|
524 $(XEMACS)\src\console.c \
|
|
525 $(XEMACS)\src\data.c \
|
|
526 $(XEMACS)\src\device.c
|
195
|
527 DOC_SRC2=\
|
412
|
528 $(XEMACS)\src\dired.c \
|
|
529 $(XEMACS)\src\doc.c \
|
|
530 $(XEMACS)\src\doprnt.c \
|
|
531 $(XEMACS)\src\dragdrop.c \
|
|
532 $(XEMACS)\src\dynarr.c \
|
|
533 $(XEMACS)\src\editfns.c \
|
|
534 $(XEMACS)\src\elhash.c \
|
|
535 $(XEMACS)\src\emacs.c \
|
|
536 $(XEMACS)\src\eval.c \
|
|
537 $(XEMACS)\src\event-stream.c \
|
|
538 $(XEMACS)\src\events.c \
|
|
539 $(XEMACS)\src\extents.c \
|
|
540 $(XEMACS)\src\faces.c \
|
|
541 $(XEMACS)\src\file-coding.c \
|
|
542 $(XEMACS)\src\fileio.c \
|
|
543 $(XEMACS)\src\filemode.c \
|
|
544 $(XEMACS)\src\floatfns.c \
|
|
545 $(XEMACS)\src\fns.c
|
213
|
546 DOC_SRC3=\
|
412
|
547 $(XEMACS)\src\font-lock.c \
|
|
548 $(XEMACS)\src\frame.c \
|
|
549 $(XEMACS)\src\free-hook.c \
|
|
550 $(XEMACS)\src\general.c \
|
|
551 $(XEMACS)\src\glyphs.c \
|
|
552 $(XEMACS)\src\glyphs-eimage.c \
|
|
553 $(XEMACS)\src\glyphs-widget.c \
|
|
554 $(XEMACS)\src\gmalloc.c \
|
|
555 $(XEMACS)\src\gui.c \
|
422
|
556 $(XEMACS)\src\gutter.c \
|
412
|
557 $(XEMACS)\src\hash.c \
|
|
558 $(XEMACS)\src\imgproc.c \
|
|
559 $(XEMACS)\src\indent.c \
|
|
560 $(XEMACS)\src\insdel.c \
|
|
561 $(XEMACS)\src\intl.c \
|
|
562 $(XEMACS)\src\keymap.c \
|
|
563 $(XEMACS)\src\line-number.c \
|
|
564 $(XEMACS)\src\lread.c \
|
|
565 $(XEMACS)\src\lstream.c \
|
|
566 $(XEMACS)\src\macros.c \
|
|
567 $(XEMACS)\src\marker.c
|
213
|
568 DOC_SRC4=\
|
412
|
569 $(XEMACS)\src\md5.c \
|
|
570 $(XEMACS)\src\menubar.c \
|
|
571 $(XEMACS)\src\minibuf.c \
|
|
572 $(XEMACS)\src\nt.c \
|
|
573 $(XEMACS)\src\ntheap.c \
|
|
574 $(XEMACS)\src\ntplay.c \
|
|
575 $(XEMACS)\src\ntproc.c \
|
|
576 $(XEMACS)\src\objects.c \
|
|
577 $(XEMACS)\src\opaque.c \
|
|
578 $(XEMACS)\src\print.c \
|
|
579 $(XEMACS)\src\process.c \
|
|
580 $(XEMACS)\src\process-nt.c \
|
|
581 $(XEMACS)\src\profile.c \
|
|
582 $(XEMACS)\src\rangetab.c \
|
|
583 $(XEMACS)\src\realpath.c \
|
|
584 $(XEMACS)\src\redisplay-output.c \
|
|
585 $(XEMACS)\src\redisplay.c \
|
|
586 $(XEMACS)\src\regex.c \
|
|
587 $(XEMACS)\src\scrollbar.c \
|
|
588 $(XEMACS)\src\search.c \
|
414
|
589 $(XEMACS)\src\select.c \
|
412
|
590 $(XEMACS)\src\signal.c \
|
|
591 $(XEMACS)\src\sound.c
|
213
|
592 DOC_SRC5=\
|
412
|
593 $(XEMACS)\src\specifier.c \
|
|
594 $(XEMACS)\src\strftime.c \
|
|
595 $(XEMACS)\src\symbols.c \
|
|
596 $(XEMACS)\src\syntax.c \
|
|
597 $(XEMACS)\src\sysdep.c \
|
|
598 $(XEMACS)\src\termcap.c \
|
|
599 $(XEMACS)\src\tparam.c \
|
|
600 $(XEMACS)\src\undo.c \
|
|
601 $(XEMACS)\src\unexnt.c \
|
|
602 $(XEMACS)\src\vm-limit.c \
|
|
603 $(XEMACS)\src\window.c \
|
|
604 $(XEMACS)\src\widget.c
|
213
|
605
|
412
|
606 !if $(HAVE_X)
|
213
|
607 DOC_SRC6=\
|
412
|
608 $(XEMACS)\src\balloon_help.c \
|
|
609 $(XEMACS)\src\console-x.c \
|
|
610 $(XEMACS)\src\device-x.c \
|
|
611 $(XEMACS)\src\dialog-x.c \
|
|
612 $(XEMACS)\src\EmacsFrame.c \
|
|
613 $(XEMACS)\src\EmacsManager.c \
|
|
614 $(XEMACS)\src\EmacsShell-sub.c\
|
|
615 $(XEMACS)\src\EmacsShell.c \
|
|
616 $(XEMACS)\src\event-Xt.c \
|
|
617 $(XEMACS)\src\frame-x.c \
|
|
618 $(XEMACS)\src\glyphs-x.c \
|
|
619 $(XEMACS)\src\gui-x.c \
|
|
620 $(XEMACS)\src\menubar.c \
|
|
621 $(XEMACS)\src\menubar-x.c \
|
|
622 $(XEMACS)\src\objects-x.c \
|
|
623 $(XEMACS)\src\redisplay-x.c \
|
|
624 $(XEMACS)\src\scrollbar-x.c \
|
|
625 $(XEMACS)\src\balloon-x.c \
|
|
626 $(XEMACS)\src\xgccache.c \
|
|
627 $(XEMACS)\src\xmu.c \
|
414
|
628 $(XEMACS)\src\select-x.c
|
213
|
629 !endif
|
|
630
|
412
|
631 !if $(HAVE_MSW)
|
219
|
632 DOC_SRC7=\
|
412
|
633 $(XEMACS)\src\console-msw.c \
|
|
634 $(XEMACS)\src\device-msw.c \
|
|
635 $(XEMACS)\src\event-msw.c \
|
|
636 $(XEMACS)\src\frame-msw.c \
|
|
637 $(XEMACS)\src\glyphs-msw.c \
|
|
638 $(XEMACS)\src\gui-msw.c \
|
|
639 $(XEMACS)\src\menubar-msw.c \
|
|
640 $(XEMACS)\src\objects-msw.c \
|
|
641 $(XEMACS)\src\redisplay-msw.c \
|
|
642 $(XEMACS)\src\scrollbar-msw.c \
|
|
643 $(XEMACS)\src\select-msw.c \
|
276
|
644 $(MSW_C_DIRED_SRC) \
|
286
|
645 $(MSW_TOOLBAR_SRC) \
|
373
|
646 $(MSW_DIALOG_SRC) \
|
|
647 $(MSW_GIF_SRC)
|
213
|
648 !endif
|
|
649
|
267
|
650 !if $(HAVE_MULE)
|
265
|
651 DOC_SRC8=\
|
412
|
652 $(XEMACS)\src\mule.c \
|
|
653 $(XEMACS)\src\mule-charset.c \
|
418
|
654 $(XEMACS)\src\mule-ccl.c
|
412
|
655 ! if $(HAVE_X)
|
|
656 DOC_SRC8=$(DOC_SRC8) $(XEMACS)\src\input-method-xlib.c
|
388
|
657 ! endif
|
213
|
658 !endif
|
118
|
659
|
219
|
660 !if $(DEBUG_XEMACS)
|
267
|
661 DOC_SRC9=\
|
412
|
662 $(XEMACS)\src\debug.c
|
219
|
663 !endif
|
|
664
|
118
|
665 #------------------------------------------------------------------------------
|
|
666
|
|
667 # TEMACS Executable
|
|
668
|
294
|
669 # This may not exist
|
371
|
670 !if "$(emacs_beta_version)" != ""
|
294
|
671 EMACS_BETA_VERSION=-DEMACS_BETA_VERSION=$(emacs_beta_version)
|
|
672 !ENDIF
|
|
673
|
412
|
674 TEMACS_DIR=$(XEMACS)\src
|
183
|
675 TEMACS=$(TEMACS_DIR)\temacs.exe
|
213
|
676 TEMACS_BROWSE=$(TEMACS_DIR)\temacs.bsc
|
412
|
677 TEMACS_SRC=$(XEMACS)\src
|
276
|
678 TEMACS_LIBS=$(LASTFILE) $(LWLIB) $(X_LIBS) $(MSW_LIBS) \
|
412
|
679 kernel32.lib user32.lib gdi32.lib advapi32.lib \
|
|
680 shell32.lib wsock32.lib winmm.lib libc.lib
|
223
|
681 TEMACS_LFLAGS=-nologo $(LIBRARIES) $(DEBUG_FLAGS) -base:0x1000000\
|
412
|
682 -stack:0x800000 -entry:_start -subsystem:console\
|
223
|
683 -pdb:$(TEMACS_DIR)\temacs.pdb -map:$(TEMACS_DIR)\temacs.map \
|
412
|
684 -heap:0x00100000 -out:$@
|
|
685 TEMACS_CPP_FLAGS=-ML -c \
|
396
|
686 $(CFLAGS) $(INCLUDES) $(DEFINES) $(DEBUG_DEFINES) \
|
183
|
687 -DEMACS_MAJOR_VERSION=$(emacs_major_version) \
|
|
688 -DEMACS_MINOR_VERSION=$(emacs_minor_version) \
|
294
|
689 $(EMACS_BETA_VERSION) \
|
412
|
690 -DXEMACS_CODENAME=\"$(xemacs_codename)\" \
|
298
|
691 -DEMACS_CONFIGURATION=\"$(EMACS_CONFIGURATION)\" \
|
269
|
692 -DPATH_PACKAGEPATH=\"$(PATH_PACKAGEPATH)\"
|
219
|
693
|
412
|
694 !if $(HAVE_X)
|
213
|
695 TEMACS_X_OBJS=\
|
|
696 $(OUTDIR)\balloon-x.obj \
|
|
697 $(OUTDIR)\balloon_help.obj \
|
|
698 $(OUTDIR)\console-x.obj \
|
|
699 $(OUTDIR)\device-x.obj \
|
|
700 $(OUTDIR)\dialog-x.obj \
|
|
701 $(OUTDIR)\EmacsFrame.obj \
|
|
702 $(OUTDIR)\EmacsManager.obj \
|
|
703 $(OUTDIR)\EmacsShell.obj \
|
|
704 $(OUTDIR)\TopLevelEmacsShell.obj\
|
|
705 $(OUTDIR)\TransientEmacsShell.obj\
|
|
706 $(OUTDIR)\event-Xt.obj \
|
|
707 $(OUTDIR)\frame-x.obj \
|
|
708 $(OUTDIR)\glyphs-x.obj \
|
|
709 $(OUTDIR)\gui-x.obj \
|
|
710 $(OUTDIR)\menubar-x.obj \
|
|
711 $(OUTDIR)\objects-x.obj \
|
|
712 $(OUTDIR)\redisplay-x.obj \
|
|
713 $(OUTDIR)\scrollbar-x.obj \
|
|
714 $(OUTDIR)\xgccache.obj \
|
|
715 $(OUTDIR)\xmu.obj \
|
414
|
716 $(OUTDIR)\select-x.obj
|
213
|
717 !endif
|
|
718
|
412
|
719 !if $(HAVE_MSW)
|
213
|
720 TEMACS_MSW_OBJS=\
|
|
721 $(OUTDIR)\console-msw.obj \
|
|
722 $(OUTDIR)\device-msw.obj \
|
|
723 $(OUTDIR)\event-msw.obj \
|
|
724 $(OUTDIR)\frame-msw.obj \
|
269
|
725 $(OUTDIR)\glyphs-msw.obj \
|
388
|
726 $(OUTDIR)\gui-msw.obj \
|
231
|
727 $(OUTDIR)\menubar-msw.obj \
|
213
|
728 $(OUTDIR)\objects-msw.obj \
|
|
729 $(OUTDIR)\redisplay-msw.obj \
|
231
|
730 $(OUTDIR)\scrollbar-msw.obj \
|
263
|
731 $(OUTDIR)\select-msw.obj \
|
276
|
732 $(MSW_C_DIRED_OBJ) \
|
286
|
733 $(MSW_TOOLBAR_OBJ) \
|
373
|
734 $(MSW_DIALOG_OBJ) \
|
|
735 $(MSW_GIF_OBJ)
|
213
|
736 !endif
|
|
737
|
|
738 !if $(HAVE_MULE)
|
|
739 TEMACS_MULE_OBJS=\
|
|
740 $(OUTDIR)\mule.obj \
|
|
741 $(OUTDIR)\mule-charset.obj \
|
418
|
742 $(OUTDIR)\mule-ccl.obj
|
412
|
743 ! if $(HAVE_X)
|
388
|
744 TEMACS_MULE_OBJS=\
|
|
745 $(TEMACS_MULE_OBJS) $(OUTDIR)\input-method-xlib.obj
|
|
746 ! endif
|
219
|
747 !endif
|
|
748
|
|
749 !if $(DEBUG_XEMACS)
|
|
750 TEMACS_DEBUG_OBJS=\
|
412
|
751 $(OUTDIR)\debug.obj
|
213
|
752 !endif
|
|
753
|
118
|
754 TEMACS_OBJS= \
|
213
|
755 $(TEMACS_X_OBJS)\
|
|
756 $(TEMACS_MSW_OBJS)\
|
265
|
757 $(TEMACS_CODING_OBJS)\
|
213
|
758 $(TEMACS_MULE_OBJS)\
|
219
|
759 $(TEMACS_DEBUG_OBJS)\
|
183
|
760 $(OUTDIR)\abbrev.obj \
|
|
761 $(OUTDIR)\alloc.obj \
|
|
762 $(OUTDIR)\alloca.obj \
|
|
763 $(OUTDIR)\blocktype.obj \
|
|
764 $(OUTDIR)\buffer.obj \
|
|
765 $(OUTDIR)\bytecode.obj \
|
|
766 $(OUTDIR)\callint.obj \
|
|
767 $(OUTDIR)\callproc.obj \
|
|
768 $(OUTDIR)\casefiddle.obj \
|
|
769 $(OUTDIR)\casetab.obj \
|
|
770 $(OUTDIR)\chartab.obj \
|
|
771 $(OUTDIR)\cmdloop.obj \
|
|
772 $(OUTDIR)\cmds.obj \
|
|
773 $(OUTDIR)\console-stream.obj \
|
|
774 $(OUTDIR)\console.obj \
|
|
775 $(OUTDIR)\data.obj \
|
|
776 $(OUTDIR)\device.obj \
|
|
777 $(OUTDIR)\dired.obj \
|
|
778 $(OUTDIR)\doc.obj \
|
|
779 $(OUTDIR)\doprnt.obj \
|
284
|
780 $(OUTDIR)\dragdrop.obj \
|
183
|
781 $(OUTDIR)\dynarr.obj \
|
|
782 $(OUTDIR)\editfns.obj \
|
|
783 $(OUTDIR)\elhash.obj \
|
|
784 $(OUTDIR)\emacs.obj \
|
|
785 $(OUTDIR)\eval.obj \
|
|
786 $(OUTDIR)\event-stream.obj \
|
|
787 $(OUTDIR)\events.obj \
|
|
788 $(OUTDIR)\extents.obj \
|
|
789 $(OUTDIR)\faces.obj \
|
267
|
790 $(OUTDIR)\file-coding.obj \
|
183
|
791 $(OUTDIR)\fileio.obj \
|
|
792 $(OUTDIR)\filemode.obj \
|
|
793 $(OUTDIR)\floatfns.obj \
|
|
794 $(OUTDIR)\fns.obj \
|
|
795 $(OUTDIR)\font-lock.obj \
|
|
796 $(OUTDIR)\frame.obj \
|
412
|
797 $(OUTDIR)\free-hook.obj \
|
183
|
798 $(OUTDIR)\general.obj \
|
|
799 $(OUTDIR)\glyphs.obj \
|
280
|
800 $(OUTDIR)\glyphs-eimage.obj \
|
388
|
801 $(OUTDIR)\glyphs-widget.obj \
|
412
|
802 $(OUTDIR)\gmalloc.obj \
|
183
|
803 $(OUTDIR)\gui.obj \
|
422
|
804 $(OUTDIR)\gutter.obj \
|
183
|
805 $(OUTDIR)\hash.obj \
|
|
806 $(OUTDIR)\indent.obj \
|
269
|
807 $(OUTDIR)\imgproc.obj \
|
183
|
808 $(OUTDIR)\insdel.obj \
|
|
809 $(OUTDIR)\intl.obj \
|
|
810 $(OUTDIR)\keymap.obj \
|
213
|
811 $(OUTDIR)\line-number.obj \
|
183
|
812 $(OUTDIR)\lread.obj \
|
|
813 $(OUTDIR)\lstream.obj \
|
|
814 $(OUTDIR)\macros.obj \
|
231
|
815 $(OUTDIR)\menubar.obj \
|
183
|
816 $(OUTDIR)\marker.obj \
|
|
817 $(OUTDIR)\md5.obj \
|
|
818 $(OUTDIR)\minibuf.obj \
|
|
819 $(OUTDIR)\nt.obj \
|
412
|
820 $(OUTDIR)\ntheap.obj \
|
298
|
821 $(OUTDIR)\ntplay.obj \
|
183
|
822 $(OUTDIR)\ntproc.obj \
|
|
823 $(OUTDIR)\objects.obj \
|
|
824 $(OUTDIR)\opaque.obj \
|
|
825 $(OUTDIR)\print.obj \
|
|
826 $(OUTDIR)\process.obj \
|
274
|
827 $(OUTDIR)\process-nt.obj \
|
223
|
828 $(OUTDIR)\profile.obj \
|
183
|
829 $(OUTDIR)\rangetab.obj \
|
|
830 $(OUTDIR)\realpath.obj \
|
|
831 $(OUTDIR)\redisplay-output.obj \
|
|
832 $(OUTDIR)\redisplay.obj \
|
|
833 $(OUTDIR)\regex.obj \
|
225
|
834 $(OUTDIR)\scrollbar.obj \
|
183
|
835 $(OUTDIR)\search.obj \
|
414
|
836 $(OUTDIR)\select.obj \
|
183
|
837 $(OUTDIR)\signal.obj \
|
|
838 $(OUTDIR)\sound.obj \
|
|
839 $(OUTDIR)\specifier.obj \
|
|
840 $(OUTDIR)\strftime.obj \
|
|
841 $(OUTDIR)\symbols.obj \
|
|
842 $(OUTDIR)\syntax.obj \
|
|
843 $(OUTDIR)\sysdep.obj \
|
|
844 $(OUTDIR)\tparam.obj \
|
|
845 $(OUTDIR)\undo.obj \
|
412
|
846 $(OUTDIR)\unexnt.obj \
|
|
847 $(OUTDIR)\vm-limit.obj \
|
197
|
848 $(OUTDIR)\widget.obj \
|
412
|
849 $(OUTDIR)\window.obj \
|
|
850 $(OUTDIR)\xemacs.res
|
155
|
851
|
213
|
852 # Rules
|
118
|
853
|
213
|
854 .SUFFIXES:
|
422
|
855 .SUFFIXES: .c .texi
|
118
|
856
|
213
|
857 # nmake rule
|
396
|
858 !if $(DEBUG_XEMACS)
|
213
|
859 {$(TEMACS_SRC)}.c{$(OUTDIR)}.obj:
|
396
|
860 $(CCV) $(TEMACS_CPP_FLAGS) $< -Fo$@ -Fr$*.sbr -Fd$(OUTDIR)\temacs.pdb
|
|
861 !else
|
|
862 {$(TEMACS_SRC)}.c{$(OUTDIR)}.obj:
|
|
863 $(CCV) $(TEMACS_CPP_FLAGS) $< -Fo$@
|
|
864 !endif
|
118
|
865
|
183
|
866 $(OUTDIR)\TopLevelEmacsShell.obj: $(TEMACS_SRC)\EmacsShell-sub.c
|
388
|
867 $(CCV) $(TEMACS_CPP_FLAGS) -DDEFINE_TOP_LEVEL_EMACS_SHELL $** -Fo$@
|
118
|
868
|
183
|
869 $(OUTDIR)\TransientEmacsShell.obj: $(TEMACS_SRC)\EmacsShell-sub.c
|
388
|
870 $(CCV) $(TEMACS_CPP_FLAGS) -DDEFINE_TRANSIENT_EMACS_SHELL $** -Fo$@
|
118
|
871
|
398
|
872 $(OUTDIR)\alloc.obj: $(TEMACS_SRC)\alloc.c
|
223
|
873
|
183
|
874 #$(TEMACS_SRC)\Emacs.ad.h: $(XEMACS)\etc\Emacs.ad
|
|
875 # !"sed -f ad2c.sed < $(XEMACS)\etc\Emacs.ad > $(TEMACS_SRC)\Emacs.ad.h"
|
118
|
876
|
183
|
877 #$(TEMACS_SRC)\paths.h: $(TEMACS_SRC)\paths.h.in
|
|
878 # !"cd $(TEMACS_SRC); cp paths.h.in paths.h"
|
118
|
879
|
412
|
880 $(TEMACS): $(TEMACS_INCLUDES) $(TEMACS_OBJS)
|
396
|
881 !if $(DEBUG_XEMACS)
|
|
882 @dir /b/s $(OUTDIR)\*.sbr > bscmake.tmp
|
|
883 bscmake -nologo -o$(TEMACS_BROWSE) @bscmake.tmp
|
412
|
884 @del bscmake.tmp
|
398
|
885 !endif
|
213
|
886 link.exe @<<
|
412
|
887 $(TEMACS_LFLAGS) $(TEMACS_OBJS) $(TEMACS_LIBS)
|
213
|
888 <<
|
|
889
|
396
|
890 $(OUTDIR)\xemacs.res: xemacs.rc
|
|
891 rc -Fo$@ xemacs.rc
|
213
|
892
|
418
|
893 # Section handling automated tests starts here
|
|
894
|
422
|
895 SRCDIR=..\src
|
|
896 PROGNAME=$(SRCDIR)\xemacs.exe
|
418
|
897 blddir=$(MAKEDIR:\=\\)\\..
|
422
|
898 temacs_loadup=$(TEMACS) -batch -l $(SRCDIR)/../lisp/loadup.el
|
418
|
899 dump_temacs = $(temacs_loadup) dump
|
|
900 run_temacs = $(temacs_loadup) run-temacs
|
|
901 ## We have automated tests!!
|
|
902 testdir=../tests/automated
|
|
903 batch_test_emacs=-batch -l $(testdir)/test-harness.el -f batch-test-emacs $(testdir)
|
|
904
|
|
905 # .PHONY: check check-temacs
|
|
906
|
|
907 check:
|
422
|
908 cd $(SRCDIR)
|
418
|
909 $(PROGNAME) $(batch_test_emacs)
|
|
910
|
|
911 check-temacs:
|
|
912 cd $(SRCDIR)
|
|
913 set EMACSBOOTSTRAPLOADPATH=$(LISP)
|
|
914 set EMACSBOOTSTRAPMODULEPATH=$(MODULES)
|
|
915 $(run_temacs) $(batch_test_emacs)
|
|
916
|
|
917 # Section handling automated tests ends here
|
|
918
|
422
|
919 # Section handling info starts here
|
|
920 MAKEINFO=$(PROGNAME) -no-site-file -no-init-file -batch -l texinfmt -f batch-texinfo-format
|
|
921
|
|
922 MANDIR = $(XEMACS)\man
|
|
923 INFODIR = $(XEMACS)\info
|
|
924 INFO_FILES= \
|
|
925 $(INFODIR)\cl.info \
|
|
926 $(INFODIR)\custom.info \
|
|
927 $(INFODIR)\emodules.info \
|
|
928 $(INFODIR)\external-widget.info \
|
|
929 $(INFODIR)\info.info \
|
|
930 $(INFODIR)\standards.info \
|
|
931 $(INFODIR)\term.info \
|
|
932 $(INFODIR)\termcap.info \
|
|
933 $(INFODIR)\texinfo.info \
|
|
934 $(INFODIR)\widget.info \
|
|
935 $(INFODIR)\xemacs-faq.info \
|
|
936 $(INFODIR)\xemacs.info \
|
|
937 $(INFODIR)\lispref.info \
|
|
938 $(INFODIR)\new-users-guide.info \
|
|
939 $(INFODIR)\internals.info
|
|
940
|
|
941 {$(MANDIR)}.texi{$(INFODIR)}.info:
|
|
942 $(MAKEINFO) $**
|
|
943
|
|
944 $(INFODIR)\xemacs.info: $(MANDIR)\xemacs\xemacs.texi
|
|
945 $(MAKEINFO) $**
|
|
946
|
|
947 $(MANDIR)\xemacs\xemacs.texi: \
|
|
948 $(MANDIR)\xemacs\abbrevs.texi \
|
|
949 $(MANDIR)\xemacs\basic.texi \
|
|
950 $(MANDIR)\xemacs\buffers.texi \
|
|
951 $(MANDIR)\xemacs\building.texi \
|
|
952 $(MANDIR)\xemacs\calendar.texi \
|
|
953 $(MANDIR)\xemacs\cmdargs.texi \
|
|
954 $(MANDIR)\xemacs\custom.texi \
|
|
955 $(MANDIR)\xemacs\display.texi \
|
|
956 $(MANDIR)\xemacs\entering.texi \
|
|
957 $(MANDIR)\xemacs\files.texi \
|
|
958 $(MANDIR)\xemacs\fixit.texi \
|
|
959 $(MANDIR)\xemacs\glossary.texi \
|
|
960 $(MANDIR)\xemacs\gnu.texi \
|
|
961 $(MANDIR)\xemacs\help.texi \
|
|
962 $(MANDIR)\xemacs\indent.texi \
|
|
963 $(MANDIR)\xemacs\keystrokes.texi \
|
|
964 $(MANDIR)\xemacs\killing.texi \
|
|
965 $(MANDIR)\xemacs\\xemacs.texi \
|
|
966 $(MANDIR)\xemacs\m-x.texi \
|
|
967 $(MANDIR)\xemacs\major.texi \
|
|
968 $(MANDIR)\xemacs\mark.texi \
|
|
969 $(MANDIR)\xemacs\menus.texi \
|
|
970 $(MANDIR)\xemacs\mini.texi \
|
|
971 $(MANDIR)\xemacs\misc.texi \
|
|
972 $(MANDIR)\xemacs\mouse.texi \
|
|
973 $(MANDIR)\xemacs\new.texi \
|
|
974 $(MANDIR)\xemacs\picture.texi \
|
|
975 $(MANDIR)\xemacs\programs.texi \
|
|
976 $(MANDIR)\xemacs\reading.texi \
|
|
977 $(MANDIR)\xemacs\regs.texi \
|
|
978 $(MANDIR)\xemacs\frame.texi \
|
|
979 $(MANDIR)\xemacs\search.texi \
|
|
980 $(MANDIR)\xemacs\sending.texi \
|
|
981 $(MANDIR)\xemacs\text.texi \
|
|
982 $(MANDIR)\xemacs\trouble.texi \
|
|
983 $(MANDIR)\xemacs\undo.texi \
|
|
984 $(MANDIR)\xemacs\windows.texi \
|
|
985
|
|
986
|
|
987 $(INFODIR)\lispref.info: $(MANDIR)\lispref\lispref.texi
|
|
988 copy $(MANDIR)\lispref\index.perm $(MANDIR)\lispref\index.texi
|
|
989 $(MAKEINFO) $**
|
|
990
|
|
991 $(MANDIR)\lispref\lispref.texi: \
|
|
992 $(MANDIR)\lispref\abbrevs.texi \
|
|
993 $(MANDIR)\lispref\annotations.texi \
|
|
994 $(MANDIR)\lispref\back.texi \
|
|
995 $(MANDIR)\lispref\backups.texi \
|
|
996 $(MANDIR)\lispref\buffers.texi \
|
|
997 $(MANDIR)\lispref\building.texi \
|
|
998 $(MANDIR)\lispref\commands.texi \
|
|
999 $(MANDIR)\lispref\compile.texi \
|
|
1000 $(MANDIR)\lispref\consoles-devices.texi \
|
|
1001 $(MANDIR)\lispref\control.texi \
|
|
1002 $(MANDIR)\lispref\databases.texi \
|
|
1003 $(MANDIR)\lispref\debugging.texi \
|
|
1004 $(MANDIR)\lispref\dialog.texi \
|
|
1005 $(MANDIR)\lispref\display.texi \
|
|
1006 $(MANDIR)\lispref\edebug-inc.texi \
|
|
1007 $(MANDIR)\lispref\edebug.texi \
|
|
1008 $(MANDIR)\lispref\errors.texi \
|
|
1009 $(MANDIR)\lispref\eval.texi \
|
|
1010 $(MANDIR)\lispref\extents.texi \
|
|
1011 $(MANDIR)\lispref\faces.texi \
|
|
1012 $(MANDIR)\lispref\files.texi \
|
|
1013 $(MANDIR)\lispref\frames.texi \
|
|
1014 $(MANDIR)\lispref\functions.texi \
|
|
1015 $(MANDIR)\lispref\glyphs.texi \
|
|
1016 $(MANDIR)\lispref\hash-tables.texi \
|
|
1017 $(MANDIR)\lispref\help.texi \
|
|
1018 $(MANDIR)\lispref\hooks.texi \
|
|
1019 $(MANDIR)\lispref\index.texi \
|
|
1020 $(MANDIR)\lispref\internationalization.texi \
|
|
1021 $(MANDIR)\lispref\intro.texi \
|
|
1022 $(MANDIR)\lispref\keymaps.texi \
|
|
1023 $(MANDIR)\lispref\ldap.texi \
|
|
1024 $(MANDIR)\lispref\lists.texi \
|
|
1025 $(MANDIR)\lispref\loading.texi \
|
|
1026 $(MANDIR)\lispref\locals.texi \
|
|
1027 $(MANDIR)\lispref\macros.texi \
|
|
1028 $(MANDIR)\lispref\maps.texi \
|
|
1029 $(MANDIR)\lispref\markers.texi \
|
|
1030 $(MANDIR)\lispref\menus.texi \
|
|
1031 $(MANDIR)\lispref\minibuf.texi \
|
|
1032 $(MANDIR)\lispref\modes.texi \
|
|
1033 $(MANDIR)\lispref\mouse.texi \
|
|
1034 $(MANDIR)\lispref\mule.texi \
|
|
1035 $(MANDIR)\lispref\numbers.texi \
|
|
1036 $(MANDIR)\lispref\objects.texi \
|
|
1037 $(MANDIR)\lispref\os.texi \
|
|
1038 $(MANDIR)\lispref\positions.texi \
|
|
1039 $(MANDIR)\lispref\processes.texi \
|
|
1040 $(MANDIR)\lispref\range-tables.texi \
|
|
1041 $(MANDIR)\lispref\scrollbars.texi \
|
|
1042 $(MANDIR)\lispref\searching.texi \
|
|
1043 $(MANDIR)\lispref\sequences.texi \
|
|
1044 $(MANDIR)\lispref\specifiers.texi \
|
|
1045 $(MANDIR)\lispref\streams.texi \
|
|
1046 $(MANDIR)\lispref\strings.texi \
|
|
1047 $(MANDIR)\lispref\symbols.texi \
|
|
1048 $(MANDIR)\lispref\syntax.texi \
|
|
1049 $(MANDIR)\lispref\text.texi \
|
|
1050 $(MANDIR)\lispref\tips.texi \
|
|
1051 $(MANDIR)\lispref\toolbar.texi \
|
|
1052 $(MANDIR)\lispref\tooltalk.texi \
|
|
1053 $(MANDIR)\lispref\variables.texi \
|
|
1054 $(MANDIR)\lispref\windows.texi \
|
|
1055 $(MANDIR)\lispref\x-windows.texi \
|
|
1056 $(MANDIR)\lispref\index.unperm \
|
|
1057 $(MANDIR)\lispref\index.perm \
|
|
1058
|
|
1059
|
|
1060 $(INFODIR)\new-users-guide.info: $(MANDIR)\new-users-guide\new-users-guide.texi
|
|
1061 $(MAKEINFO) $**
|
|
1062
|
|
1063 $(MANDIR)\new-users-guide\new-users-guide.texi: \
|
|
1064 $(MANDIR)\new-users-guide\custom1.texi \
|
|
1065 $(MANDIR)\new-users-guide\files.texi \
|
|
1066 $(MANDIR)\new-users-guide\region.texi \
|
|
1067 $(MANDIR)\new-users-guide\custom2.texi \
|
|
1068 $(MANDIR)\new-users-guide\help.texi \
|
|
1069 $(MANDIR)\new-users-guide\search.texi \
|
|
1070 $(MANDIR)\new-users-guide\edit.texi \
|
|
1071 $(MANDIR)\new-users-guide\modes.texi \
|
|
1072 $(MANDIR)\new-users-guide\xmenu.texi \
|
|
1073 $(MANDIR)\new-users-guide\enter.texi \
|
|
1074
|
|
1075
|
|
1076 $(INFODIR)\internals.info: $(MANDIR)\internals\internals.texi
|
|
1077 copy $(MANDIR)\internals\index.perm $(MANDIR)\internals\index.texi
|
|
1078 $(MAKEINFO) $**
|
|
1079
|
|
1080 $(MANDIR)\internals\internals.texi: \
|
|
1081 $(MANDIR)\internals\index.unperm \
|
|
1082 $(MANDIR)\internals\index.perm \
|
|
1083
|
|
1084
|
|
1085 info: $(INFO_FILES)
|
|
1086
|
|
1087 # Section handling info ends here
|
|
1088
|
118
|
1089 #------------------------------------------------------------------------------
|
|
1090
|
|
1091 # LISP bits 'n bobs
|
|
1092
|
213
|
1093 LOADPATH=$(LISP)
|
|
1094
|
412
|
1095 $(DOC): $(LIB_SRC)\make-docfile.exe
|
|
1096 -del $(DOC)
|
|
1097 $(TEMACS) -batch -l $(TEMACS_DIR)\..\lisp\make-docfile.el -- -o $(DOC) -i $(XEMACS)\site-packages
|
278
|
1098 $(LIB_SRC)\make-docfile.exe -a $(DOC) -d $(TEMACS_SRC) $(DOC_SRC1)
|
|
1099 $(LIB_SRC)\make-docfile.exe -a $(DOC) -d $(TEMACS_SRC) $(DOC_SRC2)
|
|
1100 $(LIB_SRC)\make-docfile.exe -a $(DOC) -d $(TEMACS_SRC) $(DOC_SRC3)
|
|
1101 $(LIB_SRC)\make-docfile.exe -a $(DOC) -d $(TEMACS_SRC) $(DOC_SRC4)
|
|
1102 $(LIB_SRC)\make-docfile.exe -a $(DOC) -d $(TEMACS_SRC) $(DOC_SRC5)
|
|
1103 $(LIB_SRC)\make-docfile.exe -a $(DOC) -d $(TEMACS_SRC) $(DOC_SRC6)
|
|
1104 $(LIB_SRC)\make-docfile.exe -a $(DOC) -d $(TEMACS_SRC) $(DOC_SRC7)
|
|
1105 $(LIB_SRC)\make-docfile.exe -a $(DOC) -d $(TEMACS_SRC) $(DOC_SRC8)
|
|
1106 $(LIB_SRC)\make-docfile.exe -a $(DOC) -d $(TEMACS_SRC) $(DOC_SRC9)
|
183
|
1107
|
398
|
1108 update-elc:
|
388
|
1109 set EMACSBOOTSTRAPLOADPATH=$(LISP);$(PACKAGE_PATH)
|
|
1110 set EMACSBOOTSTRAPMODULEPATH=$(MODULES)
|
412
|
1111 $(TEMACS) -batch -l $(TEMACS_DIR)\..\lisp\update-elc.el
|
223
|
1112
|
278
|
1113 # This rule dumps xemacs and then possibly spawns sub-make if PURESPACE
|
416
|
1114 # requirements have changed.
|
412
|
1115 dump-xemacs: $(TEMACS)
|
278
|
1116 @echo >$(TEMACS_DIR)\SATISFIED
|
269
|
1117 cd $(TEMACS_DIR)
|
388
|
1118 set EMACSBOOTSTRAPLOADPATH=$(LISP);$(PACKAGE_PATH)
|
412
|
1119 -1 $(TEMACS) -batch -l $(TEMACS_DIR)\..\lisp\loadup.el dump
|
|
1120 @cd $(NT)
|
278
|
1121 @if not exist $(TEMACS_DIR)\SATISFIED nmake -nologo -f xemacs.mak $@
|
412
|
1122
|
118
|
1123 #------------------------------------------------------------------------------
|
|
1124
|
|
1125 # use this rule to build the complete system
|
416
|
1126 all: $(XEMACS)\Installation $(OUTDIR)\nul $(LASTFILE) $(LWLIB) $(LIB_SRC_TOOLS) $(RUNEMACS) \
|
422
|
1127 $(TEMACS) update-elc $(DOC) dump-xemacs info
|
118
|
1128
|
412
|
1129 temacs: $(TEMACS)
|
231
|
1130
|
118
|
1131 # use this rule to install the system
|
373
|
1132 install: all
|
|
1133 @echo Installing in $(INSTALL_DIR) ...
|
384
|
1134 @echo PlaceHolder > PlaceHolder
|
373
|
1135 @xcopy /q PROBLEMS "$(INSTALL_DIR)\"
|
384
|
1136 @xcopy /q PlaceHolder "$(INSTALL_DIR)\lock\"
|
412
|
1137 @del "$(INSTALL_DIR)\lock\PlaceHolder"
|
298
|
1138 @xcopy /q $(LIB_SRC)\*.exe "$(INSTALL_DIR)\$(EMACS_CONFIGURATION)\"
|
373
|
1139 @copy $(LIB_SRC)\DOC "$(INSTALL_DIR)\$(EMACS_CONFIGURATION)"
|
382
|
1140 @copy $(CONFIG_VALUES) "$(INSTALL_DIR)\$(EMACS_CONFIGURATION)"
|
412
|
1141 @copy $(XEMACS)\src\xemacs.exe "$(INSTALL_DIR)\$(EMACS_CONFIGURATION)"
|
|
1142 @copy $(RUNEMACS) "$(INSTALL_DIR)\$(EMACS_CONFIGURATION)"
|
298
|
1143 @xcopy /e /q $(XEMACS)\etc "$(INSTALL_DIR)\etc\"
|
|
1144 @xcopy /e /q $(XEMACS)\info "$(INSTALL_DIR)\info\"
|
|
1145 @xcopy /e /q $(XEMACS)\lisp "$(INSTALL_DIR)\lisp\"
|
384
|
1146 @echo Making skeleton package tree in $(PACKAGE_PREFIX) ...
|
|
1147 @xcopy /q PlaceHolder "$(PACKAGE_PREFIX)\site-packages\"
|
412
|
1148 @del "$(PACKAGE_PREFIX)\site-packages\PlaceHolder"
|
384
|
1149 @xcopy /q PlaceHolder "$(PACKAGE_PREFIX)\mule-packages\"
|
412
|
1150 @del "$(PACKAGE_PREFIX)\mule-packages\PlaceHolder"
|
384
|
1151 @xcopy /q PlaceHolder "$(PACKAGE_PREFIX)\xemacs-packages\"
|
412
|
1152 @del "$(PACKAGE_PREFIX)\xemacs-packages\PlaceHolder"
|
|
1153 @del PlaceHolder
|
371
|
1154
|
213
|
1155 distclean:
|
412
|
1156 del *.bak
|
|
1157 del *.orig
|
|
1158 del *.rej
|
|
1159 del *.tmp
|
416
|
1160 del $(XEMACS)\Installation
|
213
|
1161 cd $(OUTDIR)
|
412
|
1162 del *.lib
|
|
1163 del *.obj
|
|
1164 del *.pdb
|
|
1165 del *.res
|
|
1166 del *.sbr
|
286
|
1167 cd $(XEMACS)\$(TEMACS_DIR)
|
412
|
1168 del config.h
|
|
1169 del paths.h
|
|
1170 del Emacs.ad.h
|
|
1171 del *.bak
|
|
1172 del *.orig
|
|
1173 del *.rej
|
|
1174 del *.exe
|
|
1175 del *.map
|
|
1176 del *.bsc
|
|
1177 del *.pdb
|
213
|
1178 cd $(LIB_SRC)
|
412
|
1179 del DOC
|
|
1180 del *.bak
|
|
1181 del *.orig
|
|
1182 del *.rej
|
|
1183 del *.exe
|
|
1184 del *.obj
|
|
1185 del *.pdb
|
|
1186 del *.res
|
|
1187 del $(CONFIG_VALUES)
|
213
|
1188 cd $(LISP)
|
412
|
1189 -del /s /q *.bak *.elc *.orig *.rej
|
422
|
1190 cd $(INFODIR)
|
|
1191 del *.info* $(MANDIR)\internals\index.texi $(MANDIR)\lispref\index.texi
|
213
|
1192
|
|
1193 depend:
|
412
|
1194 mkdepend -f xemacs.mak -p$(OUTDIR)\ -o.obj -w9999 -- $(TEMACS_CPP_FLAGS) -- $(DOC_SRC1) $(DOC_SRC2) $(DOC_SRC3) $(DOC_SRC4) $(DOC_SRC5) $(DOC_SRC6) $(DOC_SRC7) $(DOC_SRC8) $(DOC_SRC9) $(LASTFILE_SRC)\lastfile.c $(LIB_SRC)\make-docfile.c $(LIB_SRC)\run.c
|
398
|
1195
|
416
|
1196 $(XEMACS)\Installation:
|
|
1197 @type > $(XEMACS)\Installation <<
|
398
|
1198 !if defined(OS)
|
|
1199 OS: $(OS)
|
|
1200 !endif
|
|
1201
|
|
1202 XEmacs $(XEMACS_VERSION_STRING) $(xemacs_codename:"=\") configured for `$(EMACS_CONFIGURATION)'.
|
|
1203
|
|
1204 Building XEmacs in \"$(MAKEDIR:\=\\)\".
|
|
1205 !if defined(CCV)
|
|
1206 Using compiler \"$(CC) $(CFLAGS)\".
|
|
1207 !endif
|
|
1208 Installing XEmacs in \"$(INSTALL_DIR:\=\\)\".
|
|
1209 Package path is $(PATH_PACKAGEPATH:"=\").
|
|
1210 !if $(INFODOCK)
|
|
1211 Building InfoDock.
|
|
1212 !endif
|
412
|
1213 !if $(HAVE_MSW)
|
398
|
1214 Compiling in support for Microsoft Windows native GUI.
|
|
1215 !endif
|
412
|
1216 !if $(HAVE_X)
|
398
|
1217 Compiling in support for X-Windows.
|
|
1218 !endif
|
|
1219 !if $(HAVE_MULE)
|
|
1220 Compiling in MULE.
|
|
1221 !endif
|
|
1222 !if $(HAVE_XPM)
|
|
1223 Compiling in support for XPM images.
|
|
1224 !else
|
|
1225 --------------------------------------------------------------------
|
|
1226 WARNING: Compiling without XPM support.
|
|
1227 WARNING: You should strongly consider installing XPM.
|
|
1228 WARNING: Otherwise toolbars and other graphics will look suboptimal.
|
|
1229 WARNING: (a copy may be found in ftp://ftp.xemacs.org/pub/xemacs/aux)
|
|
1230 --------------------------------------------------------------------
|
|
1231 !endif
|
|
1232 !if $(HAVE_GIF)
|
|
1233 Compiling in support for GIF images.
|
|
1234 !endif
|
|
1235 !if $(HAVE_PNG)
|
|
1236 Compiling in support for PNG images.
|
|
1237 !else
|
|
1238 --------------------------------------------------------------------
|
|
1239 WARNING: Compiling without PNG image support.
|
|
1240 WARNING: You should strongly consider installing the PNG libraries.
|
|
1241 WARNING: Otherwise certain images and glyphs may not display.
|
|
1242 WARNING: (a copy may be found in ftp://ftp.xemacs.org/pub/xemacs/aux
|
|
1243 --------------------------------------------------------------------
|
|
1244 !endif
|
|
1245 !if $(HAVE_TIFF)
|
|
1246 Compiling in support for TIFF images.
|
|
1247 !endif
|
|
1248 !if $(HAVE_JPEG)
|
|
1249 Compiling in support for JPEG images.
|
|
1250 !endif
|
|
1251 !if $(HAVE_XFACE)
|
|
1252 Compiling in support for X-Face message headers.
|
|
1253 !endif
|
|
1254 !if $(HAVE_TOOLBARS)
|
|
1255 Compiling in support for toolbars.
|
|
1256 !endif
|
|
1257 !if $(HAVE_DIALOGS)
|
|
1258 Compiling in support for dialogs.
|
|
1259 !endif
|
|
1260 !if $(HAVE_NATIVE_SOUND)
|
|
1261 Compiling in support for native sounds.
|
|
1262 !endif
|
|
1263 !if $(HAVE_MSW_C_DIRED)
|
|
1264 Compiling in fast dired implementation.
|
|
1265 !else
|
|
1266 --------------------------------------------------------------------
|
|
1267 WARNING: Define HAVE_MSW_C_DIRED to be non-zero if you want XEmacs
|
|
1268 WARNING: to use C primitives to significantly speed up dired, at the
|
|
1269 WARNING: expense of an additional ~4KB of code.
|
|
1270 --------------------------------------------------------------------
|
|
1271 !endif
|
|
1272 !if $(USE_MINIMAL_TAGBITS)
|
|
1273 Using minimal tagbits.
|
|
1274 !endif
|
|
1275 !if $(USE_INDEXED_LRECORD_IMPLEMENTATION)
|
|
1276 Using indexed lrecord implementation.
|
|
1277 !endif
|
|
1278 !if $(USE_UNION_TYPE)
|
|
1279 Using union type for Lisp object storage.
|
|
1280 !endif
|
|
1281 !if $(DEBUG_XEMACS)
|
|
1282 Compiling in extra debug checks. XEmacs will be slow!
|
|
1283 !endif
|
|
1284 <<NOKEEP
|
|
1285 @echo --------------------------------------------------------------------
|
416
|
1286 @type $(XEMACS)\Installation
|
398
|
1287 @echo --------------------------------------------------------------------
|
|
1288
|
213
|
1289 # DO NOT DELETE THIS LINE -- make depend depends on it.
|
267
|
1290
|