annotate nt/xemacs.mak @ 632:406bf4f67ac1

[xemacs-hg @ 2001-07-19 07:19:58 by stephent] xemacs-patches: <15142.14867.525787.322728@turnbull.sk.tsukuba.ac.jp> 2001-06-12 Stephen J. Turnbull <stephen@xemacs.org> * xemacs.mak (HAVE_ZLIB): New, defaults to HAVE_PNG. (USE_MINITAR): Default to HAVE_ZLIB. (MSW_LIBS): Add comctl32.lib if HAVE_WIDGETS. (mostlyclean, nicenclean, distclean, versionclean): Only one target per invocation of $(DEL); don't use unneeded switches (WinME support). (TEMACS_CPP_FLAGS): Add EMACS_PATCH_LEVEL.
author stephent
date Thu, 19 Jul 2001 07:19:58 +0000
parents 28e2f03164f1
children 2538b7200a20
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1 # Makefile for Microsoft NMAKE
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
2 # Copyright (C) 1995 Board of Trustees, University of Illinois.
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
3 # Copyright (C) 1995, 1996, 2000 Ben Wing.
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
4 # Copyright (C) 1995 Sun Microsystems, Inc.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
5 # Copyright (C) 1998 Free Software Foundation, Inc.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
6 #
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
7 # This file is part of XEmacs.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
8 #
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
9 # XEmacs is free software; you can redistribute it and/or modify it
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
10 # under the terms of the GNU General Public License as published by the
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
11 # Free Software Foundation; either version 2, or (at your option) any
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
12 # later version.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
13 #
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
14 # XEmacs is distributed in the hope that it will be useful, but WITHOUT
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
15 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
16 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
17 # for more details.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
18 #
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
19 # You should have received a copy of the GNU General Public License
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
20 # along with XEmacs; see the file COPYING. If not, write to
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
21 # the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
22 # Boston, MA 02111-1307, USA.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
23 #
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
24 # Synched up with: Not in FSF.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
25 #
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
26
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
27 default: all
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
28
444
576fb035e263 Import from CVS: tag r21-2-37
cvs
parents: 442
diff changeset
29 # APA: Since there seems to be no way to determine the directory where
576fb035e263 Import from CVS: tag r21-2-37
cvs
parents: 442
diff changeset
30 # xemacs.mak is located (from within nmake) we just insist on the user
576fb035e263 Import from CVS: tag r21-2-37
cvs
parents: 442
diff changeset
31 # to invoke nmake in the directory where xemacs.mak is.
576fb035e263 Import from CVS: tag r21-2-37
cvs
parents: 442
diff changeset
32 !if !exist("$(MAKEDIR)\xemacs.mak")
576fb035e263 Import from CVS: tag r21-2-37
cvs
parents: 442
diff changeset
33 !error Please run nmake from the directory of this makefile (xemacs\nt).
576fb035e263 Import from CVS: tag r21-2-37
cvs
parents: 442
diff changeset
34 !endif
576fb035e263 Import from CVS: tag r21-2-37
cvs
parents: 442
diff changeset
35
576fb035e263 Import from CVS: tag r21-2-37
cvs
parents: 442
diff changeset
36 XEMACS=$(MAKEDIR)\..
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
37 LISP=$(XEMACS)\lisp
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
38 LIB_SRC=$(XEMACS)\lib-src
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
39 MODULES=$(XEMACS)\modules
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
40 NT=$(XEMACS)\nt
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
41 OUTDIR=$(NT)\obj
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
42 SRC=$(XEMACS)\src
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
43 LWLIB_SRCDIR=$(XEMACS)\lwlib
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
44 MAKEDIRSTRING=$(MAKEDIR:\=\\)
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
45 XEMACSDIRSTRING=$(MAKEDIRSTRING:\\nt=)
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
46
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
47
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
48 # Define a variable for the 'del' command to use
632
406bf4f67ac1 [xemacs-hg @ 2001-07-19 07:19:58 by stephent]
stephent
parents: 587
diff changeset
49 # N.B. Windows Millenium Edition's ERASE can only handle one target (file or
406bf4f67ac1 [xemacs-hg @ 2001-07-19 07:19:58 by stephent]
stephent
parents: 587
diff changeset
50 # wildcard) per invocation. Make sure each use has only one target!
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
51 DEL=-del
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
52
583
391cf801cb8d [xemacs-hg @ 2001-05-27 10:50:44 by nick]
nick
parents: 580
diff changeset
53 # Define a variable for 'copy' command to use
391cf801cb8d [xemacs-hg @ 2001-05-27 10:50:44 by nick]
nick
parents: 580
diff changeset
54 # Suppress confirmation for overwriting files
391cf801cb8d [xemacs-hg @ 2001-05-27 10:50:44 by nick]
nick
parents: 580
diff changeset
55 COPY=xcopy /q /y
391cf801cb8d [xemacs-hg @ 2001-05-27 10:50:44 by nick]
nick
parents: 580
diff changeset
56 COPYDIR=xcopy /q /y /e
391cf801cb8d [xemacs-hg @ 2001-05-27 10:50:44 by nick]
nick
parents: 580
diff changeset
57
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
58 # Program name and version
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
59
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
60 !include "$(XEMACS)\version.sh"
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
61
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
62 !include "config.inc"
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
63
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
64 !if !defined(INFODOCK)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
65 INFODOCK=0
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
66 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
67
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
68 !if $(INFODOCK)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
69 INFODOCK_VERSION_STRING=$(infodock_major_version).$(infodock_minor_version).$(infodock_build_version)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
70 PROGRAM_DEFINES=-DINFODOCK \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
71 -DPATH_VERSION=\"$(INFODOCK_VERSION_STRING)\" \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
72 -DPATH_PROGNAME=\"infodock\" \
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
73 -DEMACS_PROGNAME=\"infodock\" \
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
74 -DEMACS_VERSION=\"$(INFODOCK_VERSION_STRING)\" \
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
75 -DINFODOCK_MAJOR_VERSION=$(infodock_major_version) \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
76 -DINFODOCK_MINOR_VERSION=$(infodock_minor_version) \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
77 -DINFODOCK_BUILD_VERSION=$(infodock_build_version)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
78 !else
496
98145293255c [xemacs-hg @ 2001-05-01 12:05:20 by adrian]
adrian
parents: 494
diff changeset
79 XEMACS_VERSION_STRING=$(emacs_major_version).$(emacs_minor_version)
98145293255c [xemacs-hg @ 2001-05-01 12:05:20 by adrian]
adrian
parents: 494
diff changeset
80 !if "$(emacs_beta_version)" != ""
488
1e7b510d04f6 [xemacs-hg @ 2001-04-28 21:04:49 by adrian]
adrian
parents: 462
diff changeset
81 !if "$(emacs_is_beta)" != ""
496
98145293255c [xemacs-hg @ 2001-05-01 12:05:20 by adrian]
adrian
parents: 494
diff changeset
82 XEMACS_VERSION_STRING=$(XEMACS_VERSION_STRING)-b$(emacs_beta_version)
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
83 !else
496
98145293255c [xemacs-hg @ 2001-05-01 12:05:20 by adrian]
adrian
parents: 494
diff changeset
84 XEMACS_VERSION_STRING=$(XEMACS_VERSION_STRING).$(emacs_beta_version)
98145293255c [xemacs-hg @ 2001-05-01 12:05:20 by adrian]
adrian
parents: 494
diff changeset
85 !endif
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
86 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
87 PROGRAM_DEFINES= \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
88 -DPATH_VERSION=\"$(XEMACS_VERSION_STRING)\" \
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
89 -DPATH_PROGNAME=\"xemacs\" \
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
90 -DEMACS_VERSION=\"$(XEMACS_VERSION_STRING)\" \
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
91 -DEMACS_PROGNAME=\"xemacs\"
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
92 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
93
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
94 #
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
95 # Command line options defaults
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
96 #
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
97 !if !defined(INSTALL_DIR)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
98 ! if $(INFODOCK)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
99 INSTALL_DIR=c:\Program Files\Infodock\Infodock-$(INFODOCK_VERSION_STRING)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
100 ! else
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
101 INSTALL_DIR=c:\Program Files\XEmacs\XEmacs-$(XEMACS_VERSION_STRING)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
102 ! endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
103 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
104 !if !defined(HAVE_MULE)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
105 HAVE_MULE=0
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
106 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
107 !if !defined(PACKAGE_PATH)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
108 ! if !defined(PACKAGE_PREFIX)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
109 PACKAGE_PREFIX=c:\Program Files\XEmacs
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
110 ! endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
111 ! if $(HAVE_MULE)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
112 PACKAGE_PATH=~\.xemacs;;$(PACKAGE_PREFIX)\site-packages;$(PACKAGE_PREFIX)\mule-packages;$(PACKAGE_PREFIX)\xemacs-packages
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
113 ! else
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
114 PACKAGE_PATH=~\.xemacs;;$(PACKAGE_PREFIX)\site-packages;$(PACKAGE_PREFIX)\xemacs-packages
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
115 ! endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
116 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
117 PATH_PACKAGEPATH="$(PACKAGE_PATH:\=\\)"
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
118 !if !defined(HAVE_MS_WINDOWS)
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
119 HAVE_MS_WINDOWS=1
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
120 !endif
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
121 !if !defined(HAVE_X_WINDOWS)
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
122 HAVE_X_WINDOWS=0
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
123 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
124 !if !defined(HAVE_XPM)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
125 HAVE_XPM=0
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
126 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
127 !if !defined(HAVE_PNG)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
128 HAVE_PNG=0
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
129 !endif
632
406bf4f67ac1 [xemacs-hg @ 2001-07-19 07:19:58 by stephent]
stephent
parents: 587
diff changeset
130 !if !defined(HAVE_ZLIB)
406bf4f67ac1 [xemacs-hg @ 2001-07-19 07:19:58 by stephent]
stephent
parents: 587
diff changeset
131 HAVE_ZLIB=$(HAVE_PNG)
406bf4f67ac1 [xemacs-hg @ 2001-07-19 07:19:58 by stephent]
stephent
parents: 587
diff changeset
132 !endif
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
133 !if !defined(HAVE_TIFF)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
134 HAVE_TIFF=0
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
135 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
136 !if !defined(HAVE_JPEG)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
137 HAVE_JPEG=0
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
138 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
139 !if !defined(HAVE_XFACE)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
140 HAVE_XFACE=0
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
141 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
142 !if !defined(HAVE_GIF)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
143 HAVE_GIF=1
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
144 !endif
488
1e7b510d04f6 [xemacs-hg @ 2001-04-28 21:04:49 by adrian]
adrian
parents: 462
diff changeset
145 !if !defined(HAVE_GTK)
1e7b510d04f6 [xemacs-hg @ 2001-04-28 21:04:49 by adrian]
adrian
parents: 462
diff changeset
146 HAVE_GTK=0
1e7b510d04f6 [xemacs-hg @ 2001-04-28 21:04:49 by adrian]
adrian
parents: 462
diff changeset
147 !endif
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
148 !if !defined(HAVE_TOOLBARS)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
149 HAVE_TOOLBARS=$(HAVE_XPM)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
150 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
151 !if !defined(HAVE_DIALOGS)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
152 HAVE_DIALOGS=1
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
153 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
154 !if !defined(HAVE_MSW_C_DIRED)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
155 HAVE_MSW_C_DIRED=1
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
156 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
157 !if !defined(HAVE_NATIVE_SOUND)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
158 HAVE_NATIVE_SOUND=1
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
159 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
160 !if !defined(HAVE_WIDGETS)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
161 HAVE_WIDGETS=1
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
162 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
163 !if !defined(DEBUG_XEMACS)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
164 DEBUG_XEMACS=0
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
165 !endif
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
166 !if !defined(QUICK_BUILD)
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
167 QUICK_BUILD=0
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
168 !endif
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
169 !if !defined(USE_UNION_TYPE)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
170 USE_UNION_TYPE=0
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
171 !endif
438
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 432
diff changeset
172 !if !defined(USE_MINITAR)
632
406bf4f67ac1 [xemacs-hg @ 2001-07-19 07:19:58 by stephent]
stephent
parents: 587
diff changeset
173 USE_MINITAR=$(HAVE_ZLIB)
438
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 432
diff changeset
174 !endif
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
175 !if !defined(USE_MINIMAL_TAGBITS)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
176 USE_MINIMAL_TAGBITS=0
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
177 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
178 !if !defined(USE_INDEXED_LRECORD_IMPLEMENTATION)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
179 USE_INDEXED_LRECORD_IMPLEMENTATION=0
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
180 !endif
438
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 432
diff changeset
181 !if !defined(USE_PORTABLE_DUMPER)
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 432
diff changeset
182 USE_PORTABLE_DUMPER=0
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 432
diff changeset
183 !endif
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
184 !if !defined(GUNG_HO)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
185 GUNG_HO=0
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
186 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
187
440
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
188 # A little bit of adhockery. Default to use system malloc and
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
189 # DLL version of the C runtime library when using portable
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
190 # dumping. These are the optimal settings.
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
191 !if !defined(USE_SYSTEM_MALLOC)
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
192 USE_SYSTEM_MALLOC=$(USE_PORTABLE_DUMPER)
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
193 !endif
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
194 !if !defined(USE_CRTDLL)
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
195 USE_CRTDLL=$(USE_PORTABLE_DUMPER)
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
196 !endif
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
197
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
198 #
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
199 # System configuration
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
200 #
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
201 !if !defined(OS)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
202 OS=Windows_95/98
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
203 EMACS_CONFIGURATION=i586-pc-win32
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
204 !else if "$(PROCESSOR_ARCHITECTURE)" == "x86"
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
205 EMACS_CONFIGURATION=i586-pc-win32
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
206 !else if "$(PROCESSOR_ARCHITECTURE)" == "MIPS"
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
207 EMACS_CONFIGURATION=mips-pc-win32
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
208 !else if "$(PROCESSOR_ARCHITECTURE)" == "ALPHA"
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
209 EMACS_CONFIGURATION=alpha-pc-win32
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
210 !else if "$(PROCESSOR_ARCHITECTURE)" == "PPC"
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
211 EMACS_CONFIGURATION=ppc-pc-win32
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
212 !else
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
213 ! error Unknown processor architecture type $(PROCESSOR_ARCHITECTURE)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
214 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
215
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
216 #
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
217 # Conf error checks
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
218 #
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
219 CONFIG_ERROR=0
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
220 !if $(INFODOCK) && !exist("..\..\Infodock.rules")
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
221 !message Cannot build InfoDock without InfoDock sources
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
222 CONFIG_ERROR=1
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
223 !endif
440
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
224 !if !$(USE_PORTABLE_DUMPER) && $(USE_SYSTEM_MALLOC)
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
225 !message Cannot use system allocator when dumping old way, use portable dumper.
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
226 CONFIG_ERROR=1
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
227 !endif
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
228 !if !$(USE_PORTABLE_DUMPER) && $(USE_CRTDLL)
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
229 !message Cannot use C runtime DLL when dumping old way, use portable dumper.
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
230 CONFIG_ERROR=1
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
231 !endif
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
232 !if !$(USE_SYSTEM_MALLOC) && $(USE_CRTDLL)
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
233 !message GNU malloc currently cannot be used with CRT DLL.
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
234 !message [[[Developer note: If you want to fix it, read Q112297 first]]] ####
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
235 CONFIG_ERROR=1
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
236 !endif
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
237 !if !$(HAVE_MS_WINDOWS) && !$(HAVE_X_WINDOWS)
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
238 !message Please specify at least one HAVE_MS_WINDOWS=1 and/or HAVE_X_WINDOWS=1
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
239 CONFIG_ERROR=1
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
240 !endif
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
241 !if $(HAVE_X_WINDOWS) && !defined(X11_DIR)
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
242 !message Please specify root directory for your X11 installation: X11_DIR=path
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
243 CONFIG_ERROR=1
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
244 !endif
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
245 !if $(HAVE_X_WINDOWS) && defined(X11_DIR) && !exist("$(X11_DIR)\LIB\X11.LIB")
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
246 !message Specified X11 directory does not contain "$(X11_DIR)\LIB\X11.LIB"
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
247 CONFIG_ERROR=1
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
248 !endif
488
1e7b510d04f6 [xemacs-hg @ 2001-04-28 21:04:49 by adrian]
adrian
parents: 462
diff changeset
249 !if $(HAVE_MS_WINDOWS) && $(HAVE_GTK) && !defined(GTK_DIR)
1e7b510d04f6 [xemacs-hg @ 2001-04-28 21:04:49 by adrian]
adrian
parents: 462
diff changeset
250 !message Please specify root directory for your GTK installation: GTK_DIR=path
1e7b510d04f6 [xemacs-hg @ 2001-04-28 21:04:49 by adrian]
adrian
parents: 462
diff changeset
251 CONFIG_ERROR=1
1e7b510d04f6 [xemacs-hg @ 2001-04-28 21:04:49 by adrian]
adrian
parents: 462
diff changeset
252 !endif
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
253 !if $(HAVE_MS_WINDOWS) && $(HAVE_XPM) && !defined(XPM_DIR)
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
254 !message Please specify root directory for your XPM installation: XPM_DIR=path
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
255 CONFIG_ERROR=1
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
256 !endif
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
257 !if $(HAVE_MS_WINDOWS) && $(HAVE_XPM) && defined(XPM_DIR) && !exist("$(XPM_DIR)\lib\Xpm.lib")
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
258 !message Specified XPM directory does not contain "$(XPM_DIR)\lib\Xpm.lib"
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
259 CONFIG_ERROR=1
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
260 !endif
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
261 !if $(HAVE_MS_WINDOWS) && $(HAVE_PNG) && !defined(PNG_DIR)
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
262 !message Please specify root directory for your PNG installation: PNG_DIR=path
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
263 CONFIG_ERROR=1
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
264 !endif
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
265 !if $(HAVE_MS_WINDOWS) && $(HAVE_PNG) && defined(PNG_DIR) && !exist("$(PNG_DIR)\libpng.lib")
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
266 !message Specified PNG directory does not contain "$(PNG_DIR)\libpng.lib"
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
267 CONFIG_ERROR=1
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
268 !endif
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
269 !if $(HAVE_MS_WINDOWS) && $(HAVE_PNG) && !defined(ZLIB_DIR)
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
270 !message Please specify root directory for your ZLIB installation: ZLIB_DIR=path
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
271 CONFIG_ERROR=1
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
272 !endif
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
273 !if $(HAVE_MS_WINDOWS) && $(HAVE_PNG) && defined(ZLIB_DIR) && !exist("$(ZLIB_DIR)\zlib.lib")
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
274 !message Specified ZLIB directory does not contain "$(ZLIB_DIR)\zlib.lib"
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
275 CONFIG_ERROR=1
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
276 !endif
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
277 !if $(HAVE_MS_WINDOWS) && $(HAVE_TIFF) && !defined(TIFF_DIR)
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
278 !message Please specify root directory for your TIFF installation: TIFF_DIR=path
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
279 CONFIG_ERROR=1
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
280 !endif
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
281 !if $(HAVE_MS_WINDOWS) && $(HAVE_TIFF) && !exist("$(TIFF_DIR)\libtiff\libtiff.lib")
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
282 !message Specified TIFF directory does not contain "$(TIFF_DIR)\libtiff\libtiff.lib"
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
283 CONFIG_ERROR=1
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
284 !endif
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
285 !if $(HAVE_MS_WINDOWS) && $(HAVE_JPEG) && !defined(JPEG_DIR)
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
286 !message Please specify root directory for your JPEG installation: JPEG_DIR=path
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
287 CONFIG_ERROR=1
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
288 !endif
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
289 !if $(HAVE_MS_WINDOWS) && $(HAVE_JPEG) && !exist("$(JPEG_DIR)\libjpeg.lib")
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
290 !message Specified JPEG directory does not contain "$(JPEG_DIR)\libjpeg.lib"
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
291 CONFIG_ERROR=1
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
292 !endif
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
293 !if $(HAVE_MS_WINDOWS) && $(HAVE_XFACE) && !defined(COMPFACE_DIR)
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
294 !message Please specify root directory for your COMPFACE installation: COMPFACE_DIR=path
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
295 CONFIG_ERROR=1
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
296 !endif
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
297 !if $(HAVE_MS_WINDOWS) && $(HAVE_XFACE) && !exist("$(COMPFACE_DIR)\libcompface.lib")
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
298 !message Specified COMPFACE directory does not contain "$(COMPFACE_DIR)\libcompface.lib"
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
299 CONFIG_ERROR=1
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
300 !endif
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
301 !if $(HAVE_MS_WINDOWS) && $(HAVE_TOOLBARS) && !$(HAVE_XPM)
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
302 !message Toolbars require XPM support
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
303 CONFIG_ERROR=1
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
304 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
305 !if $(CONFIG_ERROR)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
306 !error Configuration error(s) found
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
307 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
308
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
309 #
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
310 # Handle GUNG_HO
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
311 #
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
312 !if defined(GUNG_HO)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
313 USE_MINIMAL_TAGBITS=$(GUNG_HO)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
314 USE_INDEXED_LRECORD_IMPLEMENTATION=$(GUNG_HO)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
315 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
316
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
317 #
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
318 # Whether to use dependency information generated by make-src-depend
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
319 #
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
320 !if !defined(DEPEND)
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
321 DEPEND=0
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
322 !endif
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
323 !if $(DEPEND)
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
324 ! if [if not exist $(OUTDIR)\nul mkdir "$(OUTDIR)"]
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
325 ! endif
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
326 # generate an nmake-readable version of depend
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
327 # #### here, it doesn't seem to matter if we double ^'s!
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
328 # results are the same with all single ^ and all double ^^!
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
329 # see comment below.
462
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents: 444
diff changeset
330 # #### Yuuuuuuuuuuck!!! Cygwin is too smart for its own good. If we are
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents: 444
diff changeset
331 # being run from within Cygwin, a Cygwin Perl seems to require twice as
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents: 444
diff changeset
332 # much backslash quoting. This does not happen, of course, with a non-
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents: 444
diff changeset
333 # Cygwin Perl, so in that circumstance, you'd be screwed and would have
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents: 444
diff changeset
334 # to fix this Makefile to not have a special Cygwin case.
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents: 444
diff changeset
335 ! if defined(_)
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents: 444
diff changeset
336 ! if [perl -p -e "s/^\\x23if defined(.+)/!if defined$$1/; s/^\\x23e/!e/;" \
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents: 444
diff changeset
337 -e "s/([\\s=^])([\\w\\d\\.\\-^]+\\.[ch^])/$$1$(SRC:\=\\\\)\\\\$$2/g;" \
587
28e2f03164f1 [xemacs-hg @ 2001-05-29 08:03:09 by ben]
ben
parents: 583
diff changeset
338 -e "s/^(.+)\\.o:(.+)/$(OUTDIR:\=\\\\)\\\\$$1.obj:$$2 $(NT:\=\\\\)\\\\config.inc/;" \
462
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents: 444
diff changeset
339 < $(SRC)\depend > $(OUTDIR)\depend.tmp]
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents: 444
diff changeset
340 ! endif
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents: 444
diff changeset
341 ! else
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents: 444
diff changeset
342 ! if [perl -p -e "s/^\x23if defined(.+)/!if defined$$1/; s/^\x23e/!e/;" \
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
343 -e "s/([\s=^])([\w\d\.\-^]+\.[ch^])/$$1$(SRC:\=\\)\\$$2/g;" \
587
28e2f03164f1 [xemacs-hg @ 2001-05-29 08:03:09 by ben]
ben
parents: 583
diff changeset
344 -e "s/^(.+)\.o:(.+)/$(OUTDIR:\=\\)\\$$1.obj:$$2 $(NT:\=\\)\\config.inc/;" \
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
345 < $(SRC)\depend > $(OUTDIR)\depend.tmp]
462
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents: 444
diff changeset
346 ! endif
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
347 ! endif
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
348 ! include "$(OUTDIR)\depend.tmp"
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
349 !else
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
350 ! if [echo WARNING: Compiling without dependency information.]
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
351 ! endif
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
352 !endif
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
353
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
354 #
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
355 # Compiler command echo control. Define VERBOSECC=1 to get verbose compilation.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
356 #
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
357 !if !defined(VERBOSECC)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
358 VERBOSECC=0
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
359 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
360 !if $(VERBOSECC)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
361 CCV=$(CC)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
362 !else
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
363 CCV=@$(CC)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
364 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
365
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
366 !if $(DEBUG_XEMACS)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
367 OPT=-Od -Zi
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
368 !else
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
369 OPT=-O2 -G5
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
370 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
371
440
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
372 !if $(USE_CRTDLL)
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
373 !if $(DEBUG_XEMACS)
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
374 C_LIBFLAG=-MDd
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
375 LIBC_LIB=msvcrtd.lib
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
376 !else
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
377 C_LIBFLAG=-MD
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
378 LIBC_LIB=msvcrt.lib
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
379 !endif
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
380 !else
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
381 C_LIBFLAG=-ML
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
382 LIBC_LIB=libc.lib
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
383 !endif
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
384
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
385 CFLAGS=-nologo -W3 $(OPT) $(C_LIBFLAG)
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
386
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
387 !if $(HAVE_X_WINDOWS)
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
388 X_DEFINES=-DHAVE_X_WINDOWS
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
389 X_INCLUDES=-I$(X11_DIR)\include
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
390 X_LIBS=-libpath:$(X11_DIR)\lib Xaw.lib Xmu.lib Xt.lib SM.lib ICE.lib Xext.lib X11.lib
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
391 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
392
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
393 !if $(HAVE_MS_WINDOWS)
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
394 MSW_DEFINES=-DHAVE_MS_WINDOWS -DHAVE_SCROLLBARS -DHAVE_MENUBARS
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
395 MSW_INCLUDES=
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
396 MSW_LIBS=
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
397 !if $(HAVE_MSW_C_DIRED)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
398 MSW_DEFINES=$(MSW_DEFINES) -DHAVE_MSW_C_DIRED
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
399 MSW_C_DIRED_SRC=$(SRC)\dired-msw.c
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
400 MSW_C_DIRED_OBJ=$(OUTDIR)\dired-msw.obj
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
401 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
402 !if $(HAVE_XPM)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
403 MSW_DEFINES=$(MSW_DEFINES) -DHAVE_XPM -DFOR_MSW
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
404 MSW_INCLUDES=$(MSW_INCLUDES) -I"$(XPM_DIR)" -I"$(XPM_DIR)\lib"
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
405 MSW_LIBS=$(MSW_LIBS) "$(XPM_DIR)\lib\Xpm.lib"
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
406 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
407 !if $(HAVE_GIF)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
408 MSW_DEFINES=$(MSW_DEFINES) -DHAVE_GIF
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
409 MSW_GIF_SRC=$(SRC)\dgif_lib.c $(SRC)\gif_io.c
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
410 MSW_GIF_OBJ=$(OUTDIR)\dgif_lib.obj $(OUTDIR)\gif_io.obj
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
411 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
412 !if $(HAVE_PNG)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
413 MSW_DEFINES=$(MSW_DEFINES) -DHAVE_PNG
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
414 MSW_INCLUDES=$(MSW_INCLUDES) -I"$(PNG_DIR)" -I"$(ZLIB_DIR)"
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
415 MSW_LIBS=$(MSW_LIBS) "$(PNG_DIR)\libpng.lib" "$(ZLIB_DIR)\zlib.lib"
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
416 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
417 !if $(HAVE_TIFF)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
418 MSW_DEFINES=$(MSW_DEFINES) -DHAVE_TIFF
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
419 MSW_INCLUDES=$(MSW_INCLUDES) -I"$(TIFF_DIR)\libtiff"
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
420 MSW_LIBS=$(MSW_LIBS) "$(TIFF_DIR)\libtiff\libtiff.lib"
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
421 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
422 !if $(HAVE_JPEG)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
423 MSW_DEFINES=$(MSW_DEFINES) -DHAVE_JPEG
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
424 MSW_INCLUDES=$(MSW_INCLUDES) -I"$(JPEG_DIR)"
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
425 MSW_LIBS=$(MSW_LIBS) "$(JPEG_DIR)\libjpeg.lib"
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
426 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
427 !if $(HAVE_XFACE)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
428 MSW_DEFINES=$(MSW_DEFINES) -DHAVE_XFACE
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
429 MSW_INCLUDES=$(MSW_INCLUDES) -I"$(COMPFACE_DIR)"
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
430 MSW_LIBS=$(MSW_LIBS) "$(COMPFACE_DIR)\libcompface.lib"
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
431 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
432 !if $(HAVE_TOOLBARS)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
433 MSW_DEFINES=$(MSW_DEFINES) -DHAVE_TOOLBARS
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
434 MSW_TOOLBAR_SRC=$(SRC)\toolbar.c $(SRC)\toolbar-msw.c
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
435 MSW_TOOLBAR_OBJ=$(OUTDIR)\toolbar.obj $(OUTDIR)\toolbar-msw.obj
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
436 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
437 !if $(HAVE_DIALOGS)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
438 MSW_DEFINES=$(MSW_DEFINES) -DHAVE_DIALOGS
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
439 MSW_DIALOG_SRC=$(SRC)\dialog.c $(SRC)\dialog-msw.c
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
440 MSW_DIALOG_OBJ=$(OUTDIR)\dialog.obj $(OUTDIR)\dialog-msw.obj
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
441 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
442 !if $(HAVE_WIDGETS)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
443 MSW_DEFINES=$(MSW_DEFINES) -DHAVE_WIDGETS
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
444 !endif
632
406bf4f67ac1 [xemacs-hg @ 2001-07-19 07:19:58 by stephent]
stephent
parents: 587
diff changeset
445 !if $(HAVE_TOOLBARS) || $(HAVE_WIDGETS)
406bf4f67ac1 [xemacs-hg @ 2001-07-19 07:19:58 by stephent]
stephent
parents: 587
diff changeset
446 MSW_LIBS=$(MSW_LIBS) comctl32.lib
406bf4f67ac1 [xemacs-hg @ 2001-07-19 07:19:58 by stephent]
stephent
parents: 587
diff changeset
447 !endif
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
448 !if $(HAVE_NATIVE_SOUND)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
449 MSW_DEFINES=$(MSW_DEFINES) -DHAVE_NATIVE_SOUND
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
450 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
451 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
452
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
453 !if $(HAVE_MULE)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
454 MULE_DEFINES=-DMULE
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
455 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
456
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
457 !if $(DEBUG_XEMACS)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
458 DEBUG_DEFINES=-DDEBUG_XEMACS -D_DEBUG
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
459 DEBUG_FLAGS=-debug:full
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
460 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
461
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
462 !if $(QUICK_BUILD)
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
463 QUICK_DEFINES=-DQUICK_BUILD
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
464 !endif
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
465
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
466 !if $(USE_MINIMAL_TAGBITS)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
467 TAGBITS_DEFINES=-DUSE_MINIMAL_TAGBITS
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
468 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
469 !if $(USE_INDEXED_LRECORD_IMPLEMENTATION)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
470 LRECORD_DEFINES=-DUSE_INDEXED_LRECORD_IMPLEMENTATION
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
471 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
472 !if $(USE_UNION_TYPE)
440
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
473 UNION_DEFINES=-DUSE_UNION_TYPE
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
474 !endif
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
475
438
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 432
diff changeset
476 !if $(USE_PORTABLE_DUMPER)
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 432
diff changeset
477 DUMPER_DEFINES=-DPDUMP
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 432
diff changeset
478 !endif
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 432
diff changeset
479
440
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
480 !if $(USE_SYSTEM_MALLOC)
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
481 MALLOC_DEFINES=-DSYSTEM_MALLOC
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
482 !else
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
483 MALLOC_DEFINES=-DGNU_MALLOC
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
484 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
485
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
486 # Hard-coded paths
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
487
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
488 !if $(INFODOCK)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
489 PATH_PREFIX=../..
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
490 !else
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
491 PATH_PREFIX=..
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
492 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
493
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
494 PATH_DEFINES=-DPATH_PREFIX=\"$(PATH_PREFIX)\"
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
495
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
496 # Generic variables
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
497
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
498 INCLUDES=$(X_INCLUDES) $(MSW_INCLUDES) -I$(NT)\inc -I$(SRC) -I$(LWLIB_SRCDIR)
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
499
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
500 DEFINES=$(X_DEFINES) $(MSW_DEFINES) $(MULE_DEFINES) \
440
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
501 $(TAGBITS_DEFINES) $(LRECORD_DEFINES) $(UNION_DEFINES) \
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
502 $(DUMPER_DEFINES) $(MALLOC_DEFINES) $(QUICK_DEFINES) \
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
503 -DWIN32_LEAN_AND_MEAN -DWIN32_NATIVE -Demacs \
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
504 -DHAVE_CONFIG_H $(PROGRAM_DEFINES) $(PATH_DEFINES)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
505
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
506 #------------------------------------------------------------------------------
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
507
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
508 $(OUTDIR)\nul:
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
509 -@mkdir $(OUTDIR)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
510
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
511 XEMACS_INCLUDES=\
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
512 $(SRC)\config.h \
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
513 $(SRC)\Emacs.ad.h \
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
514 $(SRC)\paths.h
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
515
632
406bf4f67ac1 [xemacs-hg @ 2001-07-19 07:19:58 by stephent]
stephent
parents: 587
diff changeset
516 # #### Copying is cheap, we should just force these
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
517 $(SRC)\config.h: config.h
583
391cf801cb8d [xemacs-hg @ 2001-05-27 10:50:44 by nick]
nick
parents: 580
diff changeset
518 @$(COPY) config.h $(SRC)
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
519
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
520 $(SRC)\Emacs.ad.h: Emacs.ad.h
583
391cf801cb8d [xemacs-hg @ 2001-05-27 10:50:44 by nick]
nick
parents: 580
diff changeset
521 @$(COPY) Emacs.ad.h $(SRC)
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
522
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
523 $(SRC)\paths.h: paths.h
583
391cf801cb8d [xemacs-hg @ 2001-05-27 10:50:44 by nick]
nick
parents: 580
diff changeset
524 @$(COPY) paths.h $(SRC)
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
525
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
526 #------------------------------------------------------------------------------
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
527
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
528 # lib-src programs
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
529
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
530 LIB_SRC_DEFINES = -DHAVE_CONFIG_H -DWIN32_NATIVE
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
531
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
532 #
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
533 # Creating config.values to be used by config.el
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
534 #
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
535 CONFIG_VALUES = $(LIB_SRC)\config.values
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
536 !if [echo Creating $(CONFIG_VALUES) && echo ;;; Do not edit this file!>$(CONFIG_VALUES)]
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
537 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
538 # MAKEDIR has to be made into a string.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
539 #!if [echo blddir>>$(CONFIG_VALUES) && echo $(ESC)"$(MAKEDIR:\=\\)\\..$(ESC)">>$(CONFIG_VALUES)]
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
540 !if [echo blddir>>$(CONFIG_VALUES) && echo "$(MAKEDIR:\=\\)\\..">>$(CONFIG_VALUES)]
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
541 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
542 !if [echo CC>>$(CONFIG_VALUES) && echo "$(CC:\=\\)">>$(CONFIG_VALUES)]
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
543 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
544 !if [echo CFLAGS>>$(CONFIG_VALUES) && echo "$(CFLAGS:\=\\)">>$(CONFIG_VALUES)]
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
545 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
546 !if [echo CPP>>$(CONFIG_VALUES) && echo "$(CPP:\=\\)">>$(CONFIG_VALUES)]
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
547 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
548 !if [echo CPPFLAGS>>$(CONFIG_VALUES) && echo "$(CPPFLAGS:\=\\)">>$(CONFIG_VALUES)]
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
549 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
550 !if [echo LISPDIR>>$(CONFIG_VALUES) && echo "$(MAKEDIR:\=\\)\\$(LISP:\=\\)">>$(CONFIG_VALUES)]
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
551 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
552 # PATH_PACKAGEPATH is already a quoted string.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
553 !if [echo PACKAGE_PATH>>$(CONFIG_VALUES) && echo $(PATH_PACKAGEPATH)>>$(CONFIG_VALUES)]
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
554 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
555
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
556 # Inferred rule
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
557 {$(LIB_SRC)}.c{$(LIB_SRC)}.exe :
430
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
558 cd $(LIB_SRC)
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
559 $(CCV) -I. -I$(XEMACS)/src -I$(XEMACS)/nt/inc $(LIB_SRC_DEFINES) $(CFLAGS) -Fe$@ $** -link -incremental:no setargv.obj
430
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
560 cd $(NT)
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
561
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
562 # Individual dependencies
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
563 ETAGS_DEPS = $(LIB_SRC)/getopt.c $(LIB_SRC)/getopt1.c $(LIB_SRC)/../src/regex.c
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
564 $(LIB_SRC)/etags.exe : $(LIB_SRC)/etags.c $(ETAGS_DEPS)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
565 $(LIB_SRC)/movemail.exe: $(LIB_SRC)/movemail.c $(LIB_SRC)/pop.c $(ETAGS_DEPS)
430
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
566 cd $(LIB_SRC)
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
567 $(CCV) -I. -I$(XEMACS)/src -I$(XEMACS)/nt/inc $(LIB_SRC_DEFINES) $(CFLAGS) -Fe$@ $** wsock32.lib -link -incremental:no
430
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
568 cd $(NT)
438
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 432
diff changeset
569 $(LIB_SRC)/minitar.exe : $(NT)/minitar.mak $(NT)/minitar.c
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 432
diff changeset
570 nmake -nologo -f minitar.mak ZLIB="$(ZLIB_DIR)" NT="$(NT)" LIB_SRC="$(LIB_SRC)"
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
571
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
572 LIB_SRC_TOOLS = \
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
573 $(LIB_SRC)/etags.exe \
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
574 $(LIB_SRC)/hexl.exe \
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
575 $(LIB_SRC)/i.exe \
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
576 $(LIB_SRC)/make-docfile.exe \
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
577 $(LIB_SRC)/mmencode.exe \
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
578 $(LIB_SRC)/movemail.exe \
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
579 $(LIB_SRC)/sorted-doc.exe \
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
580 $(LIB_SRC)/wakeup.exe
438
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 432
diff changeset
581 !if $(USE_MINITAR)
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 432
diff changeset
582 LIB_SRC_TOOLS = \
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 432
diff changeset
583 $(LIB_SRC_TOOLS) \
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 432
diff changeset
584 $(LIB_SRC)/minitar.exe
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 432
diff changeset
585 !endif
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
586 !if $(USE_PORTABLE_DUMPER)
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
587 LIB_SRC_TOOLS = \
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
588 $(XEMACS_INCLUDES) \
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
589 $(LIB_SRC)/make-dump-id.exe \
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
590 $(LIB_SRC_TOOLS)
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
591 !endif
438
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 432
diff changeset
592
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 432
diff changeset
593 # Shorthand target
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 432
diff changeset
594 minitar: $(LIB_SRC)/minitar.exe
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
595
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
596 #------------------------------------------------------------------------------
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
597
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
598 # dump-id.c file that contains the dump id
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
599
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
600 $(SRC)\dump-id.c : $(LIB_SRC)/make-dump-id.exe
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
601 cd $(SRC)
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
602 $(LIB_SRC)\make-dump-id.exe
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
603 cd $(NT)
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
604
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
605 #------------------------------------------------------------------------------
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
606
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
607 # LASTFILE Library
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
608
440
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
609 !if !$(USE_SYSTEM_MALLOC) || !$(USE_PORTABLE_DUMPER)
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
610
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
611 LASTFILE=$(OUTDIR)\lastfile.lib
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
612 LASTFILE_SRC=$(SRC)
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
613 LASTFILE_FLAGS=$(CFLAGS) $(INCLUDES) -Fo$@ -Fd$* -c
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
614 LASTFILE_OBJS= \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
615 $(OUTDIR)\lastfile.obj
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
616
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
617 $(LASTFILE): $(XEMACS_INCLUDES) $(LASTFILE_OBJS)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
618 link.exe -lib -nologo -out:$@ $(LASTFILE_OBJS)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
619
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
620 $(OUTDIR)\lastfile.obj: $(LASTFILE_SRC)\lastfile.c
587
28e2f03164f1 [xemacs-hg @ 2001-05-29 08:03:09 by ben]
ben
parents: 583
diff changeset
621 $(CCV) $(LASTFILE_FLAGS) $(LASTFILE_SRC)\$(@B).c
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
622
440
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
623 !endif
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
624
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
625 #------------------------------------------------------------------------------
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
626
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
627 !if $(HAVE_X_WINDOWS)
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
628
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
629 # LWLIB Library
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
630
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
631 LWLIB=$(OUTDIR)\lwlib.lib
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
632 LWLIB_FLAGS=$(CFLAGS) $(INCLUDES) $(DEFINES) \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
633 -DNEED_ATHENA -DNEED_LUCID \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
634 -D_WINDOWS -DMENUBARS_LUCID -DSCROLLBARS_LUCID -DDIALOGS_ATHENA \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
635 -Fo$@ -c
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
636 LWLIB_OBJS= \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
637 $(OUTDIR)\lwlib-utils.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
638 $(OUTDIR)\lwlib-Xaw.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
639 $(OUTDIR)\lwlib-Xlw.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
640 $(OUTDIR)\lwlib.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
641 $(OUTDIR)\xlwmenu.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
642 $(OUTDIR)\xlwscrollbar.obj
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
643
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
644 $(LWLIB): $(LWLIB_OBJS)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
645 link.exe -lib -nologo -out:$@ $(LWLIB_OBJS)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
646
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
647 $(OUTDIR)\lwlib-utils.obj: $(LWLIB_SRCDIR)\lwlib-utils.c
587
28e2f03164f1 [xemacs-hg @ 2001-05-29 08:03:09 by ben]
ben
parents: 583
diff changeset
648 $(CCV) $(LWLIB_FLAGS) $(LWLIB_SRCDIR)\$(@B).c
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
649
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
650 $(OUTDIR)\lwlib-Xaw.obj: $(LWLIB_SRCDIR)\lwlib-Xaw.c
587
28e2f03164f1 [xemacs-hg @ 2001-05-29 08:03:09 by ben]
ben
parents: 583
diff changeset
651 $(CCV) $(LWLIB_FLAGS) $(LWLIB_SRCDIR)\$(@B).c
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
652
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
653 $(OUTDIR)\lwlib-Xlw.obj: $(LWLIB_SRCDIR)\lwlib-Xlw.c
587
28e2f03164f1 [xemacs-hg @ 2001-05-29 08:03:09 by ben]
ben
parents: 583
diff changeset
654 $(CCV) $(LWLIB_FLAGS) $(LWLIB_SRCDIR)\$(@B).c
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
655
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
656 $(OUTDIR)\lwlib.obj: $(LWLIB_SRCDIR)\lwlib.c
587
28e2f03164f1 [xemacs-hg @ 2001-05-29 08:03:09 by ben]
ben
parents: 583
diff changeset
657 $(CCV) $(LWLIB_FLAGS) $(LWLIB_SRCDIR)\$(@B).c
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
658
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
659 $(OUTDIR)\xlwmenu.obj: $(LWLIB_SRCDIR)\xlwmenu.c
587
28e2f03164f1 [xemacs-hg @ 2001-05-29 08:03:09 by ben]
ben
parents: 583
diff changeset
660 $(CCV) $(LWLIB_FLAGS) $(LWLIB_SRCDIR)\$(@B).c
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
661
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
662 $(OUTDIR)\xlwscrollbar.obj: $(LWLIB_SRCDIR)\xlwscrollbar.c
587
28e2f03164f1 [xemacs-hg @ 2001-05-29 08:03:09 by ben]
ben
parents: 583
diff changeset
663 $(CCV) $(LWLIB_FLAGS) $(LWLIB_SRCDIR)\$(@B).c
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
664
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
665 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
666 #------------------------------------------------------------------------------
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
667
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
668 DOC=$(LIB_SRC)\DOC
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
669 DOC_SRC1=\
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
670 $(SRC)\abbrev.c \
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
671 $(SRC)\alloc.c \
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
672 $(SRC)\blocktype.c \
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
673 $(SRC)\buffer.c \
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
674 $(SRC)\bytecode.c \
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
675 $(SRC)\callint.c \
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
676 $(SRC)\callproc.c \
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
677 $(SRC)\casefiddle.c \
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
678 $(SRC)\casetab.c \
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
679 $(SRC)\chartab.c \
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
680 $(SRC)\cmdloop.c \
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
681 $(SRC)\cmds.c \
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
682 $(SRC)\console-stream.c \
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
683 $(SRC)\console.c \
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
684 $(SRC)\data.c \
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
685 $(SRC)\device.c
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
686 DOC_SRC2=\
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
687 $(SRC)\dired.c \
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
688 $(SRC)\doc.c \
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
689 $(SRC)\doprnt.c \
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
690 $(SRC)\dragdrop.c \
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
691 $(SRC)\dynarr.c \
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
692 $(SRC)\editfns.c \
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
693 $(SRC)\elhash.c \
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
694 $(SRC)\emacs.c \
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
695 $(SRC)\eval.c \
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
696 $(SRC)\event-stream.c \
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
697 $(SRC)\events.c \
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
698 $(SRC)\extents.c \
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
699 $(SRC)\faces.c \
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
700 $(SRC)\file-coding.c \
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
701 $(SRC)\fileio.c \
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
702 $(SRC)\filemode.c \
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
703 $(SRC)\floatfns.c \
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
704 $(SRC)\fns.c
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
705 DOC_SRC3=\
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
706 $(SRC)\font-lock.c \
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
707 $(SRC)\frame.c \
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
708 $(SRC)\general.c \
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
709 $(SRC)\getloadavg.c \
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
710 $(SRC)\glyphs.c \
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
711 $(SRC)\glyphs-eimage.c \
587
28e2f03164f1 [xemacs-hg @ 2001-05-29 08:03:09 by ben]
ben
parents: 583
diff changeset
712 $(SRC)\glyphs-shared.c \
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
713 $(SRC)\glyphs-widget.c \
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
714 $(SRC)\gui.c \
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
715 $(SRC)\gutter.c \
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
716 $(SRC)\hash.c \
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
717 $(SRC)\imgproc.c \
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
718 $(SRC)\indent.c \
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
719 $(SRC)\insdel.c \
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
720 $(SRC)\intl.c \
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
721 $(SRC)\keymap.c \
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
722 $(SRC)\line-number.c \
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
723 $(SRC)\lread.c \
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
724 $(SRC)\lstream.c \
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
725 $(SRC)\macros.c \
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
726 $(SRC)\marker.c
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
727 DOC_SRC4=\
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
728 $(SRC)\md5.c \
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
729 $(SRC)\menubar.c \
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
730 $(SRC)\minibuf.c \
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
731 $(SRC)\nt.c \
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
732 $(SRC)\ntplay.c \
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
733 $(SRC)\ntproc.c \
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
734 $(SRC)\objects.c \
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
735 $(SRC)\opaque.c \
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
736 $(SRC)\print.c \
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
737 $(SRC)\process.c \
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
738 $(SRC)\process-nt.c \
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
739 $(SRC)\profile.c \
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
740 $(SRC)\rangetab.c \
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
741 $(SRC)\realpath.c \
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
742 $(SRC)\redisplay-output.c \
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
743 $(SRC)\redisplay.c \
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
744 $(SRC)\regex.c \
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
745 $(SRC)\scrollbar.c \
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
746 $(SRC)\search.c \
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
747 $(SRC)\select.c \
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
748 $(SRC)\signal.c \
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
749 $(SRC)\sound.c
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
750 DOC_SRC5=\
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
751 $(SRC)\specifier.c \
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
752 $(SRC)\strftime.c \
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
753 $(SRC)\symbols.c \
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
754 $(SRC)\syntax.c \
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
755 $(SRC)\sysdep.c \
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
756 $(SRC)\termcap.c \
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
757 $(SRC)\tparam.c \
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
758 $(SRC)\undo.c \
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
759 $(SRC)\window.c \
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
760 $(SRC)\win32.c \
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
761 $(SRC)\widget.c
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
762
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
763 !if $(HAVE_X_WINDOWS)
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
764 DOC_SRC6=\
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
765 $(SRC)\balloon_help.c \
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
766 $(SRC)\console-x.c \
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
767 $(SRC)\device-x.c \
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
768 $(SRC)\dialog-x.c \
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
769 $(SRC)\EmacsFrame.c \
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
770 $(SRC)\EmacsManager.c \
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
771 $(SRC)\EmacsShell-sub.c\
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
772 $(SRC)\EmacsShell.c \
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
773 $(SRC)\event-Xt.c \
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
774 $(SRC)\frame-x.c \
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
775 $(SRC)\glyphs-x.c \
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
776 $(SRC)\gui-x.c \
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
777 $(SRC)\menubar.c \
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
778 $(SRC)\menubar-x.c \
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
779 $(SRC)\objects-x.c \
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
780 $(SRC)\redisplay-x.c \
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
781 $(SRC)\scrollbar-x.c \
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
782 $(SRC)\balloon-x.c \
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
783 $(SRC)\xgccache.c \
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
784 $(SRC)\xmu.c \
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
785 $(SRC)\select-x.c
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
786 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
787
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
788 !if $(HAVE_MS_WINDOWS)
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
789 DOC_SRC7=\
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
790 $(SRC)\console-msw.c \
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
791 $(SRC)\device-msw.c \
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
792 $(SRC)\event-msw.c \
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
793 $(SRC)\frame-msw.c \
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
794 $(SRC)\glyphs-msw.c \
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
795 $(SRC)\gui-msw.c \
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
796 $(SRC)\menubar-msw.c \
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
797 $(SRC)\objects-msw.c \
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
798 $(SRC)\redisplay-msw.c \
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
799 $(SRC)\scrollbar-msw.c \
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
800 $(SRC)\select-msw.c \
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
801 $(MSW_C_DIRED_SRC) \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
802 $(MSW_TOOLBAR_SRC) \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
803 $(MSW_DIALOG_SRC) \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
804 $(MSW_GIF_SRC)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
805 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
806
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
807 !if $(HAVE_MULE)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
808 DOC_SRC8=\
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
809 $(SRC)\mule.c \
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
810 $(SRC)\mule-charset.c \
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
811 $(SRC)\mule-ccl.c
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
812 ! if $(HAVE_X_WINDOWS)
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
813 DOC_SRC8=$(DOC_SRC8) $(SRC)\input-method-xlib.c
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
814 ! endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
815 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
816
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
817 !if $(DEBUG_XEMACS)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
818 DOC_SRC9=\
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
819 $(SRC)\debug.c \
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
820 $(SRC)\tests.c
440
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
821 !endif
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
822
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
823 !if !$(USE_SYSTEM_MALLOC)
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
824 DOC_SRC10=\
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
825 $(SRC)\free-hook.c \
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
826 $(SRC)\gmalloc.c \
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
827 $(SRC)\ntheap.c \
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
828 $(SRC)\vm-limit.c
440
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
829 !endif
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
830
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
831 !if !$(USE_PORTABLE_DUMPER)
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
832 DOC_SRC11=\
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
833 $(SRC)\unexnt.c
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
834 !else
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
835 DOC_SRC11=\
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
836 $(SRC)\dumper.c
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
837 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
838
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
839 #------------------------------------------------------------------------------
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
840
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
841 # TEMACS Executable
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
842
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
843 # This may not exist
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
844 !if "$(emacs_beta_version)" != ""
496
98145293255c [xemacs-hg @ 2001-05-01 12:05:20 by adrian]
adrian
parents: 494
diff changeset
845 !if "$(emacs_is_beta)" != ""
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
846 EMACS_BETA_VERSION=-DEMACS_BETA_VERSION=$(emacs_beta_version)
496
98145293255c [xemacs-hg @ 2001-05-01 12:05:20 by adrian]
adrian
parents: 494
diff changeset
847 !else
98145293255c [xemacs-hg @ 2001-05-01 12:05:20 by adrian]
adrian
parents: 494
diff changeset
848 EMACS_PATCH_LEVEL=-DEMACS_PATCH_LEVEL=$(emacs_beta_version)
98145293255c [xemacs-hg @ 2001-05-01 12:05:20 by adrian]
adrian
parents: 494
diff changeset
849 !endif
98145293255c [xemacs-hg @ 2001-05-01 12:05:20 by adrian]
adrian
parents: 494
diff changeset
850 !endif
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
851
440
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
852 !if !$(USE_PORTABLE_DUMPER)
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
853 TEMACS_ENTRYPOINT=-entry:_start
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
854 !else
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
855 TEMACS_ENTRYPOINT=-entry:mainCRTStartup
440
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
856 !endif
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
857
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
858 TEMACS_DIR=$(SRC)
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
859 TEMACS=$(TEMACS_DIR)\temacs.exe
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
860 TEMACS_BROWSE=$(TEMACS_DIR)\temacs.bsc
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
861 TEMACS_SRC=$(SRC)
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
862 TEMACS_LIBS=$(LASTFILE) $(LWLIB) $(X_LIBS) $(MSW_LIBS) \
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
863 oldnames.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib advapi32.lib \
528
ef4d2466a29c [xemacs-hg @ 2001-05-10 09:59:45 by ben]
ben
parents: 523
diff changeset
864 shell32.lib wsock32.lib netapi32.lib winmm.lib winspool.lib ole32.lib \
ef4d2466a29c [xemacs-hg @ 2001-05-10 09:59:45 by ben]
ben
parents: 523
diff changeset
865 uuid.lib $(LIBC_LIB)
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
866 TEMACS_LFLAGS=-nologo $(LIBRARIES) $(DEBUG_FLAGS) -base:0x1000000\
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
867 -stack:0x800000 $(TEMACS_ENTRYPOINT) -subsystem:windows\
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
868 -pdb:$(TEMACS_DIR)\temacs.pdb -map:$(TEMACS_DIR)\temacs.map \
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
869 -heap:0x00100000 -nodefaultlib -incremental:no setargv.obj
440
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
870 TEMACS_CPP_FLAGS=-c \
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
871 $(CFLAGS) $(INCLUDES) $(DEFINES) $(DEBUG_DEFINES) \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
872 -DEMACS_MAJOR_VERSION=$(emacs_major_version) \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
873 -DEMACS_MINOR_VERSION=$(emacs_minor_version) \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
874 $(EMACS_BETA_VERSION) \
632
406bf4f67ac1 [xemacs-hg @ 2001-07-19 07:19:58 by stephent]
stephent
parents: 587
diff changeset
875 $(EMACS_PATCH_LEVEL) \
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
876 -DXEMACS_CODENAME=\"$(xemacs_codename:&=and)\" \
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
877 -DEMACS_CONFIGURATION=\"$(EMACS_CONFIGURATION)\" \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
878 -DPATH_PACKAGEPATH=\"$(PATH_PACKAGEPATH)\"
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
879
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
880 !if $(HAVE_X_WINDOWS)
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
881 TEMACS_X_OBJS=\
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
882 $(OUTDIR)\balloon-x.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
883 $(OUTDIR)\balloon_help.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
884 $(OUTDIR)\console-x.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
885 $(OUTDIR)\device-x.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
886 $(OUTDIR)\dialog-x.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
887 $(OUTDIR)\EmacsFrame.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
888 $(OUTDIR)\EmacsManager.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
889 $(OUTDIR)\EmacsShell.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
890 $(OUTDIR)\TopLevelEmacsShell.obj\
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
891 $(OUTDIR)\TransientEmacsShell.obj\
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
892 $(OUTDIR)\event-Xt.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
893 $(OUTDIR)\frame-x.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
894 $(OUTDIR)\glyphs-x.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
895 $(OUTDIR)\gui-x.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
896 $(OUTDIR)\menubar-x.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
897 $(OUTDIR)\objects-x.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
898 $(OUTDIR)\redisplay-x.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
899 $(OUTDIR)\scrollbar-x.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
900 $(OUTDIR)\xgccache.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
901 $(OUTDIR)\xmu.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
902 $(OUTDIR)\select-x.obj
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
903 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
904
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
905 !if $(HAVE_MS_WINDOWS)
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
906 TEMACS_MSW_OBJS=\
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
907 $(OUTDIR)\console-msw.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
908 $(OUTDIR)\device-msw.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
909 $(OUTDIR)\event-msw.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
910 $(OUTDIR)\frame-msw.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
911 $(OUTDIR)\glyphs-msw.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
912 $(OUTDIR)\gui-msw.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
913 $(OUTDIR)\menubar-msw.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
914 $(OUTDIR)\objects-msw.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
915 $(OUTDIR)\redisplay-msw.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
916 $(OUTDIR)\scrollbar-msw.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
917 $(OUTDIR)\select-msw.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
918 $(MSW_C_DIRED_OBJ) \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
919 $(MSW_TOOLBAR_OBJ) \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
920 $(MSW_DIALOG_OBJ) \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
921 $(MSW_GIF_OBJ)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
922 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
923
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
924 !if $(HAVE_MULE)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
925 TEMACS_MULE_OBJS=\
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
926 $(OUTDIR)\mule.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
927 $(OUTDIR)\mule-charset.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
928 $(OUTDIR)\mule-ccl.obj
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
929 ! if $(HAVE_X_WINDOWS)
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
930 TEMACS_MULE_OBJS=\
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
931 $(TEMACS_MULE_OBJS) $(OUTDIR)\input-method-xlib.obj
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
932 ! endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
933 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
934
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
935 !if $(DEBUG_XEMACS)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
936 TEMACS_DEBUG_OBJS=\
440
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
937 $(OUTDIR)\debug.obj \
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
938 $(OUTDIR)\tests.obj
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
939 !endif
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
940
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
941 !if !$(USE_SYSTEM_MALLOC)
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
942 TEMACS_ALLOC_OBJS=\
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
943 $(OUTDIR)\free-hook.obj \
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
944 $(OUTDIR)\gmalloc.obj \
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
945 $(OUTDIR)\ntheap.obj \
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
946 $(OUTDIR)\vm-limit.obj
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
947 !endif
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
948
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
949 !if !$(USE_PORTABLE_DUMPER)
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
950 TEMACS_DUMP_OBJS=\
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
951 $(OUTDIR)\unexnt.obj
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
952 !else
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
953 TEMACS_DUMP_OBJS=\
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
954 $(OUTDIR)\dumper.obj
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
955 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
956
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
957 TEMACS_OBJS= \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
958 $(TEMACS_X_OBJS)\
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
959 $(TEMACS_MSW_OBJS)\
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
960 $(TEMACS_CODING_OBJS)\
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
961 $(TEMACS_MULE_OBJS)\
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
962 $(TEMACS_DEBUG_OBJS)\
440
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
963 $(TEMACS_ALLOC_OBJS)\
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
964 $(TEMACS_DUMP_OBJS)\
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
965 $(OUTDIR)\abbrev.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
966 $(OUTDIR)\alloc.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
967 $(OUTDIR)\blocktype.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
968 $(OUTDIR)\buffer.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
969 $(OUTDIR)\bytecode.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
970 $(OUTDIR)\callint.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
971 $(OUTDIR)\callproc.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
972 $(OUTDIR)\casefiddle.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
973 $(OUTDIR)\casetab.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
974 $(OUTDIR)\chartab.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
975 $(OUTDIR)\cmdloop.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
976 $(OUTDIR)\cmds.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
977 $(OUTDIR)\console-stream.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
978 $(OUTDIR)\console.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
979 $(OUTDIR)\data.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
980 $(OUTDIR)\device.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
981 $(OUTDIR)\dired.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
982 $(OUTDIR)\doc.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
983 $(OUTDIR)\doprnt.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
984 $(OUTDIR)\dragdrop.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
985 $(OUTDIR)\dynarr.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
986 $(OUTDIR)\editfns.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
987 $(OUTDIR)\elhash.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
988 $(OUTDIR)\emacs.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
989 $(OUTDIR)\eval.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
990 $(OUTDIR)\event-stream.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
991 $(OUTDIR)\events.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
992 $(OUTDIR)\extents.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
993 $(OUTDIR)\faces.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
994 $(OUTDIR)\file-coding.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
995 $(OUTDIR)\fileio.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
996 $(OUTDIR)\filemode.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
997 $(OUTDIR)\floatfns.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
998 $(OUTDIR)\fns.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
999 $(OUTDIR)\font-lock.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1000 $(OUTDIR)\frame.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1001 $(OUTDIR)\general.obj \
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1002 $(OUTDIR)\getloadavg.obj \
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1003 $(OUTDIR)\glyphs.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1004 $(OUTDIR)\glyphs-eimage.obj \
587
28e2f03164f1 [xemacs-hg @ 2001-05-29 08:03:09 by ben]
ben
parents: 583
diff changeset
1005 $(OUTDIR)\glyphs-shared.obj \
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1006 $(OUTDIR)\glyphs-widget.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1007 $(OUTDIR)\gui.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1008 $(OUTDIR)\gutter.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1009 $(OUTDIR)\hash.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1010 $(OUTDIR)\indent.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1011 $(OUTDIR)\imgproc.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1012 $(OUTDIR)\insdel.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1013 $(OUTDIR)\intl.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1014 $(OUTDIR)\keymap.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1015 $(OUTDIR)\line-number.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1016 $(OUTDIR)\lread.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1017 $(OUTDIR)\lstream.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1018 $(OUTDIR)\macros.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1019 $(OUTDIR)\menubar.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1020 $(OUTDIR)\marker.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1021 $(OUTDIR)\md5.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1022 $(OUTDIR)\minibuf.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1023 $(OUTDIR)\nt.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1024 $(OUTDIR)\ntplay.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1025 $(OUTDIR)\ntproc.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1026 $(OUTDIR)\objects.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1027 $(OUTDIR)\opaque.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1028 $(OUTDIR)\print.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1029 $(OUTDIR)\process.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1030 $(OUTDIR)\process-nt.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1031 $(OUTDIR)\profile.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1032 $(OUTDIR)\rangetab.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1033 $(OUTDIR)\realpath.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1034 $(OUTDIR)\redisplay-output.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1035 $(OUTDIR)\redisplay.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1036 $(OUTDIR)\regex.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1037 $(OUTDIR)\scrollbar.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1038 $(OUTDIR)\search.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1039 $(OUTDIR)\select.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1040 $(OUTDIR)\signal.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1041 $(OUTDIR)\sound.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1042 $(OUTDIR)\specifier.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1043 $(OUTDIR)\strftime.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1044 $(OUTDIR)\symbols.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1045 $(OUTDIR)\syntax.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1046 $(OUTDIR)\sysdep.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1047 $(OUTDIR)\tparam.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1048 $(OUTDIR)\undo.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1049 $(OUTDIR)\widget.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1050 $(OUTDIR)\window.obj \
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1051 $(OUTDIR)\win32.obj
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1052
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1053 # Rules
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1054
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1055 .SUFFIXES:
430
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1056 .SUFFIXES: .c .obj .texi .info
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1057
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1058 # nmake rule
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1059 !if $(DEBUG_XEMACS)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1060 {$(TEMACS_SRC)}.c{$(OUTDIR)}.obj:
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1061 $(CCV) $(TEMACS_CPP_FLAGS) $< -Fo$@ -Fr$*.sbr -Fd$(OUTDIR)\temacs.pdb
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1062 !else
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1063 {$(TEMACS_SRC)}.c{$(OUTDIR)}.obj:
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1064 $(CCV) $(TEMACS_CPP_FLAGS) $< -Fo$@
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1065 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1066
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1067 $(OUTDIR)\emacs.obj: $(XEMACS)\version.sh
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1068
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1069 $(OUTDIR)\TopLevelEmacsShell.obj: $(TEMACS_SRC)\EmacsShell-sub.c
587
28e2f03164f1 [xemacs-hg @ 2001-05-29 08:03:09 by ben]
ben
parents: 583
diff changeset
1070 $(CCV) $(TEMACS_CPP_FLAGS) -DDEFINE_TOP_LEVEL_EMACS_SHELL $(TEMACS_SRC)\$(@B).c -Fo$@
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1071
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1072 $(OUTDIR)\TransientEmacsShell.obj: $(TEMACS_SRC)\EmacsShell-sub.c
587
28e2f03164f1 [xemacs-hg @ 2001-05-29 08:03:09 by ben]
ben
parents: 583
diff changeset
1073 $(CCV) $(TEMACS_CPP_FLAGS) -DDEFINE_TRANSIENT_EMACS_SHELL $(TEMACS_SRC)\$(@B).c -Fo$@
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1074
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1075 $(OUTDIR)\alloc.obj: $(TEMACS_SRC)\alloc.c
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1076
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1077 #$(TEMACS_SRC)\Emacs.ad.h: $(XEMACS)\etc\Emacs.ad
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1078 # !"sed -f ad2c.sed < $(XEMACS)\etc\Emacs.ad > $(TEMACS_SRC)\Emacs.ad.h"
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1079
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1080 #$(TEMACS_SRC)\paths.h: $(TEMACS_SRC)\paths.h.in
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1081 # !"cd $(TEMACS_SRC); cp paths.h.in paths.h"
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1082
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1083 $(TEMACS): $(TEMACS_INCLUDES) $(TEMACS_OBJS) $(OUTDIR)\xemacs.res
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1084 !if $(DEBUG_XEMACS)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1085 @dir /b/s $(OUTDIR)\*.sbr > bscmake.tmp
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1086 bscmake -nologo -o$(TEMACS_BROWSE) @bscmake.tmp
488
1e7b510d04f6 [xemacs-hg @ 2001-04-28 21:04:49 by adrian]
adrian
parents: 462
diff changeset
1087 $(DEL) bscmake.tmp
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1088 !endif
440
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
1089 !if $(USE_PORTABLE_DUMPER)
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1090 @if exist $(SRC)\dump-id.c del $(SRC)\dump-id.c
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1091 # make a new dump id file. There is probably a better way to do this, but this works
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1092 @if exist $(OUTDIR)\dump-id.obj del $(OUTDIR)\dump-id.obj
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1093 nmake -nologo -f xemacs.mak OUTDIR=$(OUTDIR) $(OUTDIR)\dump-id.obj
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1094 link.exe @<<
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1095 $(TEMACS_LFLAGS) -out:$@ $(TEMACS_OBJS) $(TEMACS_LIBS) $(OUTDIR)\dump-id.obj
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1096 <<
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1097 !else
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1098 link.exe @<<
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1099 $(TEMACS_LFLAGS) -out:$@ $(TEMACS_OBJS) $(OUTDIR)\xemacs.res $(TEMACS_LIBS)
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1100 <<
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1101 !endif
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1102
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1103 $(OUTDIR)\xemacs.res: xemacs.rc
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1104 rc -Fo$@ xemacs.rc
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1105
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1106
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1107 PROGNAME=$(SRC)\xemacs.exe
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1108 TEMACS_BATCH="$(LIB_SRC)\i" "$(TEMACS)" -batch
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1109 XEMACS_BATCH="$(LIB_SRC)\i" "$(PROGNAME)" -vanilla -batch
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1110
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1111 # Section handling automated tests starts here
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1112
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1113 blddir=$(MAKEDIR:\=\\)\\..
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1114 temacs_loadup=$(TEMACS_BATCH) -l $(LISP)/loadup.el
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1115 dump_temacs = $(temacs_loadup) dump
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1116 run_temacs = $(temacs_loadup) run-temacs
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1117 ## We have automated tests!!
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1118 testdir=../tests/automated
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1119 batch_test_emacs=-batch -l $(testdir)/test-harness.el -f batch-test-emacs $(testdir)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1120
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1121 # .PHONY: check check-temacs
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1122
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1123 check:
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1124 cd $(SRC)
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1125 $(PROGNAME) $(batch_test_emacs)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1126
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1127 check-temacs:
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1128 cd $(SRC)
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1129 set EMACSBOOTSTRAPLOADPATH=$(LISP)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1130 set EMACSBOOTSTRAPMODULEPATH=$(MODULES)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1131 $(run_temacs) $(batch_test_emacs)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1132
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1133 # Section handling automated tests ends here
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1134
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1135 # Section handling tags starts here
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1136
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1137 tagslisp=lisp
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1138
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1139 tags:
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1140 @echo If you don't have a copy of etags around, then do 'make lib-src' first.
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1141 @echo To make use of the tags file, put the following in your .emacs:
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1142 @echo (setq tag-table-alist
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1143 @echo '(("$(XEMACSDIRSTRING)\\" . "$(XEMACSDIRSTRING)\\")))
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1144 cd $(XEMACS)
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1145 $(DEL) TAGS
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1146 set PATH=lib-src;%PATH%
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1147 # we need to double ^, but only before backslash! Doubling it elsewhere
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1148 # causes problems. I don't understand this -- CMD.EXE uses ^ as a quoting
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1149 # convention of sorts, but appears to leave it alone inside of double quotes,
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1150 # even before \. Could this be nmake interference?
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1151 etags -a -r "/[ ]*DEF\(VAR\|INE\)_[A-Z_]+[ ]*([ ]*\"\([^^\"]+\)\"/\2/" src\*.c src\*.h lwlib\*.c lwlib\*.h lib-src\*.c lib-src\*.h
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1152 etags -a -l none -r "/^(def\(var\|un\|alias\|const\|macro\|subst\|struct\|face\|group\|custom\|ine-\(function\|compiler-macro\|[a-z-]+alias\)\)[ ]+'?\([^ ]+\)/\3/" $(tagslisp)\*.el
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1153
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1154 # Section handling tags ends here
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1155
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1156 # Section handling info starts here
430
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1157
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1158 !if !defined(MAKEINFO)
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1159 MAKEINFO=$(XEMACS_BATCH) -l texinfmt -f batch-texinfo-format
430
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1160 !endif
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1161
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1162 MANDIR = $(XEMACS)\man
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1163 INFODIR = $(XEMACS)\info
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1164 INFO_FILES= \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1165 $(INFODIR)\cl.info \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1166 $(INFODIR)\custom.info \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1167 $(INFODIR)\emodules.info \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1168 $(INFODIR)\external-widget.info \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1169 $(INFODIR)\info.info \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1170 $(INFODIR)\standards.info \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1171 $(INFODIR)\term.info \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1172 $(INFODIR)\termcap.info \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1173 $(INFODIR)\texinfo.info \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1174 $(INFODIR)\widget.info \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1175 $(INFODIR)\xemacs-faq.info \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1176 $(INFODIR)\xemacs.info \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1177 $(INFODIR)\lispref.info \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1178 $(INFODIR)\new-users-guide.info \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1179 $(INFODIR)\internals.info
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1180
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1181 {$(MANDIR)}.texi{$(INFODIR)}.info:
430
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1182 cd $(MANDIR)
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1183 $(MAKEINFO) $**
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1184
430
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1185 XEMACS_SRCS = \
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1186 $(MANDIR)\xemacs\abbrevs.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1187 $(MANDIR)\xemacs\basic.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1188 $(MANDIR)\xemacs\buffers.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1189 $(MANDIR)\xemacs\building.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1190 $(MANDIR)\xemacs\calendar.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1191 $(MANDIR)\xemacs\cmdargs.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1192 $(MANDIR)\xemacs\custom.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1193 $(MANDIR)\xemacs\display.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1194 $(MANDIR)\xemacs\entering.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1195 $(MANDIR)\xemacs\files.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1196 $(MANDIR)\xemacs\fixit.texi \
430
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1197 $(MANDIR)\xemacs\frame.texi \
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1198 $(MANDIR)\xemacs\glossary.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1199 $(MANDIR)\xemacs\gnu.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1200 $(MANDIR)\xemacs\help.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1201 $(MANDIR)\xemacs\indent.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1202 $(MANDIR)\xemacs\keystrokes.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1203 $(MANDIR)\xemacs\killing.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1204 $(MANDIR)\xemacs\m-x.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1205 $(MANDIR)\xemacs\major.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1206 $(MANDIR)\xemacs\mark.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1207 $(MANDIR)\xemacs\menus.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1208 $(MANDIR)\xemacs\mini.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1209 $(MANDIR)\xemacs\misc.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1210 $(MANDIR)\xemacs\mouse.texi \
430
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1211 $(MANDIR)\xemacs\mule.texi \
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1212 $(MANDIR)\xemacs\new.texi \
430
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1213 $(MANDIR)\xemacs\packages.texi \
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1214 $(MANDIR)\xemacs\picture.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1215 $(MANDIR)\xemacs\programs.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1216 $(MANDIR)\xemacs\reading.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1217 $(MANDIR)\xemacs\regs.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1218 $(MANDIR)\xemacs\search.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1219 $(MANDIR)\xemacs\sending.texi \
430
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1220 $(MANDIR)\xemacs\startup.texi \
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1221 $(MANDIR)\xemacs\text.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1222 $(MANDIR)\xemacs\trouble.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1223 $(MANDIR)\xemacs\undo.texi \
430
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1224 $(MANDIR)\xemacs\windows.texi \
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1225 $(MANDIR)\xemacs\xemacs.texi
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1226
430
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1227 LISPREF_SRCS = \
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1228 $(MANDIR)\lispref\abbrevs.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1229 $(MANDIR)\lispref\annotations.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1230 $(MANDIR)\lispref\back.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1231 $(MANDIR)\lispref\backups.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1232 $(MANDIR)\lispref\buffers.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1233 $(MANDIR)\lispref\building.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1234 $(MANDIR)\lispref\commands.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1235 $(MANDIR)\lispref\compile.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1236 $(MANDIR)\lispref\consoles-devices.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1237 $(MANDIR)\lispref\control.texi \
430
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1238 $(MANDIR)\lispref\customize.texi \
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1239 $(MANDIR)\lispref\databases.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1240 $(MANDIR)\lispref\debugging.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1241 $(MANDIR)\lispref\dialog.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1242 $(MANDIR)\lispref\display.texi \
430
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1243 $(MANDIR)\lispref\dragndrop.texi \
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1244 $(MANDIR)\lispref\edebug-inc.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1245 $(MANDIR)\lispref\edebug.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1246 $(MANDIR)\lispref\errors.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1247 $(MANDIR)\lispref\eval.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1248 $(MANDIR)\lispref\extents.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1249 $(MANDIR)\lispref\faces.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1250 $(MANDIR)\lispref\files.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1251 $(MANDIR)\lispref\frames.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1252 $(MANDIR)\lispref\functions.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1253 $(MANDIR)\lispref\glyphs.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1254 $(MANDIR)\lispref\hash-tables.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1255 $(MANDIR)\lispref\help.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1256 $(MANDIR)\lispref\hooks.texi \
430
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1257 $(MANDIR)\lispref\index.texi \
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1258 $(MANDIR)\lispref\internationalization.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1259 $(MANDIR)\lispref\intro.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1260 $(MANDIR)\lispref\keymaps.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1261 $(MANDIR)\lispref\ldap.texi \
430
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1262 $(MANDIR)\lispref\lispref.texi \
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1263 $(MANDIR)\lispref\lists.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1264 $(MANDIR)\lispref\loading.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1265 $(MANDIR)\lispref\locals.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1266 $(MANDIR)\lispref\macros.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1267 $(MANDIR)\lispref\maps.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1268 $(MANDIR)\lispref\markers.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1269 $(MANDIR)\lispref\menus.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1270 $(MANDIR)\lispref\minibuf.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1271 $(MANDIR)\lispref\modes.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1272 $(MANDIR)\lispref\mouse.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1273 $(MANDIR)\lispref\mule.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1274 $(MANDIR)\lispref\numbers.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1275 $(MANDIR)\lispref\objects.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1276 $(MANDIR)\lispref\os.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1277 $(MANDIR)\lispref\positions.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1278 $(MANDIR)\lispref\processes.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1279 $(MANDIR)\lispref\range-tables.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1280 $(MANDIR)\lispref\scrollbars.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1281 $(MANDIR)\lispref\searching.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1282 $(MANDIR)\lispref\sequences.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1283 $(MANDIR)\lispref\specifiers.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1284 $(MANDIR)\lispref\streams.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1285 $(MANDIR)\lispref\strings.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1286 $(MANDIR)\lispref\symbols.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1287 $(MANDIR)\lispref\syntax.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1288 $(MANDIR)\lispref\text.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1289 $(MANDIR)\lispref\tips.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1290 $(MANDIR)\lispref\toolbar.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1291 $(MANDIR)\lispref\tooltalk.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1292 $(MANDIR)\lispref\variables.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1293 $(MANDIR)\lispref\windows.texi \
430
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1294 $(MANDIR)\lispref\x-windows.texi
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1295
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1296 INTERNALS_SRCS = \
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1297 $(MANDIR)\internals\internals.texi \
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1298 $(MANDIR)\internals\index.texi
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1299
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1300 NEW_USERS_GUIDE_SRCS = \
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1301 $(MANDIR)\new-users-guide\custom1.texi \
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1302 $(MANDIR)\new-users-guide\custom2.texi \
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1303 $(MANDIR)\new-users-guide\edit.texi \
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1304 $(MANDIR)\new-users-guide\enter.texi \
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1305 $(MANDIR)\new-users-guide\files.texi \
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1306 $(MANDIR)\new-users-guide\help.texi \
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1307 $(MANDIR)\new-users-guide\modes.texi \
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1308 $(MANDIR)\new-users-guide\new-users-guide.texi \
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1309 $(MANDIR)\new-users-guide\region.texi \
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1310 $(MANDIR)\new-users-guide\search.texi \
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1311 $(MANDIR)\new-users-guide\xmenu.texi
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1312
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1313 $(INFODIR)\xemacs.info: $(XEMACS_SRCS)
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1314 cd $(MANDIR)\xemacs
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1315 $(MAKEINFO) xemacs.texi
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1316 cd ..
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1317
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1318
430
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1319 $(INFODIR)\lispref.info: $(LISPREF_SRCS)
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1320 cd $(MANDIR)\lispref
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1321 $(MAKEINFO) lispref.texi
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1322 cd ..
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1323
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1324 $(INFODIR)\internals.info: $(INTERNALS_SRCS)
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1325 cd $(MANDIR)\internals
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1326 $(MAKEINFO) internals.texi
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1327 cd ..
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1328
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1329 $(INFODIR)\new-users-guide.info: $(NEW_USERS_GUIDE_SRCS)
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1330 cd $(MANDIR)\new-users-guide
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1331 $(MAKEINFO) new-users-guide.texi
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1332 cd ..
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1333
430
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1334 info: makeinfo-test $(INFO_FILES)
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1335
430
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1336 makeinfo-test:
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1337 @<<makeinfo_test.bat
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1338 @echo off
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1339 if exist "$(MAKEINFO)" goto test_done
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1340 @$(XEMACS_BATCH) -eval "(condition-case nil (require (quote texinfo)) (t (kill-emacs 1)))"
430
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1341 @if not errorlevel 1 goto suggest_makeinfo
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1342 @echo XEmacs 'info' cannot be built!
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1343 @echo Install XEmacs package 'texinfo' (see README.packages).
430
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1344 :suggest_makeinfo
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1345 @echo Consider specifying path to makeinfo program: MAKEINFO=path
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1346 @echo as this will build info docs faster than XEmacs using 'texinfo'.
430
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1347 @if errorlevel 1 exit 1
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1348 :test_done
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1349 <<NOKEEP
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1350
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1351 # Section handling info ends here
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1352
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1353 #------------------------------------------------------------------------------
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1354
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1355 # LISP bits 'n bobs
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1356
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1357 LOADPATH=$(LISP)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1358
440
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
1359 # Rebuild docfile target
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
1360 docfile ::
496
98145293255c [xemacs-hg @ 2001-05-01 12:05:20 by adrian]
adrian
parents: 494
diff changeset
1361 if exist $(DOC) del $(DOC)
440
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
1362 docfile :: $(DOC)
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
1363
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1364 $(DOC): $(LIB_SRC)\make-docfile.exe $(DOC_SRC1) $(DOC_SRC2) $(DOC_SRC3) $(DOC_SRC4) $(DOC_SRC5) $(DOC_SRC6) $(DOC_SRC7) $(DOC_SRC8) $(DOC_SRC9) $(DOC_SRC10) $(DOC_SRC11)
494
4137b1fb7b90 [xemacs-hg @ 2001-05-01 07:23:47 by ben]
ben
parents: 488
diff changeset
1365 if exist $(DOC) del $(DOC)
440
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
1366 set EMACSBOOTSTRAPLOADPATH=$(LISP);$(PACKAGE_PATH)
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
1367 set EMACSBOOTSTRAPMODULEPATH=$(MODULES)
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1368 $(TEMACS_BATCH) -l $(TEMACS_DIR)\..\lisp\make-docfile.el -- -o $(DOC) -i $(XEMACS)\site-packages
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1369 $(LIB_SRC)\make-docfile.exe -a $(DOC) -d $(TEMACS_SRC) $(DOC_SRC1)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1370 $(LIB_SRC)\make-docfile.exe -a $(DOC) -d $(TEMACS_SRC) $(DOC_SRC2)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1371 $(LIB_SRC)\make-docfile.exe -a $(DOC) -d $(TEMACS_SRC) $(DOC_SRC3)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1372 $(LIB_SRC)\make-docfile.exe -a $(DOC) -d $(TEMACS_SRC) $(DOC_SRC4)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1373 $(LIB_SRC)\make-docfile.exe -a $(DOC) -d $(TEMACS_SRC) $(DOC_SRC5)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1374 $(LIB_SRC)\make-docfile.exe -a $(DOC) -d $(TEMACS_SRC) $(DOC_SRC6)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1375 $(LIB_SRC)\make-docfile.exe -a $(DOC) -d $(TEMACS_SRC) $(DOC_SRC7)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1376 $(LIB_SRC)\make-docfile.exe -a $(DOC) -d $(TEMACS_SRC) $(DOC_SRC8)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1377 $(LIB_SRC)\make-docfile.exe -a $(DOC) -d $(TEMACS_SRC) $(DOC_SRC9)
440
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
1378 $(LIB_SRC)\make-docfile.exe -a $(DOC) -d $(TEMACS_SRC) $(DOC_SRC10)
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
1379 $(LIB_SRC)\make-docfile.exe -a $(DOC) -d $(TEMACS_SRC) $(DOC_SRC11)
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1380
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1381 update-elc:
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1382 set EMACSBOOTSTRAPLOADPATH=$(LISP);$(PACKAGE_PATH)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1383 set EMACSBOOTSTRAPMODULEPATH=$(MODULES)
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1384 $(TEMACS_BATCH) -l $(TEMACS_DIR)\..\lisp\update-elc.el
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1385
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1386 # This file is touched by update-elc.el when redumping is necessary.
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1387 $(TEMACS_DIR)\NEEDTODUMP :
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1388 @echo >$(TEMACS_DIR)\NEEDTODUMP
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1389
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1390 # This rule dumps xemacs and then possibly spawns sub-make if PURESPACE
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1391 # requirements have changed.
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1392
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1393 $(PROGNAME) : $(TEMACS) $(TEMACS_DIR)\NEEDTODUMP
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1394 @echo >$(TEMACS_DIR)\SATISFIED
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1395 cd $(TEMACS_DIR)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1396 set EMACSBOOTSTRAPLOADPATH=$(LISP);$(PACKAGE_PATH)
440
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
1397 set EMACSBOOTSTRAPMODULEPATH=$(MODULES)
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1398 $(TEMACS_BATCH) -l $(TEMACS_DIR)\..\lisp\loadup.el dump
440
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
1399 !if $(USE_PORTABLE_DUMPER)
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1400 rc -d INCLUDE_DUMP -Fo $(OUTDIR)\xemacs.res $(NT)\xemacs.rc
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1401 # Make the resource section read/write since almost all of it is the dump
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1402 # data which needs to be writable. This avoids having to copy it.
545
9a775fb11bb7 [xemacs-hg @ 2001-05-18 04:39:39 by kkm]
kkm
parents: 528
diff changeset
1403 link.exe @<<
9a775fb11bb7 [xemacs-hg @ 2001-05-18 04:39:39 by kkm]
kkm
parents: 528
diff changeset
1404 $(TEMACS_LFLAGS) -section:.rsrc,rw -out:xemacs.exe $(TEMACS_OBJS) $(OUTDIR)\xemacs.res $(TEMACS_LIBS) $(OUTDIR)\dump-id.obj
9a775fb11bb7 [xemacs-hg @ 2001-05-18 04:39:39 by kkm]
kkm
parents: 528
diff changeset
1405 <<
488
1e7b510d04f6 [xemacs-hg @ 2001-04-28 21:04:49 by adrian]
adrian
parents: 462
diff changeset
1406 $(DEL) $(TEMACS_DIR)\xemacs.dmp
440
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
1407 !endif
430
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1408 cd $(NT)
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1409 @if not exist $(TEMACS_DIR)\SATISFIED nmake -nologo -f xemacs.mak $@
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1410 #------------------------------------------------------------------------------
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1411
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1412 # use this rule to build the complete system
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1413 all: installation $(OUTDIR)\nul $(LASTFILE) $(LWLIB) \
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1414 $(LIB_SRC_TOOLS) $(TEMACS) update-elc $(DOC) $(PROGNAME) \
528
ef4d2466a29c [xemacs-hg @ 2001-05-10 09:59:45 by ben]
ben
parents: 523
diff changeset
1415 update-elc-2 info
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1416
438
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 432
diff changeset
1417 temacs: $(LASTFILE) $(TEMACS)
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1418
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1419 # use this rule to install the system
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1420 install: all
430
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1421 cd $(NT)
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1422 @echo Installing in $(INSTALL_DIR) ...
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1423 @echo PlaceHolder > PlaceHolder
583
391cf801cb8d [xemacs-hg @ 2001-05-27 10:50:44 by nick]
nick
parents: 580
diff changeset
1424 @$(COPY) PROBLEMS "$(INSTALL_DIR)\"
391cf801cb8d [xemacs-hg @ 2001-05-27 10:50:44 by nick]
nick
parents: 580
diff changeset
1425 @$(COPY) PlaceHolder "$(INSTALL_DIR)\lock\"
488
1e7b510d04f6 [xemacs-hg @ 2001-04-28 21:04:49 by adrian]
adrian
parents: 462
diff changeset
1426 $(DEL) "$(INSTALL_DIR)\lock\PlaceHolder"
583
391cf801cb8d [xemacs-hg @ 2001-05-27 10:50:44 by nick]
nick
parents: 580
diff changeset
1427 @$(COPY) $(LIB_SRC)\*.exe "$(INSTALL_DIR)\$(EMACS_CONFIGURATION)\"
391cf801cb8d [xemacs-hg @ 2001-05-27 10:50:44 by nick]
nick
parents: 580
diff changeset
1428 @$(COPY) $(LIB_SRC)\DOC "$(INSTALL_DIR)\$(EMACS_CONFIGURATION)"
391cf801cb8d [xemacs-hg @ 2001-05-27 10:50:44 by nick]
nick
parents: 580
diff changeset
1429 @$(COPY) $(CONFIG_VALUES) "$(INSTALL_DIR)\$(EMACS_CONFIGURATION)"
391cf801cb8d [xemacs-hg @ 2001-05-27 10:50:44 by nick]
nick
parents: 580
diff changeset
1430 @$(COPY) $(SRC)\xemacs.exe "$(INSTALL_DIR)\$(EMACS_CONFIGURATION)"
391cf801cb8d [xemacs-hg @ 2001-05-27 10:50:44 by nick]
nick
parents: 580
diff changeset
1431 @$(COPYDIR) $(XEMACS)\etc "$(INSTALL_DIR)\etc\"
391cf801cb8d [xemacs-hg @ 2001-05-27 10:50:44 by nick]
nick
parents: 580
diff changeset
1432 @$(COPYDIR) $(XEMACS)\info "$(INSTALL_DIR)\info\"
391cf801cb8d [xemacs-hg @ 2001-05-27 10:50:44 by nick]
nick
parents: 580
diff changeset
1433 @$(COPYDIR) $(XEMACS)\lisp "$(INSTALL_DIR)\lisp\"
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1434 @echo Making skeleton package tree in $(PACKAGE_PREFIX) ...
583
391cf801cb8d [xemacs-hg @ 2001-05-27 10:50:44 by nick]
nick
parents: 580
diff changeset
1435 @$(COPY) PlaceHolder "$(PACKAGE_PREFIX)\site-packages\"
488
1e7b510d04f6 [xemacs-hg @ 2001-04-28 21:04:49 by adrian]
adrian
parents: 462
diff changeset
1436 $(DEL) "$(PACKAGE_PREFIX)\site-packages\PlaceHolder"
583
391cf801cb8d [xemacs-hg @ 2001-05-27 10:50:44 by nick]
nick
parents: 580
diff changeset
1437 @$(COPY) PlaceHolder "$(PACKAGE_PREFIX)\mule-packages\"
488
1e7b510d04f6 [xemacs-hg @ 2001-04-28 21:04:49 by adrian]
adrian
parents: 462
diff changeset
1438 $(DEL) "$(PACKAGE_PREFIX)\mule-packages\PlaceHolder"
583
391cf801cb8d [xemacs-hg @ 2001-05-27 10:50:44 by nick]
nick
parents: 580
diff changeset
1439 @$(COPY) PlaceHolder "$(PACKAGE_PREFIX)\xemacs-packages\"
488
1e7b510d04f6 [xemacs-hg @ 2001-04-28 21:04:49 by adrian]
adrian
parents: 462
diff changeset
1440 $(DEL) "$(PACKAGE_PREFIX)\xemacs-packages\PlaceHolder"
1e7b510d04f6 [xemacs-hg @ 2001-04-28 21:04:49 by adrian]
adrian
parents: 462
diff changeset
1441 $(DEL) PlaceHolder
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1442
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1443 mostlyclean:
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1444 $(DEL) $(XEMACS)\Installation
632
406bf4f67ac1 [xemacs-hg @ 2001-07-19 07:19:58 by stephent]
stephent
parents: 587
diff changeset
1445 $(DEL) $(OUTDIR)\*.lib
406bf4f67ac1 [xemacs-hg @ 2001-07-19 07:19:58 by stephent]
stephent
parents: 587
diff changeset
1446 $(DEL) $(OUTDIR)\*.obj
406bf4f67ac1 [xemacs-hg @ 2001-07-19 07:19:58 by stephent]
stephent
parents: 587
diff changeset
1447 $(DEL) $(OUTDIR)\*.pdb
406bf4f67ac1 [xemacs-hg @ 2001-07-19 07:19:58 by stephent]
stephent
parents: 587
diff changeset
1448 $(DEL) $(OUTDIR)\*.res
406bf4f67ac1 [xemacs-hg @ 2001-07-19 07:19:58 by stephent]
stephent
parents: 587
diff changeset
1449 $(DEL) $(OUTDIR)\*.sbr
406bf4f67ac1 [xemacs-hg @ 2001-07-19 07:19:58 by stephent]
stephent
parents: 587
diff changeset
1450 $(DEL) $(SRC)\*.exe
406bf4f67ac1 [xemacs-hg @ 2001-07-19 07:19:58 by stephent]
stephent
parents: 587
diff changeset
1451 $(DEL) $(SRC)\*.map
406bf4f67ac1 [xemacs-hg @ 2001-07-19 07:19:58 by stephent]
stephent
parents: 587
diff changeset
1452 $(DEL) $(SRC)\*.bsc
406bf4f67ac1 [xemacs-hg @ 2001-07-19 07:19:58 by stephent]
stephent
parents: 587
diff changeset
1453 $(DEL) $(SRC)\*.pdb
406bf4f67ac1 [xemacs-hg @ 2001-07-19 07:19:58 by stephent]
stephent
parents: 587
diff changeset
1454 $(DEL) $(LIB_SRC)\*.exe
406bf4f67ac1 [xemacs-hg @ 2001-07-19 07:19:58 by stephent]
stephent
parents: 587
diff changeset
1455 $(DEL) $(LIB_SRC)\*.obj
406bf4f67ac1 [xemacs-hg @ 2001-07-19 07:19:58 by stephent]
stephent
parents: 587
diff changeset
1456 $(DEL) $(LIB_SRC)\*.pdb
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1457 $(DEL) $(LIB_SRC)\*.res
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1458
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1459 clean: mostlyclean versionclean
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1460 $(DEL) $(XEMACS)\TAGS
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1461
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1462 nicenclean: clean
632
406bf4f67ac1 [xemacs-hg @ 2001-07-19 07:19:58 by stephent]
stephent
parents: 587
diff changeset
1463 $(DEL) $(NT)\*.bak
406bf4f67ac1 [xemacs-hg @ 2001-07-19 07:19:58 by stephent]
stephent
parents: 587
diff changeset
1464 $(DEL) $(NT)\*.orig
406bf4f67ac1 [xemacs-hg @ 2001-07-19 07:19:58 by stephent]
stephent
parents: 587
diff changeset
1465 $(DEL) $(NT)\*.rej
406bf4f67ac1 [xemacs-hg @ 2001-07-19 07:19:58 by stephent]
stephent
parents: 587
diff changeset
1466 $(DEL) $(NT)\*.tmp
406bf4f67ac1 [xemacs-hg @ 2001-07-19 07:19:58 by stephent]
stephent
parents: 587
diff changeset
1467 $(DEL) $(LIB_SRC)\*.bak
406bf4f67ac1 [xemacs-hg @ 2001-07-19 07:19:58 by stephent]
stephent
parents: 587
diff changeset
1468 $(DEL) $(LIB_SRC)\*.orig
406bf4f67ac1 [xemacs-hg @ 2001-07-19 07:19:58 by stephent]
stephent
parents: 587
diff changeset
1469 $(DEL) $(LIB_SRC)\*.rej
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1470 $(DEL) $(LIB_SRC)\*.tmp
632
406bf4f67ac1 [xemacs-hg @ 2001-07-19 07:19:58 by stephent]
stephent
parents: 587
diff changeset
1471 $(DEL) $(SRC)\*.bak
406bf4f67ac1 [xemacs-hg @ 2001-07-19 07:19:58 by stephent]
stephent
parents: 587
diff changeset
1472 $(DEL) $(SRC)\*.orig
406bf4f67ac1 [xemacs-hg @ 2001-07-19 07:19:58 by stephent]
stephent
parents: 587
diff changeset
1473 $(DEL) $(SRC)\*.rej
406bf4f67ac1 [xemacs-hg @ 2001-07-19 07:19:58 by stephent]
stephent
parents: 587
diff changeset
1474 $(DEL) $(SRC)\*.tmp
406bf4f67ac1 [xemacs-hg @ 2001-07-19 07:19:58 by stephent]
stephent
parents: 587
diff changeset
1475 $(DEL) $(LISP)\*.bak
406bf4f67ac1 [xemacs-hg @ 2001-07-19 07:19:58 by stephent]
stephent
parents: 587
diff changeset
1476 $(DEL) $(LISP)\*.orig
406bf4f67ac1 [xemacs-hg @ 2001-07-19 07:19:58 by stephent]
stephent
parents: 587
diff changeset
1477 $(DEL) $(LISP)\*.rej
406bf4f67ac1 [xemacs-hg @ 2001-07-19 07:19:58 by stephent]
stephent
parents: 587
diff changeset
1478 $(DEL) $(LISP)\*.tmp
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1479
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1480 ## This is used in making a distribution.
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1481 ## Do not use it on development directories!
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1482 distclean: nicenclean
632
406bf4f67ac1 [xemacs-hg @ 2001-07-19 07:19:58 by stephent]
stephent
parents: 587
diff changeset
1483 $(DEL) $(SRC)\config.h
406bf4f67ac1 [xemacs-hg @ 2001-07-19 07:19:58 by stephent]
stephent
parents: 587
diff changeset
1484 $(DEL) $(SRC)\paths.h
406bf4f67ac1 [xemacs-hg @ 2001-07-19 07:19:58 by stephent]
stephent
parents: 587
diff changeset
1485 $(DEL) $(SRC)\Emacs.ad.h
406bf4f67ac1 [xemacs-hg @ 2001-07-19 07:19:58 by stephent]
stephent
parents: 587
diff changeset
1486 $(DEL) $(CONFIG_VALUES)
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1487 $(DEL) $(INFODIR)\*.info*
632
406bf4f67ac1 [xemacs-hg @ 2001-07-19 07:19:58 by stephent]
stephent
parents: 587
diff changeset
1488 $(DEL) $(LISP)\*.elc
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1489
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1490 realclean: distclean
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1491
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1492 versionclean:
632
406bf4f67ac1 [xemacs-hg @ 2001-07-19 07:19:58 by stephent]
stephent
parents: 587
diff changeset
1493 $(DEL) $(SRC)\xemacs.exe
406bf4f67ac1 [xemacs-hg @ 2001-07-19 07:19:58 by stephent]
stephent
parents: 587
diff changeset
1494 $(DEL) $(LIB_SRC)\DOC
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1495
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1496 #not sure about those wildcards. DOS wildcards are stupid compared to Unix,
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1497 #and could end up deleting *everything* instead of just backup files or
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1498 #whatever.
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1499 #extraclean: realclean
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1500 # $(DEL) *~ *.*~ #* m\*~ m\#* s\*~ s\#*
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1501
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1502 depend:
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1503 cd $(SRC)
432
3a7e78e1142d Import from CVS: tag r21-2-24
cvs
parents: 430
diff changeset
1504 perl ./make-src-depend > depend.tmp
3a7e78e1142d Import from CVS: tag r21-2-24
cvs
parents: 430
diff changeset
1505 perl -MFile::Compare -e "compare('depend.tmp', 'depend') && rename('depend.tmp', 'depend') or unlink('depend.tmp')"
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1506
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1507 $(XEMACS)\Installation:: installation
440
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
1508
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1509 installation::
558
ed498ef2108b [xemacs-hg @ 2001-05-23 09:59:33 by ben]
ben
parents: 551
diff changeset
1510 @echo OS version:>$(XEMACS)\Installation
ed498ef2108b [xemacs-hg @ 2001-05-23 09:59:33 by ben]
ben
parents: 551
diff changeset
1511 @ver >> $(XEMACS)\Installation
ed498ef2108b [xemacs-hg @ 2001-05-23 09:59:33 by ben]
ben
parents: 551
diff changeset
1512 @type >> $(XEMACS)\Installation <<
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1513 !if defined(OS)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1514 OS: $(OS)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1515 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1516
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1517 XEmacs $(XEMACS_VERSION_STRING) $(xemacs_codename:"=\") configured for `$(EMACS_CONFIGURATION)'.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1518
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1519 Building XEmacs in \"$(MAKEDIR:\=\\)\".
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1520 !if defined(CCV)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1521 Using compiler \"$(CC) $(CFLAGS)\".
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1522 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1523 Installing XEmacs in \"$(INSTALL_DIR:\=\\)\".
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1524 Package path is $(PATH_PACKAGEPATH:"=\").
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1525 !if $(INFODOCK)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1526 Building InfoDock.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1527 !endif
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1528 !if $(HAVE_MS_WINDOWS)
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1529 Compiling in support for Microsoft Windows native GUI.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1530 !endif
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1531 !if $(HAVE_X_WINDOWS)
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1532 Compiling in support for X-Windows.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1533 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1534 !if $(HAVE_MULE)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1535 Compiling in MULE.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1536 !endif
488
1e7b510d04f6 [xemacs-hg @ 2001-04-28 21:04:49 by adrian]
adrian
parents: 462
diff changeset
1537 !if $(HAVE_GTK)
1e7b510d04f6 [xemacs-hg @ 2001-04-28 21:04:49 by adrian]
adrian
parents: 462
diff changeset
1538 --------------------------------------------------------------------
523
cd662ad69f40 [xemacs-hg @ 2001-05-09 13:43:49 by ben]
ben
parents: 496
diff changeset
1539 WARNING: You specified HAVE_GTK=1, but we are compiling WITHOUT GTK support.
cd662ad69f40 [xemacs-hg @ 2001-05-09 13:43:49 by ben]
ben
parents: 496
diff changeset
1540 WARNING: gtk-xemacs is not currently supported on MSWindows (mingw or msvc).
cd662ad69f40 [xemacs-hg @ 2001-05-09 13:43:49 by ben]
ben
parents: 496
diff changeset
1541 WARNING: Yes, we know that gtk has been ported to native MSWindows, but
cd662ad69f40 [xemacs-hg @ 2001-05-09 13:43:49 by ben]
ben
parents: 496
diff changeset
1542 WARNING: XEmacs is not yet ready to use that port.
488
1e7b510d04f6 [xemacs-hg @ 2001-04-28 21:04:49 by adrian]
adrian
parents: 462
diff changeset
1543 --------------------------------------------------------------------
1e7b510d04f6 [xemacs-hg @ 2001-04-28 21:04:49 by adrian]
adrian
parents: 462
diff changeset
1544 !endif
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1545 !if $(HAVE_XPM)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1546 Compiling in support for XPM images.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1547 !else
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1548 --------------------------------------------------------------------
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1549 WARNING: Compiling without XPM support.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1550 WARNING: You should strongly consider installing XPM.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1551 WARNING: Otherwise toolbars and other graphics will look suboptimal.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1552 WARNING: (a copy may be found in ftp://ftp.xemacs.org/pub/xemacs/aux)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1553 --------------------------------------------------------------------
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1554 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1555 !if $(HAVE_GIF)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1556 Compiling in support for GIF images.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1557 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1558 !if $(HAVE_PNG)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1559 Compiling in support for PNG images.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1560 !else
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1561 --------------------------------------------------------------------
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1562 WARNING: Compiling without PNG image support.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1563 WARNING: You should strongly consider installing the PNG libraries.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1564 WARNING: Otherwise certain images and glyphs may not display.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1565 WARNING: (a copy may be found in ftp://ftp.xemacs.org/pub/xemacs/aux
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1566 --------------------------------------------------------------------
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1567 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1568 !if $(HAVE_TIFF)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1569 Compiling in support for TIFF images.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1570 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1571 !if $(HAVE_JPEG)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1572 Compiling in support for JPEG images.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1573 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1574 !if $(HAVE_XFACE)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1575 Compiling in support for X-Face message headers.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1576 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1577 !if $(HAVE_TOOLBARS)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1578 Compiling in support for toolbars.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1579 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1580 !if $(HAVE_DIALOGS)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1581 Compiling in support for dialogs.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1582 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1583 !if $(HAVE_WIDGETS)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1584 Compiling in support for widgets.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1585 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1586 !if $(HAVE_NATIVE_SOUND)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1587 Compiling in support for native sounds.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1588 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1589 !if $(HAVE_MSW_C_DIRED)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1590 Compiling in fast dired implementation.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1591 !else
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1592 --------------------------------------------------------------------
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1593 WARNING: Define HAVE_MSW_C_DIRED to be non-zero if you want XEmacs
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1594 WARNING: to use C primitives to significantly speed up dired, at the
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1595 WARNING: expense of an additional ~4KB of code.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1596 --------------------------------------------------------------------
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1597 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1598 !if $(USE_MINIMAL_TAGBITS)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1599 Using minimal tagbits.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1600 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1601 !if $(USE_INDEXED_LRECORD_IMPLEMENTATION)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1602 Using indexed lrecord implementation.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1603 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1604 !if $(USE_UNION_TYPE)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1605 Using union type for Lisp object storage.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1606 !endif
438
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 432
diff changeset
1607 !if $(USE_PORTABLE_DUMPER)
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 432
diff changeset
1608 Using portable dumper.
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 432
diff changeset
1609 !endif
440
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
1610 !if $(USE_SYSTEM_MALLOC)
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
1611 Using system malloc.
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
1612 !endif
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
1613 !if $(USE_CRTDLL)
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
1614 Using DLL version of C runtime library
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
1615 !endif
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1616 !if $(DEBUG_XEMACS)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1617 Compiling in extra debug checks. XEmacs will be slow!
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1618 !endif
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1619 !if $(QUICK_BUILD)
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1620 Disabling non-essential build actions. Use with care!
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1621 !endif
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1622 <<NOKEEP
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1623 @echo --------------------------------------------------------------------
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1624 @type $(XEMACS)\Installation
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1625 @echo --------------------------------------------------------------------
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1626
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1627 # Update out-of-date .elcs, other than needed for dumping.
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1628 update-elc-2:
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1629 $(XEMACS_BATCH) -l update-elc-2.el -f batch-update-elc-2 $(LISP)
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1630
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1631 # DO NOT DELETE THIS LINE -- make depend depends on it.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1632