annotate nt/xemacs.mak @ 412:697ef44129c6 r21-2-14

Import from CVS: tag r21-2-14
author cvs
date Mon, 13 Aug 2007 11:20:41 +0200
parents de805c49cfc1
children da8ed4261e83
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
388
aabb7f5b1c81 Import from CVS: tag r21-2-9
cvs
parents: 384
diff changeset
29 MODULES=$(XEMACS)\modules
304
c6de09ad3017 Import from CVS: tag r21-0b50
cvs
parents: 298
diff changeset
30 NT=$(XEMACS)\nt
396
6719134a07c2 Import from CVS: tag r21-2-13
cvs
parents: 394
diff changeset
31 OUTDIR=$(NT)\obj
398
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
32
298
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
33 # Program name and version
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
34
412
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
35 !include "..\version.sh"
404
2f8bb876ab1d Import from CVS: tag r21-2-32
cvs
parents: 398
diff changeset
36
298
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
37 !if !defined(INFODOCK)
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
38 INFODOCK=0
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
39 !endif
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
40
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
41 !if $(INFODOCK)
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
42 INFODOCK_VERSION_STRING=$(infodock_major_version).$(infodock_minor_version).$(infodock_build_version)
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
43 PROGRAM_DEFINES=-DINFODOCK \
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
44 -DPATH_VERSION=\"$(INFODOCK_VERSION_STRING)\" \
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
45 -DPATH_PROGNAME=\"infodock\" \
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
46 -DINFODOCK_MAJOR_VERSION=$(infodock_major_version) \
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
47 -DINFODOCK_MINOR_VERSION=$(infodock_minor_version) \
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
48 -DINFODOCK_BUILD_VERSION=$(infodock_build_version)
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
49 !else
371
cc15677e0335 Import from CVS: tag r21-2b1
cvs
parents: 367
diff changeset
50 !if "$(emacs_beta_version)" != ""
298
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
51 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
52 !else
371
cc15677e0335 Import from CVS: tag r21-2b1
cvs
parents: 367
diff changeset
53 XEMACS_VERSION_STRING=$(emacs_major_version).$(emacs_minor_version)
298
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
54 !endif
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
55 PROGRAM_DEFINES= \
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
56 -DPATH_VERSION=\"$(XEMACS_VERSION_STRING)\" \
412
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
57 -DPATH_PROGNAME=\"xemacs\"
298
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
58 !endif
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
59
274
ca9a9ec9c1c1 Import from CVS: tag r21-0b35
cvs
parents: 269
diff changeset
60 #
ca9a9ec9c1c1 Import from CVS: tag r21-0b35
cvs
parents: 269
diff changeset
61 # Command line options defaults
ca9a9ec9c1c1 Import from CVS: tag r21-0b35
cvs
parents: 269
diff changeset
62 #
298
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
63 !if !defined(INSTALL_DIR)
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
64 ! if $(INFODOCK)
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
65 INSTALL_DIR=c:\Program Files\Infodock\Infodock-$(INFODOCK_VERSION_STRING)
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
66 ! else
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
67 INSTALL_DIR=c:\Program Files\XEmacs\XEmacs-$(XEMACS_VERSION_STRING)
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 !endif
396
6719134a07c2 Import from CVS: tag r21-2-13
cvs
parents: 394
diff changeset
70 !if !defined(HAVE_MULE)
6719134a07c2 Import from CVS: tag r21-2-13
cvs
parents: 394
diff changeset
71 HAVE_MULE=0
6719134a07c2 Import from CVS: tag r21-2-13
cvs
parents: 394
diff changeset
72 !endif
384
bbff43aa5eb7 Import from CVS: tag r21-2-7
cvs
parents: 382
diff changeset
73 !if !defined(PACKAGE_PATH)
bbff43aa5eb7 Import from CVS: tag r21-2-7
cvs
parents: 382
diff changeset
74 ! if !defined(PACKAGE_PREFIX)
bbff43aa5eb7 Import from CVS: tag r21-2-7
cvs
parents: 382
diff changeset
75 PACKAGE_PREFIX=c:\Program Files\XEmacs
bbff43aa5eb7 Import from CVS: tag r21-2-7
cvs
parents: 382
diff changeset
76 ! endif
396
6719134a07c2 Import from CVS: tag r21-2-13
cvs
parents: 394
diff changeset
77 ! if $(HAVE_MULE)
384
bbff43aa5eb7 Import from CVS: tag r21-2-7
cvs
parents: 382
diff changeset
78 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
79 ! else
6719134a07c2 Import from CVS: tag r21-2-13
cvs
parents: 394
diff changeset
80 PACKAGE_PATH=~\.xemacs;;$(PACKAGE_PREFIX)\site-packages;$(PACKAGE_PREFIX)\xemacs-packages
6719134a07c2 Import from CVS: tag r21-2-13
cvs
parents: 394
diff changeset
81 ! endif
274
ca9a9ec9c1c1 Import from CVS: tag r21-0b35
cvs
parents: 269
diff changeset
82 !endif
384
bbff43aa5eb7 Import from CVS: tag r21-2-7
cvs
parents: 382
diff changeset
83 PATH_PACKAGEPATH="$(PACKAGE_PATH:\=\\)"
412
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
84 !if !defined(HAVE_MSW)
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
85 HAVE_MSW=1
274
ca9a9ec9c1c1 Import from CVS: tag r21-0b35
cvs
parents: 269
diff changeset
86 !endif
412
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
87 !if !defined(HAVE_X)
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
88 HAVE_X=0
274
ca9a9ec9c1c1 Import from CVS: tag r21-0b35
cvs
parents: 269
diff changeset
89 !endif
276
6330739388db Import from CVS: tag r21-0b36
cvs
parents: 274
diff changeset
90 !if !defined(HAVE_XPM)
6330739388db Import from CVS: tag r21-0b36
cvs
parents: 274
diff changeset
91 HAVE_XPM=0
6330739388db Import from CVS: tag r21-0b36
cvs
parents: 274
diff changeset
92 !endif
373
6240c7796c7a Import from CVS: tag r21-2b2
cvs
parents: 371
diff changeset
93 !if !defined(HAVE_PNG)
6240c7796c7a Import from CVS: tag r21-2b2
cvs
parents: 371
diff changeset
94 HAVE_PNG=0
6240c7796c7a Import from CVS: tag r21-2b2
cvs
parents: 371
diff changeset
95 !endif
6240c7796c7a Import from CVS: tag r21-2b2
cvs
parents: 371
diff changeset
96 !if !defined(HAVE_TIFF)
6240c7796c7a Import from CVS: tag r21-2b2
cvs
parents: 371
diff changeset
97 HAVE_TIFF=0
6240c7796c7a Import from CVS: tag r21-2b2
cvs
parents: 371
diff changeset
98 !endif
6240c7796c7a Import from CVS: tag r21-2b2
cvs
parents: 371
diff changeset
99 !if !defined(HAVE_JPEG)
6240c7796c7a Import from CVS: tag r21-2b2
cvs
parents: 371
diff changeset
100 HAVE_JPEG=0
6240c7796c7a Import from CVS: tag r21-2b2
cvs
parents: 371
diff changeset
101 !endif
394
7d59cb494b73 Import from CVS: tag r21-2-12
cvs
parents: 388
diff changeset
102 !if !defined(HAVE_XFACE)
7d59cb494b73 Import from CVS: tag r21-2-12
cvs
parents: 388
diff changeset
103 HAVE_XFACE=0
7d59cb494b73 Import from CVS: tag r21-2-12
cvs
parents: 388
diff changeset
104 !endif
373
6240c7796c7a Import from CVS: tag r21-2b2
cvs
parents: 371
diff changeset
105 !if !defined(HAVE_GIF)
6240c7796c7a Import from CVS: tag r21-2b2
cvs
parents: 371
diff changeset
106 HAVE_GIF=1
6240c7796c7a Import from CVS: tag r21-2b2
cvs
parents: 371
diff changeset
107 !endif
276
6330739388db Import from CVS: tag r21-0b36
cvs
parents: 274
diff changeset
108 !if !defined(HAVE_TOOLBARS)
6330739388db Import from CVS: tag r21-0b36
cvs
parents: 274
diff changeset
109 HAVE_TOOLBARS=$(HAVE_XPM)
6330739388db Import from CVS: tag r21-0b36
cvs
parents: 274
diff changeset
110 !endif
286
57709be46d1b Import from CVS: tag r21-0b41
cvs
parents: 284
diff changeset
111 !if !defined(HAVE_DIALOGS)
57709be46d1b Import from CVS: tag r21-0b41
cvs
parents: 284
diff changeset
112 HAVE_DIALOGS=1
57709be46d1b Import from CVS: tag r21-0b41
cvs
parents: 284
diff changeset
113 !endif
274
ca9a9ec9c1c1 Import from CVS: tag r21-0b35
cvs
parents: 269
diff changeset
114 !if !defined(HAVE_MSW_C_DIRED)
ca9a9ec9c1c1 Import from CVS: tag r21-0b35
cvs
parents: 269
diff changeset
115 HAVE_MSW_C_DIRED=1
ca9a9ec9c1c1 Import from CVS: tag r21-0b35
cvs
parents: 269
diff changeset
116 !endif
298
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
117 !if !defined(HAVE_NATIVE_SOUND)
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
118 HAVE_NATIVE_SOUND=1
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
119 !endif
274
ca9a9ec9c1c1 Import from CVS: tag r21-0b35
cvs
parents: 269
diff changeset
120 !if !defined(DEBUG_XEMACS)
298
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
121 DEBUG_XEMACS=0
274
ca9a9ec9c1c1 Import from CVS: tag r21-0b35
cvs
parents: 269
diff changeset
122 !endif
ca9a9ec9c1c1 Import from CVS: tag r21-0b35
cvs
parents: 269
diff changeset
123 !if !defined(USE_UNION_TYPE)
ca9a9ec9c1c1 Import from CVS: tag r21-0b35
cvs
parents: 269
diff changeset
124 USE_UNION_TYPE=0
ca9a9ec9c1c1 Import from CVS: tag r21-0b35
cvs
parents: 269
diff changeset
125 !endif
ca9a9ec9c1c1 Import from CVS: tag r21-0b35
cvs
parents: 269
diff changeset
126 !if !defined(USE_MINIMAL_TAGBITS)
ca9a9ec9c1c1 Import from CVS: tag r21-0b35
cvs
parents: 269
diff changeset
127 USE_MINIMAL_TAGBITS=0
ca9a9ec9c1c1 Import from CVS: tag r21-0b35
cvs
parents: 269
diff changeset
128 !endif
ca9a9ec9c1c1 Import from CVS: tag r21-0b35
cvs
parents: 269
diff changeset
129 !if !defined(USE_INDEXED_LRECORD_IMPLEMENTATION)
ca9a9ec9c1c1 Import from CVS: tag r21-0b35
cvs
parents: 269
diff changeset
130 USE_INDEXED_LRECORD_IMPLEMENTATION=0
ca9a9ec9c1c1 Import from CVS: tag r21-0b35
cvs
parents: 269
diff changeset
131 !endif
298
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
132
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
133 #
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
134 # System configuration
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
135 #
396
6719134a07c2 Import from CVS: tag r21-2-13
cvs
parents: 394
diff changeset
136 !if !defined(OS)
6719134a07c2 Import from CVS: tag r21-2-13
cvs
parents: 394
diff changeset
137 OS=Windows_95/98
388
aabb7f5b1c81 Import from CVS: tag r21-2-9
cvs
parents: 384
diff changeset
138 EMACS_CONFIGURATION=i586-pc-win32
298
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
139 !else if "$(PROCESSOR_ARCHITECTURE)" == "x86"
388
aabb7f5b1c81 Import from CVS: tag r21-2-9
cvs
parents: 384
diff changeset
140 EMACS_CONFIGURATION=i586-pc-win32
298
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
141 !else if "$(PROCESSOR_ARCHITECTURE)" == "MIPS"
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
142 EMACS_CONFIGURATION=mips-pc-win32
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
143 !else if "$(PROCESSOR_ARCHITECTURE)" == "ALPHA"
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
144 EMACS_CONFIGURATION=alpha-pc-win32
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
145 !else if "$(PROCESSOR_ARCHITECTURE)" == "PPC"
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
146 EMACS_CONFIGURATION=ppc-pc-win32
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
147 !else
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
148 ! error Unknown processor architecture type $(PROCESSOR_ARCHITECTURE)
288
e11d67e05968 Import from CVS: tag r21-0b42
cvs
parents: 286
diff changeset
149 !endif
213
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
150
274
ca9a9ec9c1c1 Import from CVS: tag r21-0b35
cvs
parents: 269
diff changeset
151 #
ca9a9ec9c1c1 Import from CVS: tag r21-0b35
cvs
parents: 269
diff changeset
152 # Conf error checks
ca9a9ec9c1c1 Import from CVS: tag r21-0b35
cvs
parents: 269
diff changeset
153 #
278
90d73dddcdc4 Import from CVS: tag r21-0b37
cvs
parents: 276
diff changeset
154 CONFIG_ERROR=0
288
e11d67e05968 Import from CVS: tag r21-0b42
cvs
parents: 286
diff changeset
155 !if $(INFODOCK) && !exist("..\..\Infodock.rules")
e11d67e05968 Import from CVS: tag r21-0b42
cvs
parents: 286
diff changeset
156 !message Cannot build InfoDock without InfoDock sources
e11d67e05968 Import from CVS: tag r21-0b42
cvs
parents: 286
diff changeset
157 CONFIG_ERROR=1
e11d67e05968 Import from CVS: tag r21-0b42
cvs
parents: 286
diff changeset
158 !endif
412
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
159 !if !$(HAVE_MSW) && !$(HAVE_X)
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
160 !message Please specify at least one HAVE_MSW=1 and/or HAVE_X=1
398
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
161 CONFIG_ERROR=1
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
162 !endif
412
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
163 !if $(HAVE_X) && !defined(X11_DIR)
278
90d73dddcdc4 Import from CVS: tag r21-0b37
cvs
parents: 276
diff changeset
164 !message Please specify root directory for your X11 installation: X11_DIR=path
90d73dddcdc4 Import from CVS: tag r21-0b37
cvs
parents: 276
diff changeset
165 CONFIG_ERROR=1
90d73dddcdc4 Import from CVS: tag r21-0b37
cvs
parents: 276
diff changeset
166 !endif
412
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
167 !if $(HAVE_X) && defined(X11_DIR) && !exist("$(X11_DIR)\LIB\X11.LIB")
278
90d73dddcdc4 Import from CVS: tag r21-0b37
cvs
parents: 276
diff changeset
168 !message Specified X11 directory does not contain "$(X11_DIR)\LIB\X11.LIB"
90d73dddcdc4 Import from CVS: tag r21-0b37
cvs
parents: 276
diff changeset
169 CONFIG_ERROR=1
274
ca9a9ec9c1c1 Import from CVS: tag r21-0b35
cvs
parents: 269
diff changeset
170 !endif
412
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
171 !if $(HAVE_MSW) && $(HAVE_XPM) && !defined(XPM_DIR)
278
90d73dddcdc4 Import from CVS: tag r21-0b37
cvs
parents: 276
diff changeset
172 !message Please specify root directory for your XPM installation: XPM_DIR=path
90d73dddcdc4 Import from CVS: tag r21-0b37
cvs
parents: 276
diff changeset
173 CONFIG_ERROR=1
90d73dddcdc4 Import from CVS: tag r21-0b37
cvs
parents: 276
diff changeset
174 !endif
412
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
175 !if $(HAVE_MSW) && $(HAVE_XPM) && defined(XPM_DIR) && !exist("$(XPM_DIR)\lib\Xpm.lib")
294
4b85ae5eabfb Import from CVS: tag r21-0b45
cvs
parents: 288
diff changeset
176 !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
177 CONFIG_ERROR=1
276
6330739388db Import from CVS: tag r21-0b36
cvs
parents: 274
diff changeset
178 !endif
412
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
179 !if $(HAVE_MSW) && $(HAVE_PNG) && !defined(PNG_DIR)
373
6240c7796c7a Import from CVS: tag r21-2b2
cvs
parents: 371
diff changeset
180 !message Please specify root directory for your PNG installation: PNG_DIR=path
6240c7796c7a Import from CVS: tag r21-2b2
cvs
parents: 371
diff changeset
181 CONFIG_ERROR=1
6240c7796c7a Import from CVS: tag r21-2b2
cvs
parents: 371
diff changeset
182 !endif
412
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
183 !if $(HAVE_MSW) && $(HAVE_PNG) && defined(PNG_DIR) && !exist("$(PNG_DIR)\libpng.lib")
373
6240c7796c7a Import from CVS: tag r21-2b2
cvs
parents: 371
diff changeset
184 !message Specified PNG directory does not contain "$(PNG_DIR)\libpng.lib"
6240c7796c7a Import from CVS: tag r21-2b2
cvs
parents: 371
diff changeset
185 CONFIG_ERROR=1
6240c7796c7a Import from CVS: tag r21-2b2
cvs
parents: 371
diff changeset
186 !endif
412
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
187 !if $(HAVE_MSW) && $(HAVE_PNG) && !defined(ZLIB_DIR)
373
6240c7796c7a Import from CVS: tag r21-2b2
cvs
parents: 371
diff changeset
188 !message Please specify root directory for your ZLIB installation: ZLIB_DIR=path
6240c7796c7a Import from CVS: tag r21-2b2
cvs
parents: 371
diff changeset
189 CONFIG_ERROR=1
6240c7796c7a Import from CVS: tag r21-2b2
cvs
parents: 371
diff changeset
190 !endif
412
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
191 !if $(HAVE_MSW) && $(HAVE_PNG) && defined(ZLIB_DIR) && !exist("$(ZLIB_DIR)\zlib.lib")
373
6240c7796c7a Import from CVS: tag r21-2b2
cvs
parents: 371
diff changeset
192 !message Specified ZLIB directory does not contain "$(ZLIB_DIR)\zlib.lib"
6240c7796c7a Import from CVS: tag r21-2b2
cvs
parents: 371
diff changeset
193 CONFIG_ERROR=1
6240c7796c7a Import from CVS: tag r21-2b2
cvs
parents: 371
diff changeset
194 !endif
412
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
195 !if $(HAVE_MSW) && $(HAVE_TIFF) && !defined(TIFF_DIR)
373
6240c7796c7a Import from CVS: tag r21-2b2
cvs
parents: 371
diff changeset
196 !message Please specify root directory for your TIFF installation: TIFF_DIR=path
6240c7796c7a Import from CVS: tag r21-2b2
cvs
parents: 371
diff changeset
197 CONFIG_ERROR=1
6240c7796c7a Import from CVS: tag r21-2b2
cvs
parents: 371
diff changeset
198 !endif
412
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
199 !if $(HAVE_MSW) && $(HAVE_TIFF) && !exist("$(TIFF_DIR)\libtiff\libtiff.lib")
373
6240c7796c7a Import from CVS: tag r21-2b2
cvs
parents: 371
diff changeset
200 !message Specified TIFF directory does not contain "$(TIFF_DIR)\libtiff\libtiff.lib"
6240c7796c7a Import from CVS: tag r21-2b2
cvs
parents: 371
diff changeset
201 CONFIG_ERROR=1
6240c7796c7a Import from CVS: tag r21-2b2
cvs
parents: 371
diff changeset
202 !endif
412
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
203 !if $(HAVE_MSW) && $(HAVE_JPEG) && !defined(JPEG_DIR)
373
6240c7796c7a Import from CVS: tag r21-2b2
cvs
parents: 371
diff changeset
204 !message Please specify root directory for your JPEG installation: JPEG_DIR=path
6240c7796c7a Import from CVS: tag r21-2b2
cvs
parents: 371
diff changeset
205 CONFIG_ERROR=1
6240c7796c7a Import from CVS: tag r21-2b2
cvs
parents: 371
diff changeset
206 !endif
412
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
207 !if $(HAVE_MSW) && $(HAVE_JPEG) && !exist("$(JPEG_DIR)\libjpeg.lib")
373
6240c7796c7a Import from CVS: tag r21-2b2
cvs
parents: 371
diff changeset
208 !message Specified JPEG directory does not contain "$(JPEG_DIR)\libjpeg.lib"
6240c7796c7a Import from CVS: tag r21-2b2
cvs
parents: 371
diff changeset
209 CONFIG_ERROR=1
6240c7796c7a Import from CVS: tag r21-2b2
cvs
parents: 371
diff changeset
210 !endif
412
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
211 !if $(HAVE_MSW) && $(HAVE_XFACE) && !defined(COMPFACE_DIR)
394
7d59cb494b73 Import from CVS: tag r21-2-12
cvs
parents: 388
diff changeset
212 !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
213 CONFIG_ERROR=1
7d59cb494b73 Import from CVS: tag r21-2-12
cvs
parents: 388
diff changeset
214 !endif
412
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
215 !if $(HAVE_MSW) && $(HAVE_XFACE) && !exist("$(COMPFACE_DIR)\libcompface.lib")
394
7d59cb494b73 Import from CVS: tag r21-2-12
cvs
parents: 388
diff changeset
216 !message Specified COMPFACE directory does not contain "$(COMPFACE_DIR)\libcompface.lib"
7d59cb494b73 Import from CVS: tag r21-2-12
cvs
parents: 388
diff changeset
217 CONFIG_ERROR=1
7d59cb494b73 Import from CVS: tag r21-2-12
cvs
parents: 388
diff changeset
218 !endif
412
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
219 !if $(HAVE_MSW) && $(HAVE_TOOLBARS) && !$(HAVE_XPM)
396
6719134a07c2 Import from CVS: tag r21-2-13
cvs
parents: 394
diff changeset
220 !message Toolbars require XPM support
278
90d73dddcdc4 Import from CVS: tag r21-0b37
cvs
parents: 276
diff changeset
221 CONFIG_ERROR=1
90d73dddcdc4 Import from CVS: tag r21-0b37
cvs
parents: 276
diff changeset
222 !endif
90d73dddcdc4 Import from CVS: tag r21-0b37
cvs
parents: 276
diff changeset
223 !if $(CONFIG_ERROR)
90d73dddcdc4 Import from CVS: tag r21-0b37
cvs
parents: 276
diff changeset
224 !error Configuration error(s) found
276
6330739388db Import from CVS: tag r21-0b36
cvs
parents: 274
diff changeset
225 !endif
274
ca9a9ec9c1c1 Import from CVS: tag r21-0b35
cvs
parents: 269
diff changeset
226
ca9a9ec9c1c1 Import from CVS: tag r21-0b35
cvs
parents: 269
diff changeset
227 #
ca9a9ec9c1c1 Import from CVS: tag r21-0b35
cvs
parents: 269
diff changeset
228 # Handle GUNG_HO
ca9a9ec9c1c1 Import from CVS: tag r21-0b35
cvs
parents: 269
diff changeset
229 #
ca9a9ec9c1c1 Import from CVS: tag r21-0b35
cvs
parents: 269
diff changeset
230 !if defined(GUNG_HO)
ca9a9ec9c1c1 Import from CVS: tag r21-0b35
cvs
parents: 269
diff changeset
231 USE_MINIMAL_TAGBITS=$(GUNG_HO)
ca9a9ec9c1c1 Import from CVS: tag r21-0b35
cvs
parents: 269
diff changeset
232 USE_INDEXED_LRECORD_IMPLEMENTATION=$(GUNG_HO)
ca9a9ec9c1c1 Import from CVS: tag r21-0b35
cvs
parents: 269
diff changeset
233 !endif
219
262b8bb4a523 Import from CVS: tag r20-4b8
cvs
parents: 217
diff changeset
234
274
ca9a9ec9c1c1 Import from CVS: tag r21-0b35
cvs
parents: 269
diff changeset
235 #
412
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
236 # Compiler command echo control. Define VERBOSECC=1 to get vebose compilation.
278
90d73dddcdc4 Import from CVS: tag r21-0b37
cvs
parents: 276
diff changeset
237 #
90d73dddcdc4 Import from CVS: tag r21-0b37
cvs
parents: 276
diff changeset
238 !if !defined(VERBOSECC)
90d73dddcdc4 Import from CVS: tag r21-0b37
cvs
parents: 276
diff changeset
239 VERBOSECC=0
90d73dddcdc4 Import from CVS: tag r21-0b37
cvs
parents: 276
diff changeset
240 !endif
90d73dddcdc4 Import from CVS: tag r21-0b37
cvs
parents: 276
diff changeset
241 !if $(VERBOSECC)
388
aabb7f5b1c81 Import from CVS: tag r21-2-9
cvs
parents: 384
diff changeset
242 CCV=$(CC)
278
90d73dddcdc4 Import from CVS: tag r21-0b37
cvs
parents: 276
diff changeset
243 !else
388
aabb7f5b1c81 Import from CVS: tag r21-2-9
cvs
parents: 384
diff changeset
244 CCV=@$(CC)
278
90d73dddcdc4 Import from CVS: tag r21-0b37
cvs
parents: 276
diff changeset
245 !endif
90d73dddcdc4 Import from CVS: tag r21-0b37
cvs
parents: 276
diff changeset
246
219
262b8bb4a523 Import from CVS: tag r20-4b8
cvs
parents: 217
diff changeset
247 !if $(DEBUG_XEMACS)
183
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
248 OPT=-Od -Zi
219
262b8bb4a523 Import from CVS: tag r20-4b8
cvs
parents: 217
diff changeset
249 !else
396
6719134a07c2 Import from CVS: tag r21-2-13
cvs
parents: 394
diff changeset
250 OPT=-O2 -G5
219
262b8bb4a523 Import from CVS: tag r20-4b8
cvs
parents: 217
diff changeset
251 !endif
183
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
252
412
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
253 CFLAGS=-nologo -W3 $(OPT)
398
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
254
412
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
255 !if $(HAVE_X)
213
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
256 X_DEFINES=-DHAVE_X_WINDOWS
274
ca9a9ec9c1c1 Import from CVS: tag r21-0b35
cvs
parents: 269
diff changeset
257 X_INCLUDES=-I$(X11_DIR)\include
ca9a9ec9c1c1 Import from CVS: tag r21-0b35
cvs
parents: 269
diff changeset
258 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
259 !endif
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
260
412
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
261 !if $(HAVE_MSW)
231
557eaa0339bf Import from CVS: tag r20-5b14
cvs
parents: 227
diff changeset
262 MSW_DEFINES=-DHAVE_MS_WINDOWS -DHAVE_SCROLLBARS -DHAVE_MENUBARS
276
6330739388db Import from CVS: tag r21-0b36
cvs
parents: 274
diff changeset
263 MSW_INCLUDES=
6330739388db Import from CVS: tag r21-0b36
cvs
parents: 274
diff changeset
264 MSW_LIBS=
263
727739f917cb Import from CVS: tag r20-5b30
cvs
parents: 255
diff changeset
265 !if $(HAVE_MSW_C_DIRED)
276
6330739388db Import from CVS: tag r21-0b36
cvs
parents: 274
diff changeset
266 MSW_DEFINES=$(MSW_DEFINES) -DHAVE_MSW_C_DIRED
412
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
267 MSW_C_DIRED_SRC=$(XEMACS)\src\dired-msw.c
263
727739f917cb Import from CVS: tag r20-5b30
cvs
parents: 255
diff changeset
268 MSW_C_DIRED_OBJ=$(OUTDIR)\dired-msw.obj
727739f917cb Import from CVS: tag r20-5b30
cvs
parents: 255
diff changeset
269 !endif
276
6330739388db Import from CVS: tag r21-0b36
cvs
parents: 274
diff changeset
270 !if $(HAVE_XPM)
6330739388db Import from CVS: tag r21-0b36
cvs
parents: 274
diff changeset
271 MSW_DEFINES=$(MSW_DEFINES) -DHAVE_XPM -DFOR_MSW
278
90d73dddcdc4 Import from CVS: tag r21-0b37
cvs
parents: 276
diff changeset
272 MSW_INCLUDES=$(MSW_INCLUDES) -I"$(XPM_DIR)" -I"$(XPM_DIR)\lib"
90d73dddcdc4 Import from CVS: tag r21-0b37
cvs
parents: 276
diff changeset
273 MSW_LIBS=$(MSW_LIBS) "$(XPM_DIR)\lib\Xpm.lib"
276
6330739388db Import from CVS: tag r21-0b36
cvs
parents: 274
diff changeset
274 !endif
373
6240c7796c7a Import from CVS: tag r21-2b2
cvs
parents: 371
diff changeset
275 !if $(HAVE_GIF)
6240c7796c7a Import from CVS: tag r21-2b2
cvs
parents: 371
diff changeset
276 MSW_DEFINES=$(MSW_DEFINES) -DHAVE_GIF
412
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
277 MSW_GIF_SRC=$(XEMACS)\src\dgif_lib.c $(XEMACS)\src\gif_io.c
373
6240c7796c7a Import from CVS: tag r21-2b2
cvs
parents: 371
diff changeset
278 MSW_GIF_OBJ=$(OUTDIR)\dgif_lib.obj $(OUTDIR)\gif_io.obj
6240c7796c7a Import from CVS: tag r21-2b2
cvs
parents: 371
diff changeset
279 !endif
6240c7796c7a Import from CVS: tag r21-2b2
cvs
parents: 371
diff changeset
280 !if $(HAVE_PNG)
6240c7796c7a Import from CVS: tag r21-2b2
cvs
parents: 371
diff changeset
281 MSW_DEFINES=$(MSW_DEFINES) -DHAVE_PNG
6240c7796c7a Import from CVS: tag r21-2b2
cvs
parents: 371
diff changeset
282 MSW_INCLUDES=$(MSW_INCLUDES) -I"$(PNG_DIR)" -I"$(ZLIB_DIR)"
6240c7796c7a Import from CVS: tag r21-2b2
cvs
parents: 371
diff changeset
283 MSW_LIBS=$(MSW_LIBS) "$(PNG_DIR)\libpng.lib" "$(ZLIB_DIR)\zlib.lib"
6240c7796c7a Import from CVS: tag r21-2b2
cvs
parents: 371
diff changeset
284 !endif
6240c7796c7a Import from CVS: tag r21-2b2
cvs
parents: 371
diff changeset
285 !if $(HAVE_TIFF)
6240c7796c7a Import from CVS: tag r21-2b2
cvs
parents: 371
diff changeset
286 MSW_DEFINES=$(MSW_DEFINES) -DHAVE_TIFF
6240c7796c7a Import from CVS: tag r21-2b2
cvs
parents: 371
diff changeset
287 MSW_INCLUDES=$(MSW_INCLUDES) -I"$(TIFF_DIR)\libtiff"
6240c7796c7a Import from CVS: tag r21-2b2
cvs
parents: 371
diff changeset
288 MSW_LIBS=$(MSW_LIBS) "$(TIFF_DIR)\libtiff\libtiff.lib"
6240c7796c7a Import from CVS: tag r21-2b2
cvs
parents: 371
diff changeset
289 !endif
6240c7796c7a Import from CVS: tag r21-2b2
cvs
parents: 371
diff changeset
290 !if $(HAVE_JPEG)
6240c7796c7a Import from CVS: tag r21-2b2
cvs
parents: 371
diff changeset
291 MSW_DEFINES=$(MSW_DEFINES) -DHAVE_JPEG
6240c7796c7a Import from CVS: tag r21-2b2
cvs
parents: 371
diff changeset
292 MSW_INCLUDES=$(MSW_INCLUDES) -I"$(JPEG_DIR)"
6240c7796c7a Import from CVS: tag r21-2b2
cvs
parents: 371
diff changeset
293 MSW_LIBS=$(MSW_LIBS) "$(JPEG_DIR)\libjpeg.lib"
6240c7796c7a Import from CVS: tag r21-2b2
cvs
parents: 371
diff changeset
294 !endif
394
7d59cb494b73 Import from CVS: tag r21-2-12
cvs
parents: 388
diff changeset
295 !if $(HAVE_XFACE)
7d59cb494b73 Import from CVS: tag r21-2-12
cvs
parents: 388
diff changeset
296 MSW_DEFINES=$(MSW_DEFINES) -DHAVE_XFACE
7d59cb494b73 Import from CVS: tag r21-2-12
cvs
parents: 388
diff changeset
297 MSW_INCLUDES=$(MSW_INCLUDES) -I"$(COMPFACE_DIR)"
7d59cb494b73 Import from CVS: tag r21-2-12
cvs
parents: 388
diff changeset
298 MSW_LIBS=$(MSW_LIBS) "$(COMPFACE_DIR)\libcompface.lib"
7d59cb494b73 Import from CVS: tag r21-2-12
cvs
parents: 388
diff changeset
299 !endif
276
6330739388db Import from CVS: tag r21-0b36
cvs
parents: 274
diff changeset
300 !if $(HAVE_TOOLBARS)
6330739388db Import from CVS: tag r21-0b36
cvs
parents: 274
diff changeset
301 MSW_DEFINES=$(MSW_DEFINES) -DHAVE_TOOLBARS
412
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
302 MSW_TOOLBAR_SRC=$(XEMACS)\src\toolbar.c $(XEMACS)\src\toolbar-msw.c
276
6330739388db Import from CVS: tag r21-0b36
cvs
parents: 274
diff changeset
303 MSW_TOOLBAR_OBJ=$(OUTDIR)\toolbar.obj $(OUTDIR)\toolbar-msw.obj
6330739388db Import from CVS: tag r21-0b36
cvs
parents: 274
diff changeset
304 MSW_LIBS=$(MSW_LIBS) comctl32.lib
6330739388db Import from CVS: tag r21-0b36
cvs
parents: 274
diff changeset
305 !endif
286
57709be46d1b Import from CVS: tag r21-0b41
cvs
parents: 284
diff changeset
306 !if $(HAVE_DIALOGS)
57709be46d1b Import from CVS: tag r21-0b41
cvs
parents: 284
diff changeset
307 MSW_DEFINES=$(MSW_DEFINES) -DHAVE_DIALOGS
412
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
308 MSW_DIALOG_SRC=$(XEMACS)\src\dialog.c $(XEMACS)\src\dialog-msw.c
286
57709be46d1b Import from CVS: tag r21-0b41
cvs
parents: 284
diff changeset
309 MSW_DIALOG_OBJ=$(OUTDIR)\dialog.obj $(OUTDIR)\dialog-msw.obj
57709be46d1b Import from CVS: tag r21-0b41
cvs
parents: 284
diff changeset
310 !endif
298
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
311 !if $(HAVE_NATIVE_SOUND)
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
312 MSW_DEFINES=$(MSW_DEFINES) -DHAVE_NATIVE_SOUND
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
313 !endif
213
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
314 !endif
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
315
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
316 !if $(HAVE_MULE)
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
317 MULE_DEFINES=-DMULE
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
318 !endif
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
319
219
262b8bb4a523 Import from CVS: tag r20-4b8
cvs
parents: 217
diff changeset
320 !if $(DEBUG_XEMACS)
282
c42ec1d1cded Import from CVS: tag r21-0b39
cvs
parents: 280
diff changeset
321 DEBUG_DEFINES=-DDEBUG_XEMACS -D_DEBUG
396
6719134a07c2 Import from CVS: tag r21-2-13
cvs
parents: 394
diff changeset
322 DEBUG_FLAGS=-debug:full
219
262b8bb4a523 Import from CVS: tag r20-4b8
cvs
parents: 217
diff changeset
323 !endif
262b8bb4a523 Import from CVS: tag r20-4b8
cvs
parents: 217
diff changeset
324
282
c42ec1d1cded Import from CVS: tag r21-0b39
cvs
parents: 280
diff changeset
325 !if $(USE_MINIMAL_TAGBITS)
c42ec1d1cded Import from CVS: tag r21-0b39
cvs
parents: 280
diff changeset
326 TAGBITS_DEFINES=-DUSE_MINIMAL_TAGBITS
c42ec1d1cded Import from CVS: tag r21-0b39
cvs
parents: 280
diff changeset
327 !endif
c42ec1d1cded Import from CVS: tag r21-0b39
cvs
parents: 280
diff changeset
328 !if $(USE_INDEXED_LRECORD_IMPLEMENTATION)
c42ec1d1cded Import from CVS: tag r21-0b39
cvs
parents: 280
diff changeset
329 LRECORD_DEFINES=-DUSE_INDEXED_LRECORD_IMPLEMENTATION
c42ec1d1cded Import from CVS: tag r21-0b39
cvs
parents: 280
diff changeset
330 !endif
c42ec1d1cded Import from CVS: tag r21-0b39
cvs
parents: 280
diff changeset
331 !if $(USE_UNION_TYPE)
c42ec1d1cded Import from CVS: tag r21-0b39
cvs
parents: 280
diff changeset
332 UNION_DEFINES=-DUSE_UNION_TYPE
c42ec1d1cded Import from CVS: tag r21-0b39
cvs
parents: 280
diff changeset
333 !endif
c42ec1d1cded Import from CVS: tag r21-0b39
cvs
parents: 280
diff changeset
334
288
e11d67e05968 Import from CVS: tag r21-0b42
cvs
parents: 286
diff changeset
335 # Hard-coded paths
e11d67e05968 Import from CVS: tag r21-0b42
cvs
parents: 286
diff changeset
336
e11d67e05968 Import from CVS: tag r21-0b42
cvs
parents: 286
diff changeset
337 !if $(INFODOCK)
e11d67e05968 Import from CVS: tag r21-0b42
cvs
parents: 286
diff changeset
338 PATH_PREFIX=../..
e11d67e05968 Import from CVS: tag r21-0b42
cvs
parents: 286
diff changeset
339 !else
e11d67e05968 Import from CVS: tag r21-0b42
cvs
parents: 286
diff changeset
340 PATH_PREFIX=..
e11d67e05968 Import from CVS: tag r21-0b42
cvs
parents: 286
diff changeset
341 !endif
e11d67e05968 Import from CVS: tag r21-0b42
cvs
parents: 286
diff changeset
342
e11d67e05968 Import from CVS: tag r21-0b42
cvs
parents: 286
diff changeset
343 PATH_DEFINES=-DPATH_PREFIX=\"$(PATH_PREFIX)\"
e11d67e05968 Import from CVS: tag r21-0b42
cvs
parents: 286
diff changeset
344
118
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 100
diff changeset
345 # Generic variables
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 100
diff changeset
346
412
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
347 INCLUDES=$(X_INCLUDES) $(MSW_INCLUDES) -I$(XEMACS)\nt\inc -I$(XEMACS)\src -I$(XEMACS)\lwlib
213
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
348
276
6330739388db Import from CVS: tag r21-0b36
cvs
parents: 274
diff changeset
349 DEFINES=$(X_DEFINES) $(MSW_DEFINES) $(MULE_DEFINES) \
282
c42ec1d1cded Import from CVS: tag r21-0b39
cvs
parents: 280
diff changeset
350 $(TAGBITS_DEFINES) $(LRECORD_DEFINES) $(UNION_DEFINES) \
412
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
351 -DWIN32 -D_WIN32 -DWIN32_LEAN_AND_MEAN -DWINDOWSNT -Demacs \
288
e11d67e05968 Import from CVS: tag r21-0b42
cvs
parents: 286
diff changeset
352 -DHAVE_CONFIG_H $(PROGRAM_DEFINES) $(PATH_DEFINES)
118
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 100
diff changeset
353
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 100
diff changeset
354 #------------------------------------------------------------------------------
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 100
diff changeset
355
412
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
356 default: $(OUTDIR)\nul all
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
357
213
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
358 $(OUTDIR)\nul:
118
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 100
diff changeset
359 -@mkdir $(OUTDIR)
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 100
diff changeset
360
183
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
361 XEMACS_INCLUDES=\
412
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
362 $(XEMACS)\src\config.h \
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
363 $(XEMACS)\src\Emacs.ad.h \
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
364 $(XEMACS)\src\paths.h
183
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
365
412
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
366 $(XEMACS)\src\config.h: config.h
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
367 copy config.h $(XEMACS)\src
219
262b8bb4a523 Import from CVS: tag r20-4b8
cvs
parents: 217
diff changeset
368
412
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
369 $(XEMACS)\src\Emacs.ad.h: Emacs.ad.h
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
370 copy Emacs.ad.h $(XEMACS)\src
219
262b8bb4a523 Import from CVS: tag r20-4b8
cvs
parents: 217
diff changeset
371
412
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
372 $(XEMACS)\src\paths.h: paths.h
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
373 copy paths.h $(XEMACS)\src
183
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
374
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
375 #------------------------------------------------------------------------------
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
376
288
e11d67e05968 Import from CVS: tag r21-0b42
cvs
parents: 286
diff changeset
377 # lib-src programs
e11d67e05968 Import from CVS: tag r21-0b42
cvs
parents: 286
diff changeset
378
412
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
379 LIB_SRC = $(XEMACS)\lib-src
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
380 LIB_SRC_DEFINES = -DHAVE_CONFIG_H -DWIN32 -DWINDOWSNT
288
e11d67e05968 Import from CVS: tag r21-0b42
cvs
parents: 286
diff changeset
381
382
064ab7fed2e0 Import from CVS: tag r21-2-6
cvs
parents: 377
diff changeset
382 #
064ab7fed2e0 Import from CVS: tag r21-2-6
cvs
parents: 377
diff changeset
383 # Creating config.values to be used by config.el
064ab7fed2e0 Import from CVS: tag r21-2-6
cvs
parents: 377
diff changeset
384 #
064ab7fed2e0 Import from CVS: tag r21-2-6
cvs
parents: 377
diff changeset
385 CONFIG_VALUES = $(LIB_SRC)\config.values
064ab7fed2e0 Import from CVS: tag r21-2-6
cvs
parents: 377
diff changeset
386 !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
387 !endif
064ab7fed2e0 Import from CVS: tag r21-2-6
cvs
parents: 377
diff changeset
388 # MAKEDIR has to be made into a string.
398
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
389 #!if [echo blddir>>$(CONFIG_VALUES) && echo $(ESC)"$(MAKEDIR:\=\\)\\..$(ESC)">>$(CONFIG_VALUES)]
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
390 !if [echo blddir>>$(CONFIG_VALUES) && echo "$(MAKEDIR:\=\\)\\..">>$(CONFIG_VALUES)]
382
064ab7fed2e0 Import from CVS: tag r21-2-6
cvs
parents: 377
diff changeset
391 !endif
398
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
392 !if [echo CC>>$(CONFIG_VALUES) && echo "$(CC:\=\\)">>$(CONFIG_VALUES)]
382
064ab7fed2e0 Import from CVS: tag r21-2-6
cvs
parents: 377
diff changeset
393 !endif
398
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
394 !if [echo CFLAGS>>$(CONFIG_VALUES) && echo "$(CFLAGS:\=\\)">>$(CONFIG_VALUES)]
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
395 !endif
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
396 !if [echo CPP>>$(CONFIG_VALUES) && echo "$(CPP:\=\\)">>$(CONFIG_VALUES)]
382
064ab7fed2e0 Import from CVS: tag r21-2-6
cvs
parents: 377
diff changeset
397 !endif
398
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
398 !if [echo CPPFLAGS>>$(CONFIG_VALUES) && echo "$(CPPFLAGS:\=\\)">>$(CONFIG_VALUES)]
382
064ab7fed2e0 Import from CVS: tag r21-2-6
cvs
parents: 377
diff changeset
399 !endif
398
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
400 !if [echo LISPDIR>>$(CONFIG_VALUES) && echo "$(MAKEDIR:\=\\)\\$(LISP:\=\\)">>$(CONFIG_VALUES)]
382
064ab7fed2e0 Import from CVS: tag r21-2-6
cvs
parents: 377
diff changeset
401 !endif
064ab7fed2e0 Import from CVS: tag r21-2-6
cvs
parents: 377
diff changeset
402 # PATH_PACKAGEPATH is already a quoted string.
064ab7fed2e0 Import from CVS: tag r21-2-6
cvs
parents: 377
diff changeset
403 !if [echo PACKAGE_PATH>>$(CONFIG_VALUES) && echo $(PATH_PACKAGEPATH)>>$(CONFIG_VALUES)]
064ab7fed2e0 Import from CVS: tag r21-2-6
cvs
parents: 377
diff changeset
404 !endif
064ab7fed2e0 Import from CVS: tag r21-2-6
cvs
parents: 377
diff changeset
405
288
e11d67e05968 Import from CVS: tag r21-0b42
cvs
parents: 286
diff changeset
406 # Inferred rule
e11d67e05968 Import from CVS: tag r21-0b42
cvs
parents: 286
diff changeset
407 {$(LIB_SRC)}.c{$(LIB_SRC)}.exe :
412
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
408 @cd $(LIB_SRC)
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
409 $(CCV) -I. -I$(XEMACS)/src -I$(XEMACS)/nt/inc $(LIB_SRC_DEFINES) $(CFLAGS) -Fe$@ $** -link -incremental:no
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
410 @cd $(NT)
288
e11d67e05968 Import from CVS: tag r21-0b42
cvs
parents: 286
diff changeset
411
e11d67e05968 Import from CVS: tag r21-0b42
cvs
parents: 286
diff changeset
412 # Individual dependencies
e11d67e05968 Import from CVS: tag r21-0b42
cvs
parents: 286
diff changeset
413 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
414 $(LIB_SRC)/etags.exe : $(LIB_SRC)/etags.c $(ETAGS_DEPS)
382
064ab7fed2e0 Import from CVS: tag r21-2-6
cvs
parents: 377
diff changeset
415 $(LIB_SRC)/movemail.exe: $(LIB_SRC)/movemail.c $(LIB_SRC)/pop.c $(ETAGS_DEPS)
412
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
416 @cd $(LIB_SRC)
396
6719134a07c2 Import from CVS: tag r21-2-13
cvs
parents: 394
diff changeset
417 $(CCV) -I. -I$(XEMACS)/src -I$(XEMACS)/nt/inc $(LIB_SRC_DEFINES) $(CFLAGS) -Fe$@ $** wsock32.lib -link -incremental:no
412
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
418 @cd $(NT)
288
e11d67e05968 Import from CVS: tag r21-0b42
cvs
parents: 286
diff changeset
419
e11d67e05968 Import from CVS: tag r21-0b42
cvs
parents: 286
diff changeset
420 LIB_SRC_TOOLS = \
412
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
421 $(LIB_SRC)/make-docfile.exe \
288
e11d67e05968 Import from CVS: tag r21-0b42
cvs
parents: 286
diff changeset
422 $(LIB_SRC)/hexl.exe \
412
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
423 $(LIB_SRC)/movemail.exe \
288
e11d67e05968 Import from CVS: tag r21-0b42
cvs
parents: 286
diff changeset
424 $(LIB_SRC)/mmencode.exe \
e11d67e05968 Import from CVS: tag r21-0b42
cvs
parents: 286
diff changeset
425 $(LIB_SRC)/sorted-doc.exe \
412
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
426 $(LIB_SRC)/wakeup.exe \
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
427 $(LIB_SRC)/etags.exe
288
e11d67e05968 Import from CVS: tag r21-0b42
cvs
parents: 286
diff changeset
428
298
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
429 #------------------------------------------------------------------------------
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
430
412
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
431 # runxemacs proglet
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
432
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
433 RUNEMACS = $(XEMACS)\src\runxemacs.exe
406
b8cc9ab3f761 Import from CVS: tag r21-2-33
cvs
parents: 404
diff changeset
434
412
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
435 $(RUNEMACS): $(LIB_SRC)\run.c $(LIB_SRC)\run.res
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
436 $(CCV) -I$(LIB_SRC) $(CFLAGS) -Fe$@ -Fo$(LIB_SRC) -Fd$(LIB_SRC)\ $** kernel32.lib user32.lib -link -incremental:no
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
437
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
438 $(LIB_SRC)\run.res: $(LIB_SRC)\run.rc
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
439 rc -I$(LIB_SRC) -Fo$@ $**
406
b8cc9ab3f761 Import from CVS: tag r21-2-33
cvs
parents: 404
diff changeset
440
b8cc9ab3f761 Import from CVS: tag r21-2-33
cvs
parents: 404
diff changeset
441 #------------------------------------------------------------------------------
b8cc9ab3f761 Import from CVS: tag r21-2-33
cvs
parents: 404
diff changeset
442
298
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
443 # LASTFILE Library
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
444
183
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
445 LASTFILE=$(OUTDIR)\lastfile.lib
412
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
446 LASTFILE_SRC=$(XEMACS)\src
396
6719134a07c2 Import from CVS: tag r21-2-13
cvs
parents: 394
diff changeset
447 LASTFILE_FLAGS=$(CFLAGS) $(INCLUDES) -Fo$@ -Fd$* -c
118
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 100
diff changeset
448 LASTFILE_OBJS= \
183
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
449 $(OUTDIR)\lastfile.obj
179
9ad43877534d Import from CVS: tag r20-3b16
cvs
parents: 167
diff changeset
450
215
1f0dabaa0855 Import from CVS: tag r20-4b6
cvs
parents: 213
diff changeset
451 $(LASTFILE): $(XEMACS_INCLUDES) $(LASTFILE_OBJS)
183
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
452 link.exe -lib -nologo -out:$@ $(LASTFILE_OBJS)
118
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 100
diff changeset
453
183
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
454 $(OUTDIR)\lastfile.obj: $(LASTFILE_SRC)\lastfile.c
278
90d73dddcdc4 Import from CVS: tag r21-0b37
cvs
parents: 276
diff changeset
455 $(CCV) $(LASTFILE_FLAGS) $**
118
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 100
diff changeset
456
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 100
diff changeset
457 #------------------------------------------------------------------------------
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 100
diff changeset
458
412
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
459 !if $(HAVE_X)
213
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
460
118
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 100
diff changeset
461 # LWLIB Library
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 100
diff changeset
462
183
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
463 LWLIB=$(OUTDIR)\lwlib.lib
412
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
464 LWLIB_SRC=$(XEMACS)\lwlib
388
aabb7f5b1c81 Import from CVS: tag r21-2-9
cvs
parents: 384
diff changeset
465 LWLIB_FLAGS=$(CFLAGS) $(INCLUDES) $(DEFINES) \
213
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
466 -DNEED_ATHENA -DNEED_LUCID \
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
467 -D_WINDOWS -DMENUBARS_LUCID -DSCROLLBARS_LUCID -DDIALOGS_ATHENA \
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
468 -Fo$@ -c
118
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 100
diff changeset
469 LWLIB_OBJS= \
213
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
470 $(OUTDIR)\lwlib-config.obj \
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
471 $(OUTDIR)\lwlib-utils.obj \
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
472 $(OUTDIR)\lwlib-Xaw.obj \
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
473 $(OUTDIR)\lwlib-Xlw.obj \
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
474 $(OUTDIR)\lwlib.obj \
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
475 $(OUTDIR)\xlwmenu.obj \
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
476 $(OUTDIR)\xlwscrollbar.obj
118
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 100
diff changeset
477
215
1f0dabaa0855 Import from CVS: tag r20-4b6
cvs
parents: 213
diff changeset
478 $(LWLIB): $(LWLIB_OBJS)
396
6719134a07c2 Import from CVS: tag r21-2-13
cvs
parents: 394
diff changeset
479 link.exe -lib -nologo -out:$@ $(LWLIB_OBJS)
118
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 100
diff changeset
480
412
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
481 $(OUTDIR)\lwlib-config.obj: $(LWLIB_SRC)\lwlib-config.c
278
90d73dddcdc4 Import from CVS: tag r21-0b37
cvs
parents: 276
diff changeset
482 $(CCV) $(LWLIB_FLAGS) $**
118
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 100
diff changeset
483
412
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
484 $(OUTDIR)\lwlib-utils.obj: $(LWLIB_SRC)\lwlib-utils.c
278
90d73dddcdc4 Import from CVS: tag r21-0b37
cvs
parents: 276
diff changeset
485 $(CCV) $(LWLIB_FLAGS) $**
118
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 100
diff changeset
486
412
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
487 $(OUTDIR)\lwlib-Xaw.obj: $(LWLIB_SRC)\lwlib-Xaw.c
278
90d73dddcdc4 Import from CVS: tag r21-0b37
cvs
parents: 276
diff changeset
488 $(CCV) $(LWLIB_FLAGS) $**
118
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 100
diff changeset
489
412
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
490 $(OUTDIR)\lwlib-Xlw.obj: $(LWLIB_SRC)\lwlib-Xlw.c
278
90d73dddcdc4 Import from CVS: tag r21-0b37
cvs
parents: 276
diff changeset
491 $(CCV) $(LWLIB_FLAGS) $**
118
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 100
diff changeset
492
412
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
493 $(OUTDIR)\lwlib.obj: $(LWLIB_SRC)\lwlib.c
278
90d73dddcdc4 Import from CVS: tag r21-0b37
cvs
parents: 276
diff changeset
494 $(CCV) $(LWLIB_FLAGS) $**
118
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 100
diff changeset
495
412
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
496 $(OUTDIR)\xlwmenu.obj: $(LWLIB_SRC)\xlwmenu.c
278
90d73dddcdc4 Import from CVS: tag r21-0b37
cvs
parents: 276
diff changeset
497 $(CCV) $(LWLIB_FLAGS) $**
118
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 100
diff changeset
498
412
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
499 $(OUTDIR)\xlwscrollbar.obj: $(LWLIB_SRC)\xlwscrollbar.c
278
90d73dddcdc4 Import from CVS: tag r21-0b37
cvs
parents: 276
diff changeset
500 $(CCV) $(LWLIB_FLAGS) $**
118
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 100
diff changeset
501
213
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
502 !endif
118
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 100
diff changeset
503 #------------------------------------------------------------------------------
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 100
diff changeset
504
183
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
505 DOC=$(LIB_SRC)\DOC
195
a2f645c6b9f8 Import from CVS: tag r20-3b24
cvs
parents: 183
diff changeset
506 DOC_SRC1=\
412
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
507 $(XEMACS)\src\abbrev.c \
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
508 $(XEMACS)\src\alloc.c \
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
509 $(XEMACS)\src\alloca.c \
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
510 $(XEMACS)\src\blocktype.c \
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
511 $(XEMACS)\src\buffer.c \
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
512 $(XEMACS)\src\bytecode.c \
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
513 $(XEMACS)\src\callint.c \
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
514 $(XEMACS)\src\callproc.c \
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
515 $(XEMACS)\src\casefiddle.c \
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
516 $(XEMACS)\src\casetab.c \
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
517 $(XEMACS)\src\chartab.c \
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
518 $(XEMACS)\src\cmdloop.c \
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
519 $(XEMACS)\src\cmds.c \
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
520 $(XEMACS)\src\console-stream.c \
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
521 $(XEMACS)\src\console.c \
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
522 $(XEMACS)\src\data.c \
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
523 $(XEMACS)\src\device.c
195
a2f645c6b9f8 Import from CVS: tag r20-3b24
cvs
parents: 183
diff changeset
524 DOC_SRC2=\
412
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
525 $(XEMACS)\src\dired.c \
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
526 $(XEMACS)\src\doc.c \
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
527 $(XEMACS)\src\doprnt.c \
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
528 $(XEMACS)\src\dragdrop.c \
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
529 $(XEMACS)\src\dynarr.c \
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
530 $(XEMACS)\src\editfns.c \
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
531 $(XEMACS)\src\elhash.c \
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
532 $(XEMACS)\src\emacs.c \
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
533 $(XEMACS)\src\eval.c \
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
534 $(XEMACS)\src\event-stream.c \
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
535 $(XEMACS)\src\events.c \
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
536 $(XEMACS)\src\extents.c \
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
537 $(XEMACS)\src\faces.c \
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
538 $(XEMACS)\src\file-coding.c \
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
539 $(XEMACS)\src\fileio.c \
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
540 $(XEMACS)\src\filemode.c \
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
541 $(XEMACS)\src\floatfns.c \
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
542 $(XEMACS)\src\fns.c
213
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
543 DOC_SRC3=\
412
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
544 $(XEMACS)\src\font-lock.c \
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
545 $(XEMACS)\src\frame.c \
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
546 $(XEMACS)\src\free-hook.c \
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
547 $(XEMACS)\src\general.c \
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
548 $(XEMACS)\src\glyphs.c \
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
549 $(XEMACS)\src\glyphs-eimage.c \
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
550 $(XEMACS)\src\glyphs-widget.c \
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
551 $(XEMACS)\src\gmalloc.c \
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
552 $(XEMACS)\src\gui.c \
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
553 $(XEMACS)\src\hash.c \
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
554 $(XEMACS)\src\imgproc.c \
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
555 $(XEMACS)\src\indent.c \
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
556 $(XEMACS)\src\insdel.c \
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
557 $(XEMACS)\src\intl.c \
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
558 $(XEMACS)\src\keymap.c \
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
559 $(XEMACS)\src\line-number.c \
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
560 $(XEMACS)\src\lread.c \
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
561 $(XEMACS)\src\lstream.c \
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
562 $(XEMACS)\src\macros.c \
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
563 $(XEMACS)\src\marker.c
213
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
564 DOC_SRC4=\
412
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
565 $(XEMACS)\src\md5.c \
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
566 $(XEMACS)\src\menubar.c \
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
567 $(XEMACS)\src\minibuf.c \
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
568 $(XEMACS)\src\nt.c \
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
569 $(XEMACS)\src\ntheap.c \
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
570 $(XEMACS)\src\ntplay.c \
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
571 $(XEMACS)\src\ntproc.c \
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
572 $(XEMACS)\src\objects.c \
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
573 $(XEMACS)\src\opaque.c \
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
574 $(XEMACS)\src\print.c \
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
575 $(XEMACS)\src\process.c \
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
576 $(XEMACS)\src\process-nt.c \
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
577 $(XEMACS)\src\profile.c \
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
578 $(XEMACS)\src\rangetab.c \
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
579 $(XEMACS)\src\realpath.c \
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
580 $(XEMACS)\src\redisplay-output.c \
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
581 $(XEMACS)\src\redisplay.c \
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
582 $(XEMACS)\src\regex.c \
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
583 $(XEMACS)\src\scrollbar.c \
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
584 $(XEMACS)\src\search.c \
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
585 $(XEMACS)\src\signal.c \
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
586 $(XEMACS)\src\sound.c
213
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
587 DOC_SRC5=\
412
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
588 $(XEMACS)\src\specifier.c \
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
589 $(XEMACS)\src\strftime.c \
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
590 $(XEMACS)\src\symbols.c \
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
591 $(XEMACS)\src\syntax.c \
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
592 $(XEMACS)\src\sysdep.c \
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
593 $(XEMACS)\src\termcap.c \
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
594 $(XEMACS)\src\tparam.c \
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
595 $(XEMACS)\src\undo.c \
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
596 $(XEMACS)\src\unexnt.c \
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
597 $(XEMACS)\src\vm-limit.c \
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
598 $(XEMACS)\src\window.c \
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
599 $(XEMACS)\src\widget.c
213
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
600
412
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
601 !if $(HAVE_X)
213
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
602 DOC_SRC6=\
412
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
603 $(XEMACS)\src\balloon_help.c \
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
604 $(XEMACS)\src\console-x.c \
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
605 $(XEMACS)\src\device-x.c \
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
606 $(XEMACS)\src\dialog-x.c \
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
607 $(XEMACS)\src\EmacsFrame.c \
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
608 $(XEMACS)\src\EmacsManager.c \
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
609 $(XEMACS)\src\EmacsShell-sub.c\
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
610 $(XEMACS)\src\EmacsShell.c \
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
611 $(XEMACS)\src\event-Xt.c \
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
612 $(XEMACS)\src\frame-x.c \
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
613 $(XEMACS)\src\glyphs-x.c \
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
614 $(XEMACS)\src\gui-x.c \
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
615 $(XEMACS)\src\menubar.c \
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
616 $(XEMACS)\src\menubar-x.c \
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
617 $(XEMACS)\src\objects-x.c \
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
618 $(XEMACS)\src\redisplay-x.c \
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
619 $(XEMACS)\src\scrollbar-x.c \
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
620 $(XEMACS)\src\balloon-x.c \
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
621 $(XEMACS)\src\xgccache.c \
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
622 $(XEMACS)\src\xmu.c \
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
623 $(XEMACS)\src\xselect.c
213
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
624 !endif
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
625
412
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
626 !if $(HAVE_MSW)
219
262b8bb4a523 Import from CVS: tag r20-4b8
cvs
parents: 217
diff changeset
627 DOC_SRC7=\
412
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
628 $(XEMACS)\src\console-msw.c \
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
629 $(XEMACS)\src\device-msw.c \
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
630 $(XEMACS)\src\event-msw.c \
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
631 $(XEMACS)\src\frame-msw.c \
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
632 $(XEMACS)\src\glyphs-msw.c \
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
633 $(XEMACS)\src\gui-msw.c \
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
634 $(XEMACS)\src\menubar-msw.c \
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
635 $(XEMACS)\src\objects-msw.c \
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
636 $(XEMACS)\src\redisplay-msw.c \
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
637 $(XEMACS)\src\scrollbar-msw.c \
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
638 $(XEMACS)\src\select-msw.c \
276
6330739388db Import from CVS: tag r21-0b36
cvs
parents: 274
diff changeset
639 $(MSW_C_DIRED_SRC) \
286
57709be46d1b Import from CVS: tag r21-0b41
cvs
parents: 284
diff changeset
640 $(MSW_TOOLBAR_SRC) \
373
6240c7796c7a Import from CVS: tag r21-2b2
cvs
parents: 371
diff changeset
641 $(MSW_DIALOG_SRC) \
6240c7796c7a Import from CVS: tag r21-2b2
cvs
parents: 371
diff changeset
642 $(MSW_GIF_SRC)
213
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
643 !endif
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
644
267
966663fcf606 Import from CVS: tag r20-5b32
cvs
parents: 265
diff changeset
645 !if $(HAVE_MULE)
265
8efd647ea9ca Import from CVS: tag r20-5b31
cvs
parents: 263
diff changeset
646 DOC_SRC8=\
412
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
647 $(XEMACS)\src\mule.c \
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
648 $(XEMACS)\src\mule-charset.c \
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
649 $(XEMACS)\src\mule-ccl.c \
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
650 $(XEMACS)\src\mule-coding.c
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
651 ! if $(HAVE_X)
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
652 DOC_SRC8=$(DOC_SRC8) $(XEMACS)\src\input-method-xlib.c
388
aabb7f5b1c81 Import from CVS: tag r21-2-9
cvs
parents: 384
diff changeset
653 ! endif
213
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
654 !endif
118
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 100
diff changeset
655
219
262b8bb4a523 Import from CVS: tag r20-4b8
cvs
parents: 217
diff changeset
656 !if $(DEBUG_XEMACS)
267
966663fcf606 Import from CVS: tag r20-5b32
cvs
parents: 265
diff changeset
657 DOC_SRC9=\
412
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
658 $(XEMACS)\src\debug.c
219
262b8bb4a523 Import from CVS: tag r20-4b8
cvs
parents: 217
diff changeset
659 !endif
262b8bb4a523 Import from CVS: tag r20-4b8
cvs
parents: 217
diff changeset
660
118
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 100
diff changeset
661 #------------------------------------------------------------------------------
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 100
diff changeset
662
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 100
diff changeset
663 # TEMACS Executable
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 100
diff changeset
664
294
4b85ae5eabfb Import from CVS: tag r21-0b45
cvs
parents: 288
diff changeset
665 # This may not exist
371
cc15677e0335 Import from CVS: tag r21-2b1
cvs
parents: 367
diff changeset
666 !if "$(emacs_beta_version)" != ""
294
4b85ae5eabfb Import from CVS: tag r21-0b45
cvs
parents: 288
diff changeset
667 EMACS_BETA_VERSION=-DEMACS_BETA_VERSION=$(emacs_beta_version)
4b85ae5eabfb Import from CVS: tag r21-0b45
cvs
parents: 288
diff changeset
668 !ENDIF
4b85ae5eabfb Import from CVS: tag r21-0b45
cvs
parents: 288
diff changeset
669
412
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
670 TEMACS_DIR=$(XEMACS)\src
183
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
671 TEMACS=$(TEMACS_DIR)\temacs.exe
213
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
672 TEMACS_BROWSE=$(TEMACS_DIR)\temacs.bsc
412
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
673 TEMACS_SRC=$(XEMACS)\src
276
6330739388db Import from CVS: tag r21-0b36
cvs
parents: 274
diff changeset
674 TEMACS_LIBS=$(LASTFILE) $(LWLIB) $(X_LIBS) $(MSW_LIBS) \
412
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
675 kernel32.lib user32.lib gdi32.lib advapi32.lib \
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
676 shell32.lib wsock32.lib winmm.lib libc.lib
223
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 221
diff changeset
677 TEMACS_LFLAGS=-nologo $(LIBRARIES) $(DEBUG_FLAGS) -base:0x1000000\
412
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
678 -stack:0x800000 -entry:_start -subsystem:console\
223
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 221
diff changeset
679 -pdb:$(TEMACS_DIR)\temacs.pdb -map:$(TEMACS_DIR)\temacs.map \
412
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
680 -heap:0x00100000 -out:$@
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
681 TEMACS_CPP_FLAGS=-ML -c \
396
6719134a07c2 Import from CVS: tag r21-2-13
cvs
parents: 394
diff changeset
682 $(CFLAGS) $(INCLUDES) $(DEFINES) $(DEBUG_DEFINES) \
183
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
683 -DEMACS_MAJOR_VERSION=$(emacs_major_version) \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
684 -DEMACS_MINOR_VERSION=$(emacs_minor_version) \
294
4b85ae5eabfb Import from CVS: tag r21-0b45
cvs
parents: 288
diff changeset
685 $(EMACS_BETA_VERSION) \
412
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
686 -DXEMACS_CODENAME=\"$(xemacs_codename)\" \
298
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
687 -DEMACS_CONFIGURATION=\"$(EMACS_CONFIGURATION)\" \
269
b2472a1930f2 Import from CVS: tag r20-5b33
cvs
parents: 267
diff changeset
688 -DPATH_PACKAGEPATH=\"$(PATH_PACKAGEPATH)\"
219
262b8bb4a523 Import from CVS: tag r20-4b8
cvs
parents: 217
diff changeset
689
412
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
690 !if $(HAVE_X)
213
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
691 TEMACS_X_OBJS=\
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
692 $(OUTDIR)\balloon-x.obj \
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
693 $(OUTDIR)\balloon_help.obj \
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
694 $(OUTDIR)\console-x.obj \
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
695 $(OUTDIR)\device-x.obj \
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
696 $(OUTDIR)\dialog-x.obj \
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
697 $(OUTDIR)\EmacsFrame.obj \
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
698 $(OUTDIR)\EmacsManager.obj \
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
699 $(OUTDIR)\EmacsShell.obj \
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
700 $(OUTDIR)\TopLevelEmacsShell.obj\
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
701 $(OUTDIR)\TransientEmacsShell.obj\
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
702 $(OUTDIR)\event-Xt.obj \
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
703 $(OUTDIR)\frame-x.obj \
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
704 $(OUTDIR)\glyphs-x.obj \
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
705 $(OUTDIR)\gui-x.obj \
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
706 $(OUTDIR)\menubar-x.obj \
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
707 $(OUTDIR)\objects-x.obj \
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
708 $(OUTDIR)\redisplay-x.obj \
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
709 $(OUTDIR)\scrollbar-x.obj \
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
710 $(OUTDIR)\xgccache.obj \
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
711 $(OUTDIR)\xmu.obj \
412
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
712 $(OUTDIR)\xselect.obj
213
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
713 !endif
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
714
412
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
715 !if $(HAVE_MSW)
213
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
716 TEMACS_MSW_OBJS=\
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
717 $(OUTDIR)\console-msw.obj \
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
718 $(OUTDIR)\device-msw.obj \
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
719 $(OUTDIR)\event-msw.obj \
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
720 $(OUTDIR)\frame-msw.obj \
269
b2472a1930f2 Import from CVS: tag r20-5b33
cvs
parents: 267
diff changeset
721 $(OUTDIR)\glyphs-msw.obj \
388
aabb7f5b1c81 Import from CVS: tag r21-2-9
cvs
parents: 384
diff changeset
722 $(OUTDIR)\gui-msw.obj \
231
557eaa0339bf Import from CVS: tag r20-5b14
cvs
parents: 227
diff changeset
723 $(OUTDIR)\menubar-msw.obj \
213
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
724 $(OUTDIR)\objects-msw.obj \
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
725 $(OUTDIR)\redisplay-msw.obj \
231
557eaa0339bf Import from CVS: tag r20-5b14
cvs
parents: 227
diff changeset
726 $(OUTDIR)\scrollbar-msw.obj \
263
727739f917cb Import from CVS: tag r20-5b30
cvs
parents: 255
diff changeset
727 $(OUTDIR)\select-msw.obj \
276
6330739388db Import from CVS: tag r21-0b36
cvs
parents: 274
diff changeset
728 $(MSW_C_DIRED_OBJ) \
286
57709be46d1b Import from CVS: tag r21-0b41
cvs
parents: 284
diff changeset
729 $(MSW_TOOLBAR_OBJ) \
373
6240c7796c7a Import from CVS: tag r21-2b2
cvs
parents: 371
diff changeset
730 $(MSW_DIALOG_OBJ) \
6240c7796c7a Import from CVS: tag r21-2b2
cvs
parents: 371
diff changeset
731 $(MSW_GIF_OBJ)
213
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
732 !endif
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
733
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
734 !if $(HAVE_MULE)
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
735 TEMACS_MULE_OBJS=\
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
736 $(OUTDIR)\mule.obj \
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
737 $(OUTDIR)\mule-charset.obj \
412
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
738 $(OUTDIR)\mule-ccl.obj \
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
739 $(OUTDIR)\mule-coding.obj
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
740 ! if $(HAVE_X)
388
aabb7f5b1c81 Import from CVS: tag r21-2-9
cvs
parents: 384
diff changeset
741 TEMACS_MULE_OBJS=\
aabb7f5b1c81 Import from CVS: tag r21-2-9
cvs
parents: 384
diff changeset
742 $(TEMACS_MULE_OBJS) $(OUTDIR)\input-method-xlib.obj
aabb7f5b1c81 Import from CVS: tag r21-2-9
cvs
parents: 384
diff changeset
743 ! endif
219
262b8bb4a523 Import from CVS: tag r20-4b8
cvs
parents: 217
diff changeset
744 !endif
262b8bb4a523 Import from CVS: tag r20-4b8
cvs
parents: 217
diff changeset
745
262b8bb4a523 Import from CVS: tag r20-4b8
cvs
parents: 217
diff changeset
746 !if $(DEBUG_XEMACS)
262b8bb4a523 Import from CVS: tag r20-4b8
cvs
parents: 217
diff changeset
747 TEMACS_DEBUG_OBJS=\
412
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
748 $(OUTDIR)\debug.obj
213
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
749 !endif
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
750
118
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 100
diff changeset
751 TEMACS_OBJS= \
213
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
752 $(TEMACS_X_OBJS)\
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
753 $(TEMACS_MSW_OBJS)\
265
8efd647ea9ca Import from CVS: tag r20-5b31
cvs
parents: 263
diff changeset
754 $(TEMACS_CODING_OBJS)\
213
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
755 $(TEMACS_MULE_OBJS)\
219
262b8bb4a523 Import from CVS: tag r20-4b8
cvs
parents: 217
diff changeset
756 $(TEMACS_DEBUG_OBJS)\
183
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
757 $(OUTDIR)\abbrev.obj \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
758 $(OUTDIR)\alloc.obj \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
759 $(OUTDIR)\alloca.obj \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
760 $(OUTDIR)\blocktype.obj \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
761 $(OUTDIR)\buffer.obj \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
762 $(OUTDIR)\bytecode.obj \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
763 $(OUTDIR)\callint.obj \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
764 $(OUTDIR)\callproc.obj \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
765 $(OUTDIR)\casefiddle.obj \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
766 $(OUTDIR)\casetab.obj \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
767 $(OUTDIR)\chartab.obj \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
768 $(OUTDIR)\cmdloop.obj \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
769 $(OUTDIR)\cmds.obj \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
770 $(OUTDIR)\console-stream.obj \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
771 $(OUTDIR)\console.obj \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
772 $(OUTDIR)\data.obj \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
773 $(OUTDIR)\device.obj \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
774 $(OUTDIR)\dired.obj \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
775 $(OUTDIR)\doc.obj \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
776 $(OUTDIR)\doprnt.obj \
284
558f606b08ae Import from CVS: tag r21-0b40
cvs
parents: 282
diff changeset
777 $(OUTDIR)\dragdrop.obj \
183
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
778 $(OUTDIR)\dynarr.obj \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
779 $(OUTDIR)\editfns.obj \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
780 $(OUTDIR)\elhash.obj \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
781 $(OUTDIR)\emacs.obj \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
782 $(OUTDIR)\eval.obj \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
783 $(OUTDIR)\event-stream.obj \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
784 $(OUTDIR)\events.obj \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
785 $(OUTDIR)\extents.obj \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
786 $(OUTDIR)\faces.obj \
267
966663fcf606 Import from CVS: tag r20-5b32
cvs
parents: 265
diff changeset
787 $(OUTDIR)\file-coding.obj \
183
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
788 $(OUTDIR)\fileio.obj \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
789 $(OUTDIR)\filemode.obj \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
790 $(OUTDIR)\floatfns.obj \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
791 $(OUTDIR)\fns.obj \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
792 $(OUTDIR)\font-lock.obj \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
793 $(OUTDIR)\frame.obj \
412
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
794 $(OUTDIR)\free-hook.obj \
183
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
795 $(OUTDIR)\general.obj \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
796 $(OUTDIR)\glyphs.obj \
280
7df0dd720c89 Import from CVS: tag r21-0b38
cvs
parents: 278
diff changeset
797 $(OUTDIR)\glyphs-eimage.obj \
388
aabb7f5b1c81 Import from CVS: tag r21-2-9
cvs
parents: 384
diff changeset
798 $(OUTDIR)\glyphs-widget.obj \
412
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
799 $(OUTDIR)\gmalloc.obj \
183
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
800 $(OUTDIR)\gui.obj \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
801 $(OUTDIR)\hash.obj \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
802 $(OUTDIR)\indent.obj \
269
b2472a1930f2 Import from CVS: tag r20-5b33
cvs
parents: 267
diff changeset
803 $(OUTDIR)\imgproc.obj \
183
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
804 $(OUTDIR)\insdel.obj \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
805 $(OUTDIR)\intl.obj \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
806 $(OUTDIR)\keymap.obj \
213
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
807 $(OUTDIR)\line-number.obj \
183
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
808 $(OUTDIR)\lread.obj \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
809 $(OUTDIR)\lstream.obj \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
810 $(OUTDIR)\macros.obj \
231
557eaa0339bf Import from CVS: tag r20-5b14
cvs
parents: 227
diff changeset
811 $(OUTDIR)\menubar.obj \
183
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
812 $(OUTDIR)\marker.obj \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
813 $(OUTDIR)\md5.obj \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
814 $(OUTDIR)\minibuf.obj \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
815 $(OUTDIR)\nt.obj \
412
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
816 $(OUTDIR)\ntheap.obj \
298
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
817 $(OUTDIR)\ntplay.obj \
183
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
818 $(OUTDIR)\ntproc.obj \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
819 $(OUTDIR)\objects.obj \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
820 $(OUTDIR)\opaque.obj \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
821 $(OUTDIR)\print.obj \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
822 $(OUTDIR)\process.obj \
274
ca9a9ec9c1c1 Import from CVS: tag r21-0b35
cvs
parents: 269
diff changeset
823 $(OUTDIR)\process-nt.obj \
223
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 221
diff changeset
824 $(OUTDIR)\profile.obj \
183
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
825 $(OUTDIR)\rangetab.obj \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
826 $(OUTDIR)\realpath.obj \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
827 $(OUTDIR)\redisplay-output.obj \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
828 $(OUTDIR)\redisplay.obj \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
829 $(OUTDIR)\regex.obj \
225
12579d965149 Import from CVS: tag r20-4b11
cvs
parents: 223
diff changeset
830 $(OUTDIR)\scrollbar.obj \
183
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
831 $(OUTDIR)\search.obj \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
832 $(OUTDIR)\signal.obj \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
833 $(OUTDIR)\sound.obj \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
834 $(OUTDIR)\specifier.obj \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
835 $(OUTDIR)\strftime.obj \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
836 $(OUTDIR)\symbols.obj \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
837 $(OUTDIR)\syntax.obj \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
838 $(OUTDIR)\sysdep.obj \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
839 $(OUTDIR)\tparam.obj \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
840 $(OUTDIR)\undo.obj \
412
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
841 $(OUTDIR)\unexnt.obj \
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
842 $(OUTDIR)\vm-limit.obj \
197
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 195
diff changeset
843 $(OUTDIR)\widget.obj \
412
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
844 $(OUTDIR)\window.obj \
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
845 $(OUTDIR)\xemacs.res
155
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 118
diff changeset
846
213
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
847 # Rules
118
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 100
diff changeset
848
213
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
849 .SUFFIXES:
412
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
850 .SUFFIXES: .c
118
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 100
diff changeset
851
213
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
852 # nmake rule
396
6719134a07c2 Import from CVS: tag r21-2-13
cvs
parents: 394
diff changeset
853 !if $(DEBUG_XEMACS)
213
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
854 {$(TEMACS_SRC)}.c{$(OUTDIR)}.obj:
396
6719134a07c2 Import from CVS: tag r21-2-13
cvs
parents: 394
diff changeset
855 $(CCV) $(TEMACS_CPP_FLAGS) $< -Fo$@ -Fr$*.sbr -Fd$(OUTDIR)\temacs.pdb
6719134a07c2 Import from CVS: tag r21-2-13
cvs
parents: 394
diff changeset
856 !else
6719134a07c2 Import from CVS: tag r21-2-13
cvs
parents: 394
diff changeset
857 {$(TEMACS_SRC)}.c{$(OUTDIR)}.obj:
6719134a07c2 Import from CVS: tag r21-2-13
cvs
parents: 394
diff changeset
858 $(CCV) $(TEMACS_CPP_FLAGS) $< -Fo$@
6719134a07c2 Import from CVS: tag r21-2-13
cvs
parents: 394
diff changeset
859 !endif
118
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 100
diff changeset
860
183
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
861 $(OUTDIR)\TopLevelEmacsShell.obj: $(TEMACS_SRC)\EmacsShell-sub.c
388
aabb7f5b1c81 Import from CVS: tag r21-2-9
cvs
parents: 384
diff changeset
862 $(CCV) $(TEMACS_CPP_FLAGS) -DDEFINE_TOP_LEVEL_EMACS_SHELL $** -Fo$@
118
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 100
diff changeset
863
183
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
864 $(OUTDIR)\TransientEmacsShell.obj: $(TEMACS_SRC)\EmacsShell-sub.c
388
aabb7f5b1c81 Import from CVS: tag r21-2-9
cvs
parents: 384
diff changeset
865 $(CCV) $(TEMACS_CPP_FLAGS) -DDEFINE_TRANSIENT_EMACS_SHELL $** -Fo$@
118
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 100
diff changeset
866
398
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
867 $(OUTDIR)\alloc.obj: $(TEMACS_SRC)\alloc.c
223
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 221
diff changeset
868
183
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
869 #$(TEMACS_SRC)\Emacs.ad.h: $(XEMACS)\etc\Emacs.ad
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
870 # !"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
871
183
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
872 #$(TEMACS_SRC)\paths.h: $(TEMACS_SRC)\paths.h.in
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
873 # !"cd $(TEMACS_SRC); cp paths.h.in paths.h"
118
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 100
diff changeset
874
412
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
875 $(TEMACS): $(TEMACS_INCLUDES) $(TEMACS_OBJS)
396
6719134a07c2 Import from CVS: tag r21-2-13
cvs
parents: 394
diff changeset
876 !if $(DEBUG_XEMACS)
6719134a07c2 Import from CVS: tag r21-2-13
cvs
parents: 394
diff changeset
877 @dir /b/s $(OUTDIR)\*.sbr > bscmake.tmp
6719134a07c2 Import from CVS: tag r21-2-13
cvs
parents: 394
diff changeset
878 bscmake -nologo -o$(TEMACS_BROWSE) @bscmake.tmp
412
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
879 @del bscmake.tmp
398
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
880 !endif
213
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
881 link.exe @<<
412
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
882 $(TEMACS_LFLAGS) $(TEMACS_OBJS) $(TEMACS_LIBS)
213
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
883 <<
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
884
396
6719134a07c2 Import from CVS: tag r21-2-13
cvs
parents: 394
diff changeset
885 $(OUTDIR)\xemacs.res: xemacs.rc
6719134a07c2 Import from CVS: tag r21-2-13
cvs
parents: 394
diff changeset
886 rc -Fo$@ xemacs.rc
213
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
887
118
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 100
diff changeset
888 #------------------------------------------------------------------------------
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 100
diff changeset
889
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 100
diff changeset
890 # LISP bits 'n bobs
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 100
diff changeset
891
213
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
892 LOADPATH=$(LISP)
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
893
412
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
894 $(DOC): $(LIB_SRC)\make-docfile.exe
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
895 -del $(DOC)
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
896 $(TEMACS) -batch -l $(TEMACS_DIR)\..\lisp\make-docfile.el -- -o $(DOC) -i $(XEMACS)\site-packages
278
90d73dddcdc4 Import from CVS: tag r21-0b37
cvs
parents: 276
diff changeset
897 $(LIB_SRC)\make-docfile.exe -a $(DOC) -d $(TEMACS_SRC) $(DOC_SRC1)
90d73dddcdc4 Import from CVS: tag r21-0b37
cvs
parents: 276
diff changeset
898 $(LIB_SRC)\make-docfile.exe -a $(DOC) -d $(TEMACS_SRC) $(DOC_SRC2)
90d73dddcdc4 Import from CVS: tag r21-0b37
cvs
parents: 276
diff changeset
899 $(LIB_SRC)\make-docfile.exe -a $(DOC) -d $(TEMACS_SRC) $(DOC_SRC3)
90d73dddcdc4 Import from CVS: tag r21-0b37
cvs
parents: 276
diff changeset
900 $(LIB_SRC)\make-docfile.exe -a $(DOC) -d $(TEMACS_SRC) $(DOC_SRC4)
90d73dddcdc4 Import from CVS: tag r21-0b37
cvs
parents: 276
diff changeset
901 $(LIB_SRC)\make-docfile.exe -a $(DOC) -d $(TEMACS_SRC) $(DOC_SRC5)
90d73dddcdc4 Import from CVS: tag r21-0b37
cvs
parents: 276
diff changeset
902 $(LIB_SRC)\make-docfile.exe -a $(DOC) -d $(TEMACS_SRC) $(DOC_SRC6)
90d73dddcdc4 Import from CVS: tag r21-0b37
cvs
parents: 276
diff changeset
903 $(LIB_SRC)\make-docfile.exe -a $(DOC) -d $(TEMACS_SRC) $(DOC_SRC7)
90d73dddcdc4 Import from CVS: tag r21-0b37
cvs
parents: 276
diff changeset
904 $(LIB_SRC)\make-docfile.exe -a $(DOC) -d $(TEMACS_SRC) $(DOC_SRC8)
90d73dddcdc4 Import from CVS: tag r21-0b37
cvs
parents: 276
diff changeset
905 $(LIB_SRC)\make-docfile.exe -a $(DOC) -d $(TEMACS_SRC) $(DOC_SRC9)
183
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
906
398
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
907 update-elc:
388
aabb7f5b1c81 Import from CVS: tag r21-2-9
cvs
parents: 384
diff changeset
908 set EMACSBOOTSTRAPLOADPATH=$(LISP);$(PACKAGE_PATH)
aabb7f5b1c81 Import from CVS: tag r21-2-9
cvs
parents: 384
diff changeset
909 set EMACSBOOTSTRAPMODULEPATH=$(MODULES)
412
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
910 $(TEMACS) -batch -l $(TEMACS_DIR)\..\lisp\update-elc.el
223
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 221
diff changeset
911
278
90d73dddcdc4 Import from CVS: tag r21-0b37
cvs
parents: 276
diff changeset
912 # This rule dumps xemacs and then possibly spawns sub-make if PURESPACE
412
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
913 # requirements has changed.
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
914 dump-xemacs: $(TEMACS)
278
90d73dddcdc4 Import from CVS: tag r21-0b37
cvs
parents: 276
diff changeset
915 @echo >$(TEMACS_DIR)\SATISFIED
269
b2472a1930f2 Import from CVS: tag r20-5b33
cvs
parents: 267
diff changeset
916 cd $(TEMACS_DIR)
388
aabb7f5b1c81 Import from CVS: tag r21-2-9
cvs
parents: 384
diff changeset
917 set EMACSBOOTSTRAPLOADPATH=$(LISP);$(PACKAGE_PATH)
412
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
918 -1 $(TEMACS) -batch -l $(TEMACS_DIR)\..\lisp\loadup.el dump
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
919 @cd $(NT)
278
90d73dddcdc4 Import from CVS: tag r21-0b37
cvs
parents: 276
diff changeset
920 @if not exist $(TEMACS_DIR)\SATISFIED nmake -nologo -f xemacs.mak $@
412
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
921
118
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 100
diff changeset
922 #------------------------------------------------------------------------------
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 100
diff changeset
923
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 100
diff changeset
924 # use this rule to build the complete system
412
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
925 all: Installation $(OUTDIR)\nul $(LASTFILE) $(LWLIB) $(LIB_SRC_TOOLS) $(RUNEMACS) \
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
926 $(TEMACS) update-elc $(DOC) dump-xemacs
118
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 100
diff changeset
927
412
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
928 temacs: $(TEMACS)
231
557eaa0339bf Import from CVS: tag r20-5b14
cvs
parents: 227
diff changeset
929
118
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 100
diff changeset
930 # use this rule to install the system
373
6240c7796c7a Import from CVS: tag r21-2b2
cvs
parents: 371
diff changeset
931 install: all
6240c7796c7a Import from CVS: tag r21-2b2
cvs
parents: 371
diff changeset
932 @echo Installing in $(INSTALL_DIR) ...
384
bbff43aa5eb7 Import from CVS: tag r21-2-7
cvs
parents: 382
diff changeset
933 @echo PlaceHolder > PlaceHolder
373
6240c7796c7a Import from CVS: tag r21-2b2
cvs
parents: 371
diff changeset
934 @xcopy /q PROBLEMS "$(INSTALL_DIR)\"
384
bbff43aa5eb7 Import from CVS: tag r21-2-7
cvs
parents: 382
diff changeset
935 @xcopy /q PlaceHolder "$(INSTALL_DIR)\lock\"
412
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
936 @del "$(INSTALL_DIR)\lock\PlaceHolder"
298
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
937 @xcopy /q $(LIB_SRC)\*.exe "$(INSTALL_DIR)\$(EMACS_CONFIGURATION)\"
373
6240c7796c7a Import from CVS: tag r21-2b2
cvs
parents: 371
diff changeset
938 @copy $(LIB_SRC)\DOC "$(INSTALL_DIR)\$(EMACS_CONFIGURATION)"
382
064ab7fed2e0 Import from CVS: tag r21-2-6
cvs
parents: 377
diff changeset
939 @copy $(CONFIG_VALUES) "$(INSTALL_DIR)\$(EMACS_CONFIGURATION)"
412
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
940 @copy $(XEMACS)\src\xemacs.exe "$(INSTALL_DIR)\$(EMACS_CONFIGURATION)"
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
941 @copy $(RUNEMACS) "$(INSTALL_DIR)\$(EMACS_CONFIGURATION)"
298
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
942 @xcopy /e /q $(XEMACS)\etc "$(INSTALL_DIR)\etc\"
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
943 @xcopy /e /q $(XEMACS)\info "$(INSTALL_DIR)\info\"
70ad99077275 Import from CVS: tag r21-0b47
cvs
parents: 294
diff changeset
944 @xcopy /e /q $(XEMACS)\lisp "$(INSTALL_DIR)\lisp\"
384
bbff43aa5eb7 Import from CVS: tag r21-2-7
cvs
parents: 382
diff changeset
945 @echo Making skeleton package tree in $(PACKAGE_PREFIX) ...
bbff43aa5eb7 Import from CVS: tag r21-2-7
cvs
parents: 382
diff changeset
946 @xcopy /q PlaceHolder "$(PACKAGE_PREFIX)\site-packages\"
412
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
947 @del "$(PACKAGE_PREFIX)\site-packages\PlaceHolder"
384
bbff43aa5eb7 Import from CVS: tag r21-2-7
cvs
parents: 382
diff changeset
948 @xcopy /q PlaceHolder "$(PACKAGE_PREFIX)\mule-packages\"
412
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
949 @del "$(PACKAGE_PREFIX)\mule-packages\PlaceHolder"
384
bbff43aa5eb7 Import from CVS: tag r21-2-7
cvs
parents: 382
diff changeset
950 @xcopy /q PlaceHolder "$(PACKAGE_PREFIX)\xemacs-packages\"
412
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
951 @del "$(PACKAGE_PREFIX)\xemacs-packages\PlaceHolder"
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
952 @del PlaceHolder
371
cc15677e0335 Import from CVS: tag r21-2b1
cvs
parents: 367
diff changeset
953
213
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
954 distclean:
412
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
955 del *.bak
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
956 del *.orig
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
957 del *.rej
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
958 del *.tmp
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
959 del Installation
213
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
960 cd $(OUTDIR)
412
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
961 del *.lib
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
962 del *.obj
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
963 del *.pdb
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
964 del *.res
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
965 del *.sbr
286
57709be46d1b Import from CVS: tag r21-0b41
cvs
parents: 284
diff changeset
966 cd $(XEMACS)\$(TEMACS_DIR)
412
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
967 del config.h
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
968 del paths.h
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
969 del Emacs.ad.h
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
970 del *.bak
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
971 del *.orig
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
972 del *.rej
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
973 del *.exe
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
974 del *.map
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
975 del *.bsc
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
976 del *.pdb
213
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
977 cd $(LIB_SRC)
412
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
978 del DOC
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
979 del *.bak
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
980 del *.orig
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
981 del *.rej
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
982 del *.exe
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
983 del *.obj
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
984 del *.pdb
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
985 del *.res
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
986 del $(CONFIG_VALUES)
213
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
987 cd $(LISP)
412
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
988 -del /s /q *.bak *.elc *.orig *.rej
213
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
989
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
990 depend:
412
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
991 mkdepend -f xemacs.mak -p$(OUTDIR)\ -o.obj -w9999 -- $(TEMACS_CPP_FLAGS) -- $(DOC_SRC1) $(DOC_SRC2) $(DOC_SRC3) $(DOC_SRC4) $(DOC_SRC5) $(DOC_SRC6) $(DOC_SRC7) $(DOC_SRC8) $(DOC_SRC9) $(LASTFILE_SRC)\lastfile.c $(LIB_SRC)\make-docfile.c $(LIB_SRC)\run.c
398
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
992
412
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
993 Installation:
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
994 @type > Installation <<
398
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
995 !if defined(OS)
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
996 OS: $(OS)
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
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
999 XEmacs $(XEMACS_VERSION_STRING) $(xemacs_codename:"=\") configured for `$(EMACS_CONFIGURATION)'.
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
1000
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
1001 Building XEmacs in \"$(MAKEDIR:\=\\)\".
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
1002 !if defined(CCV)
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
1003 Using compiler \"$(CC) $(CFLAGS)\".
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
1004 !endif
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
1005 Installing XEmacs in \"$(INSTALL_DIR:\=\\)\".
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
1006 Package path is $(PATH_PACKAGEPATH:"=\").
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
1007 !if $(INFODOCK)
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
1008 Building InfoDock.
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
1009 !endif
412
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
1010 !if $(HAVE_MSW)
398
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
1011 Compiling in support for Microsoft Windows native GUI.
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
1012 !endif
412
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
1013 !if $(HAVE_X)
398
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
1014 Compiling in support for X-Windows.
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
1015 !endif
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
1016 !if $(HAVE_MULE)
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
1017 Compiling in MULE.
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
1018 !endif
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
1019 !if $(HAVE_XPM)
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
1020 Compiling in support for XPM images.
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
1021 !else
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 WARNING: Compiling without XPM support.
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
1024 WARNING: You should strongly consider installing XPM.
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
1025 WARNING: Otherwise toolbars and other graphics will look suboptimal.
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
1026 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
1027 --------------------------------------------------------------------
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
1028 !endif
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
1029 !if $(HAVE_GIF)
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
1030 Compiling in support for GIF images.
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
1031 !endif
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
1032 !if $(HAVE_PNG)
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
1033 Compiling in support for PNG images.
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
1034 !else
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
1035 --------------------------------------------------------------------
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
1036 WARNING: Compiling without PNG image support.
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
1037 WARNING: You should strongly consider installing the PNG libraries.
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
1038 WARNING: Otherwise certain images and glyphs may not display.
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
1039 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
1040 --------------------------------------------------------------------
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
1041 !endif
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
1042 !if $(HAVE_TIFF)
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
1043 Compiling in support for TIFF images.
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
1044 !endif
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
1045 !if $(HAVE_JPEG)
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
1046 Compiling in support for JPEG images.
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
1047 !endif
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
1048 !if $(HAVE_XFACE)
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
1049 Compiling in support for X-Face message headers.
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
1050 !endif
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
1051 !if $(HAVE_TOOLBARS)
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
1052 Compiling in support for toolbars.
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
1053 !endif
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
1054 !if $(HAVE_DIALOGS)
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
1055 Compiling in support for dialogs.
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
1056 !endif
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
1057 !if $(HAVE_NATIVE_SOUND)
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
1058 Compiling in support for native sounds.
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
1059 !endif
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
1060 !if $(HAVE_MSW_C_DIRED)
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
1061 Compiling in fast dired implementation.
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
1062 !else
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
1063 --------------------------------------------------------------------
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
1064 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
1065 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
1066 WARNING: expense of an additional ~4KB of code.
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
1067 --------------------------------------------------------------------
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
1068 !endif
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
1069 !if $(USE_MINIMAL_TAGBITS)
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
1070 Using minimal tagbits.
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
1071 !endif
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
1072 !if $(USE_INDEXED_LRECORD_IMPLEMENTATION)
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
1073 Using indexed lrecord implementation.
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
1074 !endif
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
1075 !if $(USE_UNION_TYPE)
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
1076 Using union type for Lisp object storage.
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
1077 !endif
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
1078 !if $(DEBUG_XEMACS)
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
1079 Compiling in extra debug checks. XEmacs will be slow!
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
1080 !endif
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
1081 <<NOKEEP
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
1082 @echo --------------------------------------------------------------------
412
697ef44129c6 Import from CVS: tag r21-2-14
cvs
parents: 410
diff changeset
1083 @type Installation
398
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
1084 @echo --------------------------------------------------------------------
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 396
diff changeset
1085
213
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
1086 # DO NOT DELETE THIS LINE -- make depend depends on it.
267
966663fcf606 Import from CVS: tag r20-5b32
cvs
parents: 265
diff changeset
1087