annotate nt/xemacs.mak @ 404:2f8bb876ab1d r21-2-32

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