annotate nt/xemacs.mak @ 406:b8cc9ab3f761 r21-2-33

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