annotate nt/xemacs95.mak @ 337:fbbf69b4e8a7 r21-0-66

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