annotate nt/xemacs.mak @ 384:bbff43aa5eb7 r21-2-7

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