annotate nt/xemacs.mak @ 438:84b14dcb0985 r21-2-27

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