aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Rumney2004-05-03 14:19:40 +0000
committerJason Rumney2004-05-03 14:19:40 +0000
commit238add5e586e100ea2f7fd243d3ce57f98449b45 (patch)
treea0ab4e60f3a60042dcf84983f8b5b04b1c4f1a95
parent5eb3d2a5149951c9ba57549fe278c57efbe106b6 (diff)
downloademacs-238add5e586e100ea2f7fd243d3ce57f98449b45.tar.gz
emacs-238add5e586e100ea2f7fd243d3ce57f98449b45.zip
Remove files related to old msvc only windows build.
-rw-r--r--leim/ChangeLog6
-rw-r--r--leim/makefile.nt208
-rw-r--r--lib-src/ChangeLog4
-rw-r--r--lib-src/makefile.nt417
-rw-r--r--lisp/ChangeLog4
-rw-r--r--lisp/makefile.nt284
-rw-r--r--nt/ChangeLog5
-rwxr-xr-xnt/ebuild.bat7
-rwxr-xr-xnt/fast-install.bat5
-rwxr-xr-xnt/install.bat12
-rw-r--r--nt/makefile.def231
-rw-r--r--nt/makefile.nt213
-rw-r--r--nt/nmake.defs2
-rw-r--r--src/ChangeLog4
-rw-r--r--src/makefile.nt1232
15 files changed, 23 insertions, 2611 deletions
diff --git a/leim/ChangeLog b/leim/ChangeLog
index 0a9705c1b5d..e43f3f2fde1 100644
--- a/leim/ChangeLog
+++ b/leim/ChangeLog
@@ -1,3 +1,7 @@
12004-05-03 Jason Rumney <jasonr@gnu.org>
2
3 * makefile.nt: Remove.
4
12004-04-23 Juanma Barranquero <lektu@terra.es> 52004-04-23 Juanma Barranquero <lektu@terra.es>
2 6
3 * makefile.w32-in: Add "-*- makefile -*-" mode tag. 7 * makefile.w32-in: Add "-*- makefile -*-" mode tag.
@@ -1393,7 +1397,7 @@
1393 1397
1394 1398
1395;; Local Variables: 1399;; Local Variables:
1396;; coding: iso-2022-7bit-unix 1400;; coding: iso-2022-7bit
1397;; End: 1401;; End:
1398 1402
1399 Copyright (C) 1997, 1998, 1999, 2001 Free Software Foundation, Inc. 1403 Copyright (C) 1997, 1998, 1999, 2001 Free Software Foundation, Inc.
diff --git a/leim/makefile.nt b/leim/makefile.nt
deleted file mode 100644
index 41dc8e2030a..00000000000
--- a/leim/makefile.nt
+++ /dev/null
@@ -1,208 +0,0 @@
1# Makefile for leim subdirectory in GNU Emacs on the Microsoft W32 API.
2# Copyright (C) 1997 Electrotechnical Laboratory, JAPAN.
3# Licensed to the Free Software Foundation.
4
5# This file is part of GNU Emacs.
6
7# GNU Emacs is free software; you can redistribute it and/or modify
8# it under the terms of the GNU General Public License as published by
9# the Free Software Foundation; either version 2, or (at your option)
10# any later version.
11#
12# GNU Emacs is distributed in the hope that it will be useful,
13# but WITHOUT ANY WARRANTY; without even the implied warranty of
14# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15# GNU General Public License for more details.
16#
17# You should have received a copy of the GNU General Public License
18# along with GNU Emacs; see the file COPYING. If not, write to the
19# Free Software Foundation, Inc., 59 Temple Place - Suite 330,
20# Boston, MA 02111-1307, USA.
21
22#
23# Sets up the system dependent macros.
24#
25!include ..\nt\makefile.def
26
27srcdir=.
28
29# Where to install LEIM files.
30INSTALLDIR=$(INSTALL_DIR)\leim
31
32# On Xenix and the IBM RS6000, double-dot gets screwed up.
33dot = .
34
35# Which Emacs to use to convert TIT files to Emacs Lisp files,
36# byte-compile Emacs Lisp files, and generate the file leim-list.el.
37BUILT_EMACS = $(dot)$(dot)\src\$(BLD)\emacs.exe
38
39buildlisppath=$(MAKEDIR:\=/)/$(dot)$(dot)/lisp
40
41# How to run Emacs.
42RUN_EMACS = $(BUILT_EMACS) -batch --no-init-file --no-site-file --multibyte
43
44# Subdirectories to be made if $(srcdir) is different from the current
45# directory.
46SUBDIRS=quail
47
48# Files generated from TIT dictionaries for Chinese GB character set.
49TIT_GB=\
50 quail/CCDOSPY.elc \
51 quail/Punct.elc \
52 quail/QJ.elc \
53 quail/SW.elc \
54 quail/TONEPY.elc
55
56# Files generated from TIT dictionaries for Chinese BIG5 character set.
57TIT_BIG5=\
58 quail/4Corner.elc \
59 quail/ARRAY30.elc \
60 quail/ECDICT.elc \
61 quail/ETZY.elc \
62 quail/Punct-b5.elc \
63 quail/PY-b5.elc \
64 quail/QJ-b5.elc \
65 quail/ZOZY.elc
66
67CHINESE_TIT=$(TIT_GB) $(TIT_BIG5)
68
69NON_TIT_GB=$(srcdir)/quail/py-punct.elc
70
71NON_TIT_BIG5=$(srcdir)/quail/quick-b5.elc
72
73CHINESE_NON_TIT=$(NON_TIT_GB) $(NON_TIT_BIG5)
74
75CHINESE_GB=$(TIT_GB) $(NON_TIT_GB)
76
77CHINESE_BIG5=$(TIT_BIG5) $(NON_TIT_BIG5)
78
79JAPANESE=$(srcdir)/quail/japanese.elc $(srcdir)/ja-dic/ja-dic.elc
80
81KOREAN= $(srcdir)/quail/hangul.elc \
82 $(srcdir)/quail/hangul3.elc \
83 $(srcdir)/quail/hanja.elc \
84 $(srcdir)/quail/hanja3.elc \
85 $(srcdir)/quail/hanja-jis.elc \
86 $(srcdir)/quail/symbol-ksc.elc
87
88THAI=$(srcdir)/quail/thai.elc
89
90VIETNAMESE=$(srcdir)/quail/viqr.elc $(srcdir)/quail/vntelex.elc
91
92LAO=$(srcdir)/quail/lao.elc $(srcdir)/quail/lrt.elc
93
94INDIAN=$(srcdir)/quail/indian.elc
95
96TIBETAN=$(srcdir)/quail/tibetan.elc
97
98LATIN= $(srcdir)/quail/latin-pre.elc \
99 $(srcdir)/quail/latin-post.elc \
100 $(srcdir)/quail/latin-alt.elc \
101 $(srcdir)/quail/latin-ltx.elc
102
103SLAVIC= \
104 $(srcdir)/quail/czech.elc \
105 $(srcdir)/quail/slovak.elc
106
107GREEK=$(srcdir)/quail/greek.elc
108
109RUSSIAN=$(srcdir)/quail/cyrillic.elc $(srcdir)/quail/cyril-jis.elc
110
111MISC= \
112 $(srcdir)/quail/ethiopic.elc \
113 $(srcdir)/quail/ipa.elc \
114 $(srcdir)/quail/hebrew.elc
115
116MISC_DIC=\
117 quail/tsang-b5.elc \
118 quail/quick-b5.elc \
119 quail/tsang-cns.elc \
120 quail/quick-cns.elc \
121 quail/PY.elc \
122 quail/ZIRANMA.elc \
123 quail/CTLau.elc \
124 quail/CTLau-b5.elc
125
126CHINESE=$(CHINESE_GB) $(CHINESE_BIG5)
127EASTASIA=$(CHINESE) $(JAPANESE) $(KOREAN)
128ASIA=$(EASTASIA) $(THAI) $(VIETNAMESE) $(LAO) $(INDIAN) $(TIBETAN)
129EUROPEAN=$(LATIN) $(SLAVIC) $(GREEK) $(RUSSIAN)
130WORLD=$(ASIA) $(EUROPEAN) $(MISC)
131
132TIT=$(CHINESE_TIT)
133NON_TIT=$(CHINESE_NON_TIT) $(JAPANESE) $(KOREAN) $(EUROPEAN) $(MISC)
134
135all: $(BUILT_EMACS) $(SUBDIRS) $(WORLD) leim-list.el
136
137# To ensure that we can run Emacs. This target is ignored (never
138# being hit) if a user changes default value of EMACS.
139$(dot)$(dot)/src/emacs:
140 cd ../src; $(MAKE) $(MFLAGS) emacs
141
142$(SUBDIRS):
143 mkdir $@
144 echo stamp>stamp-subdir
145
146# The rules which generate $(TIT) and ${MISC_DIC) files create them all
147# in one go. So we need to prevent parallel execution for that target,
148# otherwise Emacs complains about files being locked. .NOTPARALLEL is
149# for GNU Make, .NO_PARALLEL is for other Make's.
150.NOTPARALLEL: $(TIT) $(MISC_DIC)
151
152.NO_PARALLEL: $(TIT) $(MISC_DIC)
153
154# Rule to generate quail/*.el from CXTERM-DIC/*.tit.
155$(TIT): $(SUBDIRS)
156 set EMACSLOADPATH=$(buildlisppath)
157 $(RUN_EMACS) -l $(buildlisppath)/international/titdic-cnv \
158 --eval "(batch-titdic-convert t)" -dir quail $(srcdir)/CXTERM-DIC
159 $(RUN_EMACS) -l $(buildlisppath)/international/quail \
160 -f batch-byte-compile $(TIT:.elc=.el)
161
162# Rule to generate quail/*.el from CXTERM-DIC/*.tit.
163$(MISC_DIC): $(SUBDIRS)
164 set EMACSLOADPATH=$(buildlisppath)
165 $(RUN_EMACS) -l $(buildlisppath)/international/titdic-cnv \
166 -f batch-miscdic-convert -dir quail $(srcdir)/MISC-DIC
167 $(RUN_EMACS) -l $(buildlisppath)/international/quail \
168 -f batch-byte-compile $(MISC_DIC:.elc=.el)
169
170.SUFFIXES: .elc .el
171
172.el.elc:
173 set EMACSLOADPATH=$(buildlisppath)
174 $(RUN_EMACS) -f batch-byte-compile $<
175
176leim-list.el: $(SUBDIRS) $(WORLD)
177 set EMACSLOADPATH=$(buildlisppath)
178 $(RUN_EMACS) -l $(buildlisppath)/international/quail \
179 --eval "(update-leim-list-file \".\")"
180
181install: all
182 - mkdir $(INSTALLDIR)
183 - $(DEL) same-dir.tst
184 - $(DEL) $(INSTALLDIR)\same-dir.tst
185 echo SameDirTest > $(INSTALLDIR)\same-dir.tst
186 if not exist same-dir.tst $(CP) leim-list.el $(INSTALLDIR)
187 if not exist same-dir.tst $(CP_DIR) quail $(INSTALLDIR)\quail
188 if not exist same-dir.tst $(CP_DIR) ja-dic $(INSTALLDIR)\ja-dic
189 - $(DEL) $(INSTALLDIR)\same-dir.tst
190
191TIT_EL=$(TIT:.elc=.el)
192MISC_DIC_EL=$(MISC_DIC:.elc=.el)
193
194clean mostlyclean:
195 for %%f in ($(TIT:/=\)) do $(DEL) %%f
196 for %%f in ($(TIT_EL:/=\)) do $(DEL) %%f
197 for %%f in ($(MISC_DIC:/=\)) do $(DEL) %%f
198 for %%f in ($(MISC_DIC_EL:/=\)) do $(DEL) %%f
199 $(DEL) leim-list.el
200
201distclean: clean
202 if exist stamp-subdir $(DELTREE) $(SUBDIRS)
203 $(DEL) stamp-subdir
204
205maintainer-clean: distclean
206 for %%f in ($(WORLD:/=\)) do $(DEL) %%f
207
208# arch-tag: cded53b4-4803-496b-8c05-7daff80e5b3b
diff --git a/lib-src/ChangeLog b/lib-src/ChangeLog
index e2fcc6cc939..b280abc4111 100644
--- a/lib-src/ChangeLog
+++ b/lib-src/ChangeLog
@@ -1,3 +1,7 @@
12004-05-03 Jason Rumney <jasonr@gnu.org>
2
3 * makefile.nt: Remove.
4
12004-04-26 Eli Zaretskii <eliz@gnu.org> 52004-04-26 Eli Zaretskii <eliz@gnu.org>
2 6
3 * make-docfile.c (IS_DIRECTORY_SEP): New macro. 7 * make-docfile.c (IS_DIRECTORY_SEP): New macro.
diff --git a/lib-src/makefile.nt b/lib-src/makefile.nt
deleted file mode 100644
index 29282eea45d..00000000000
--- a/lib-src/makefile.nt
+++ /dev/null
@@ -1,417 +0,0 @@
1# Makefile for GNU Emacs lib-src directory.
2# Geoff Voelker (voelker@cs.washington.edu)
3# Copyright (C) 1994 Free Software Foundation, Inc.
4#
5# This file is part of GNU Emacs.
6#
7# GNU Emacs is free software; you can redistribute it and/or modify
8# it under the terms of the GNU General Public License as published by
9# the Free Software Foundation; either version 2, or (at your option)
10# any later version.
11#
12# GNU Emacs is distributed in the hope that it will be useful,
13# but WITHOUT ANY WARRANTY; without even the implied warranty of
14# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15# GNU General Public License for more details.
16#
17# You should have received a copy of the GNU General Public License
18# along with GNU Emacs; see the file COPYING. If not, write to the
19# Free Software Foundation, Inc., 59 Temple Place - Suite 330,
20# Boston, MA 02111-1307, USA.
21#
22
23#
24# Sets up the system dependent macros.
25#
26!include ..\nt\makefile.def
27
28LOCAL_FLAGS = -DWINDOWSNT -DDOS_NT -DSTDC_HEADERS=1 -DNO_LDAV=1 \
29 -DNO_ARCHIVES=1 -DHAVE_CONFIG_H=1 -I..\nt\inc -I..\src
30
31LINK_FLAGS = $(ARCH_LDFLAGS) -debug:PARTIAL -machine:$(ARCH) -subsystem:console -entry:mainCRTStartup setargv.obj
32
33ALL = $(BLD)\make-docfile.exe \
34 $(BLD)\hexl.exe \
35 $(BLD)\ctags.exe \
36 $(BLD)\etags.exe \
37 $(BLD)\ebrowse.exe \
38 $(BLD)\movemail.exe
39
40
41# don't know what (if) to do with these yet...
42#
43# $(BLD)\sorted-doc.exe \
44# $(BLD)\env.exe \
45# $(BLD)\server.exe \
46# $(BLD)\emacstool.exe \
47# $(BLD)\leditcfns.exe \
48# $(BLD)\emacsclient.exe \
49# $(BLD)\cvtmail.exe \
50# $(BLD)\digest-doc.exe \
51# $(BLD)\test-distrib.exe \
52
53
54LIBS = $(BASE_LIBS)
55
56$(BLD)\make-docfile.exe: $(BLD)\make-docfile.obj $(BLD)\ntlib.obj
57 $(LINK) -out:$@ $(LINK_FLAGS) $(BLD)\make-docfile.obj $(BLD)\ntlib.obj $(LIBS)
58$(BLD)\hexl.exe: $(BLD)\hexl.obj
59$(BLD)\fakemail.exe: $(BLD)\fakemail.obj $(BLD)\ntlib.obj
60 $(LINK) -out:$@ $(LINK_FLAGS) -debug:full $(BLD)\fakemail.obj $(BLD)\ntlib.obj $(LIBS)
61
62make-docfile: $(BLD) $(BLD)\make-docfile.exe
63etags: $(BLD) $(BLD)\etags.exe
64ebrowse: $(BLD) $(BLD)\ebrowse.exe
65hexl: $(BLD) $(BLD)\hexl.exe
66movemail: $(BLD) $(BLD)\movemail.exe
67fakemail: $(BLD) $(BLD)\fakemail.exe
68
69GETOPTOBJS = $(BLD)\getopt.obj $(BLD)\getopt1.obj
70GETOPTDEPS = $(GETOPTOBJS) getopt.h
71MOVEMAILOBJS = $(BLD)\movemail.obj \
72 $(BLD)\pop.obj \
73 $(BLD)\ntlib.obj \
74 $(GETOPTOBJS)
75
76$(BLD)\movemail.exe: $(MOVEMAILOBJS) getopt.h
77# put wsock32.lib before $(LIBS) to ensure we don't link to ws2_32.lib
78 $(LINK) -out:$@ $(LINK_FLAGS) -debug:FULL $(MOVEMAILOBJS) wsock32.lib $(LIBS)
79
80ETAGSOBJ = $(BLD)\etags.obj \
81 $(BLD)\getopt.obj \
82 $(BLD)\getopt1.obj \
83 $(BLD)\ntlib.obj \
84 $(BLD)\regex.obj
85
86
87$(BLD)\etags.exe: $(ETAGSOBJ)
88 $(LINK) -out:$@ $(LINK_FLAGS) $(ETAGSOBJ) $(LIBS)
89
90
91$(BLD)\regex.obj: ../src/regex.c ../src/regex.h ../src/config.h
92 $(CC) $(CFLAGS) -DCONFIG_BROKETS -DINHIBIT_STRING_HEADER \
93 ../src/regex.c -Fo$@
94
95ETAGS_CFLAGS = -DETAGS_REGEXPS -DHAVE_GETCWD
96$(BLD)\etags.obj: etags.c
97 $(CC) $(CFLAGS) $(ETAGS_CFLAGS) -Fo$@ etags.c
98
99CTAGSOBJ = $(BLD)\ctags.obj \
100 $(BLD)\getopt.obj \
101 $(BLD)\getopt1.obj \
102 $(BLD)\ntlib.obj \
103 $(BLD)\regex.obj
104
105$(BLD)\ctags.exe: ctags.c $(CTAGSOBJ)
106 $(LINK) -out:$@ $(LINK_FLAGS) $(CTAGSOBJ) $(LIBS)
107
108ctags.c: etags.c
109 - $(DEL) ctags.c
110 copy etags.c ctags.c
111
112CTAGS_CFLAGS = -DCTAGS $(ETAGS_CFLAGS)
113$(BLD)\ctags.obj: ctags.c
114 $(CC) $(CFLAGS) $(CTAGS_CFLAGS) -Fo$@ ctags.c
115
116EBROWSE_OBJ = $(BLD)\ebrowse.obj \
117 $(BLD)\getopt.obj \
118 $(BLD)\getopt1.obj \
119 $(BLD)\ntlib.obj
120
121$(BLD)\ebrowse.exe: $(EBROWSE_OBJ)
122 $(LINK) -out:$@ $(LINK_FLAGS) $(EBROWSE_OBJ) $(LIBS)
123
124$(BLD)\ebrowse.obj: ebrowse.c ..\src\config.h
125 $(CC) $(CFLAGS) -DVERSION=\"$(VERSION)\" -Fo$@ ebrowse.c
126#
127# don't know what to do with these yet...
128#
129# $(BLD)\sorted-doc.exe: $(BLD)\sorted-doc.obj
130# $(BLD)\yow.exe: $(BLD)\yow.obj
131# $(BLD)\emacstool.exe: $(BLD)\emacstool.obj
132# $(BLD)\leditcfns.exe: $(BLD)\leditcfns.obj
133# $(BLD)\server.exe: $(BLD)\server.obj
134# $(BLD)\cvtmail.exe: $(BLD)\cvtmail.obj
135# $(BLD)\digest-doc.exe: $(BLD)\digest-doc.obj
136# $(BLD)\emacsclient.exe: $(BLD)\emacsclient.obj
137# $(BLD)\test-distrib.exe: $(BLD)\test-distrib.obj
138
139#
140# From ..\src\makefile.nt.
141#
142obj = abbrev.c alloc.c alloca.c buffer.c bytecode.c callint.c callproc.c casefiddle.c cm.c cmds.c charset.c coding.c category.c ccl.c data.c dired.c dispnew.c doc.c doprnt.c editfns.c emacs.c eval.c fileio.c filelock.c filemode.c fns.c fontset.c indent.c insdel.c keyboard.c keymap.c lastfile.c lread.c macros.c marker.c minibuf.c xfaces.c print.c process.c regex.c scroll.c search.c syntax.c sysdep.c term.c termcap.c tparam.c undo.c unexw32.c window.c xdisp.c casetab.c floatfns.c frame.c gmalloc.c intervals.c ralloc.c textprop.c vm-limit.c region-cache.c strftime.c w32.c w32console.c w32faces.c w32fns.c w32heap.c w32inevt.c w32proc.c w32reg.c w32menu.c w32select.c w32term.c w32xfns.c
143
144#
145# These are the lisp files that are loaded up in loadup.el
146#
147lispsource = ../lisp/
148
149FACE_SUPPORT = $(lispsource)facemenu.elc
150MOUSE_SUPPORT = $(lispsource)select.elc $(lispsource)scroll-bar.elc $(lispsource)mouse.elc
151FLOAT_SUPPORT = $(lispsource)float-sup.elc
152WINNT_SUPPORT = $(lispsource)ls-lisp.elc $(lispsource)w32-fns.elc $(lispsource)dos-w32.elc
153
154lisp= \
155 $(lispsource)abbrev.elc \
156 $(lispsource)buff-menu.elc \
157 $(lispsource)byte-run.elc \
158 $(lispsource)cus-start.el \
159 $(lispsource)custom.elc \
160 $(lispsource)disp-table.elc \
161 $(lispsource)faces.elc \
162 $(lispsource)files.elc \
163 $(lispsource)textmodes/fill.elc \
164 $(lispsource)format.elc \
165 $(FACE_SUPPORT) \
166 $(MOUSE_SUPPORT) \
167 $(FLOAT_SUPPORT) \
168 $(lispsource)frame.elc\
169 $(X_WINDOWS_SUPPORT) \
170 $(lispsource)help.elc \
171 $(lispsource)indent.elc \
172 $(lispsource)isearch.elc \
173 $(lispsource)emacs-lisp/lisp-mode.elc \
174 $(lispsource)emacs-lisp/lisp.elc \
175 $(lispsource)loadup.el \
176 $(lispsource)loaddefs.el \
177 $(lispsource)bindings.el \
178 $(lispsource)map-ynp.elc \
179 $(lispsource)menu-bar.elc \
180 $(lispsource)international/mule.elc \
181 $(lispsource)international/mule-conf.el \
182 $(lispsource)international/mule-cmds.elc \
183 $(lispsource)international/characters.elc \
184 $(lispsource)international/ccl.elc \
185 $(lispsource)international/codepage.elc \
186 $(lispsource)international/utf-8.elc \
187 $(lispsource)case-table.elc \
188 $(lispsource)language/chinese.elc \
189 $(lispsource)language/cyrillic.elc \
190 $(lispsource)language/devanagari.elc \
191 $(lispsource)language/english.elc \
192 $(lispsource)language/ethiopic.elc \
193 $(lispsource)language/european.elc \
194 $(lispsource)language/czech.elc \
195 $(lispsource)language/slovak.elc \
196 $(lispsource)language/romanian.elc \
197 $(lispsource)language/greek.elc \
198 $(lispsource)language/hebrew.elc \
199 $(lispsource)language/indian.elc \
200 $(lispsource)language/japanese.elc \
201 $(lispsource)language/korean.elc \
202 $(lispsource)language/lao.elc \
203 $(lispsource)language/thai.elc \
204 $(lispsource)language/tibetan.elc \
205 $(lispsource)language/vietnamese.elc \
206 $(lispsource)language/misc-lang.elc \
207 $(lispsource)textmodes/page.elc \
208 $(lispsource)textmodes/paragraphs.elc \
209 $(lispsource)paths.el \
210 $(lispsource)register.elc \
211 $(lispsource)replace.elc \
212 $(lispsource)simple.elc \
213 $(lispsource)startup.elc \
214 $(lispsource)subr.elc \
215 $(lispsource)term/tty-colors.elc \
216 $(lispsource)textmodes/text-mode.elc \
217 $(lispsource)vc-hooks.elc \
218 $(lispsource)ediff-hook.elc \
219 $(VMS_SUPPORT) \
220 $(MSDOS_SUPPORT) \
221 $(WINNT_SUPPORT) \
222 $(lispsource)widget.elc \
223 $(lispsource)window.elc \
224 $(lispsource)version.el
225
226
227DOC = DOC
228$(DOC): $(BLD)\make-docfile.exe
229 - $(DEL) $(DOC)
230 $(BLD)\make-docfile -d ..\src $(obj) > $(DOC)
231 $(BLD)\make-docfile -d ..\src $(lisp) >> $(DOC)
232 $(CP) $(DOC) ..\etc\DOC-X
233 - mkdir ..\src\$(OBJDIR)
234 - mkdir ..\src\$(OBJDIR)\etc
235 $(CP) $(DOC) ..\src\$(OBJDIR)\etc\DOC-X
236
237{$(BLD)}.obj{$(BLD)}.exe:
238 $(LINK) -out:$@ $(LINK_FLAGS) $*.obj $(LIBS)
239
240#
241# Build the executables
242#
243all: $(BLD) $(ALL) $(DOC)
244
245#
246# Assuming INSTALL_DIR is defined, build and install emacs in it.
247#
248INSTALL_FILES = $(ALL)
249install: $(INSTALL_FILES)
250 - mkdir $(INSTALL_DIR)\bin
251 $(CP) $(BLD)\etags.exe $(INSTALL_DIR)\bin
252 $(CP) $(BLD)\ctags.exe $(INSTALL_DIR)\bin
253 $(CP) $(BLD)\hexl.exe $(INSTALL_DIR)\bin
254 $(CP) $(BLD)\movemail.exe $(INSTALL_DIR)\bin
255 - mkdir $(INSTALL_DIR)\etc
256 $(CP) $(DOC) $(INSTALL_DIR)\etc
257
258# Don't install fakemail by default, as it sends mail into a
259# blackhole if /bin/mail is not installed.
260# $(CP) $(BLD)\fakemail.exe $(INSTALL_DIR)\bin
261
262#
263# Maintenance
264#
265clean:; - $(DEL) *~ *.pdb DOC*
266 - $(DEL) *.orig *.rej *.crlf ctags.c
267 - $(DEL_TREE) deleted
268 - $(DEL_TREE) obj
269 - $(DEL_TREE) obj-spd
270
271#
272# Headers we would preprocess if we could.
273#
274..\src\config.h: ..\nt\$(CONFIG_H)
275 $(CP) $** $@
276..\src\paths.h: ..\nt\paths.h
277 $(CP) $** $@
278
279### DEPENDENCIES ###
280
281EMACS_ROOT = ..
282SRC = .
283
284$(BLD)\b2m.obj : \
285 $(SRC)\b2m.c \
286 $(EMACS_ROOT)\src\s\ms-w32.h \
287 $(EMACS_ROOT)\src\m\intel386.h \
288 $(EMACS_ROOT)\lib-src\..\src\config.h
289
290$(BLD)\ctags.obj : \
291 $(SRC)\ctags.c \
292 $(EMACS_ROOT)\nt\inc\sys\param.h \
293 $(EMACS_ROOT)\src\s\ms-w32.h \
294 $(EMACS_ROOT)\src\m\intel386.h \
295 $(EMACS_ROOT)\lib-src\..\src\config.h \
296 $(SRC)\ntlib.h \
297 $(SRC)\getopt.h
298
299$(BLD)\cvtmail.obj : \
300 $(SRC)\cvtmail.c
301
302$(BLD)\digest-doc.obj : \
303 $(SRC)\digest-doc.c
304
305$(BLD)\emacsclient.obj : \
306 $(SRC)\emacsclient.c \
307 $(EMACS_ROOT)\src\s\ms-w32.h \
308 $(EMACS_ROOT)\src\m\intel386.h \
309 $(EMACS_ROOT)\lib-src\..\src\config.h
310
311$(BLD)\emacstool.obj : \
312 $(SRC)\emacstool.c \
313 $(EMACS_ROOT)\nt\inc\sys\file.h
314
315$(BLD)\etags.obj : \
316 $(SRC)\etags.c \
317 $(EMACS_ROOT)\nt\inc\sys\param.h \
318 $(EMACS_ROOT)\src\s\ms-w32.h \
319 $(EMACS_ROOT)\src\m\intel386.h \
320 $(EMACS_ROOT)\lib-src\..\src\config.h \
321 $(SRC)\ntlib.h \
322 $(SRC)\getopt.h
323
324$(BLD)\fakemail.obj : \
325 $(SRC)\fakemail.c \
326 $(SRC)\ntlib.h \
327 $(EMACS_ROOT)\src\s\ms-w32.h \
328 $(EMACS_ROOT)\src\m\intel386.h \
329 $(EMACS_ROOT)\lib-src\..\src\config.h \
330 $(EMACS_ROOT)\nt\inc\pwd.h
331
332$(BLD)\getdate.obj : \
333 $(SRC)\getdate.c \
334 $(EMACS_ROOT)\src\s\ms-w32.h \
335 $(EMACS_ROOT)\src\m\intel386.h \
336 $(EMACS_ROOT)\src\config.h \
337 $(MSTOOLS_SYS)\types.h
338
339$(BLD)\getopt.obj : \
340 $(SRC)\getopt.c \
341 $(EMACS_ROOT)\src\s\ms-w32.h \
342 $(EMACS_ROOT)\src\m\intel386.h \
343 $(EMACS_ROOT)\src\config.h \
344 $(SRC)\ntlib.h \
345 $(SRC)\getopt.h
346
347$(BLD)\getopt1.obj : \
348 $(SRC)\getopt1.c \
349 $(EMACS_ROOT)\src\s\ms-w32.h \
350 $(EMACS_ROOT)\src\m\intel386.h \
351 $(EMACS_ROOT)\src\config.h \
352 $(SRC)\getopt.h
353
354$(BLD)\hexl.obj : \
355 $(SRC)\hexl.c
356
357$(BLD)\leditcfns.obj : \
358 $(SRC)\leditcfns.c
359
360$(BLD)\make-docfile.obj : \
361 $(SRC)\make-docfile.c \
362 $(EMACS_ROOT)\src\config.h
363
364$(BLD)\make-path.obj : \
365 $(SRC)\make-path.c
366
367$(BLD)\movemail.obj : \
368 $(SRC)\movemail.c \
369 $(EMACS_ROOT)\src\s\ms-w32.h \
370 $(EMACS_ROOT)\src\m\intel386.h \
371 $(EMACS_ROOT)\lib-src\..\src\config.h \
372 $(EMACS_ROOT)\nt\inc\sys\file.h \
373 $(EMACS_ROOT)\lib-src\..\src\syswait.h \
374 $(EMACS_ROOT)\nt\inc\pwd.h \
375 $(SRC)\ntlib.h
376 $(CC) $(CFLAGS) -DUSG -Fo$@ movemail.c
377
378$(BLD)\ntlib.obj : \
379 $(SRC)\ntlib.c \
380 $(SRC)\ntlib.h \
381 $(EMACS_ROOT)\nt\inc\pwd.h
382
383$(BLD)\pop.obj : \
384 $(SRC)\pop.c \
385 $(SRC)\pop.h \
386 $(SRC)\ntlib.h
387
388$(BLD)\profile.obj : \
389 $(SRC)\profile.c \
390 $(EMACS_ROOT)\src\s\ms-w32.h \
391 $(EMACS_ROOT)\src\m\intel386.h \
392 $(EMACS_ROOT)\lib-src\..\src\config.h \
393 $(EMACS_ROOT)\lib-src\..\src\systime.h
394
395$(BLD)\qsort.obj : \
396 $(SRC)\qsort.c
397
398$(BLD)\sorted-doc.obj : \
399 $(SRC)\sorted-doc.c
400
401$(BLD)\tcp.obj : \
402 $(SRC)\tcp.c
403
404$(BLD)\test-distrib.obj : \
405 $(SRC)\test-distrib.c
406
407$(BLD)\timer.obj : \
408 $(SRC)\timer.c \
409 $(EMACS_ROOT)\src\s\ms-w32.h \
410 $(EMACS_ROOT)\src\m\intel386.h \
411 $(EMACS_ROOT)\lib-src\..\src\config.h
412
413$(BLD)\yow.obj : \
414 $(SRC)\yow.c \
415 $(EMACS_ROOT)\lib-src\..\src\paths.h
416
417# arch-tag: 59e1b54b-4cc2-4086-bb0b-ecfad4b683e9
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index f096b78d6c2..ef565ea0c89 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,7 @@
12004-05-03 Jason Rumney <jasonr@gnu.org>
2
3 * makefile.nt: Remove.
4
12004-05-03 Kim F. Storm <storm@cua.dk> 52004-05-03 Kim F. Storm <storm@cua.dk>
2 6
3 * emulation/cua-base.el (cua--update-indications): Fix last 7 * emulation/cua-base.el (cua--update-indications): Fix last
diff --git a/lisp/makefile.nt b/lisp/makefile.nt
deleted file mode 100644
index 069ef96ac98..00000000000
--- a/lisp/makefile.nt
+++ /dev/null
@@ -1,284 +0,0 @@
1# Hacked up Nmake makefile for GNU Emacs
2# Geoff Voelker (voelker@cs.washington.edu)
3# Copyright (c) 1994 Free Software Foundation, Inc.
4#
5# This file is part of GNU Emacs.
6#
7# GNU Emacs is free software; you can redistribute it and/or modify
8# it under the terms of the GNU General Public License as published by
9# the Free Software Foundation; either version 2, or (at your option)
10# any later version.
11#
12# GNU Emacs is distributed in the hope that it will be useful,
13# but WITHOUT ANY WARRANTY; without even the implied warranty of
14# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15# GNU General Public License for more details.
16#
17# You should have received a copy of the GNU General Public License
18# along with GNU Emacs; see the file COPYING. If not, write to the
19# Free Software Foundation, Inc., 59 Temple Place - Suite 330,
20# Boston, MA 02111-1307, USA.
21#
22
23!include ..\nt\makefile.def
24
25all:
26
27#lisp=$(MAKEDIR:\=/)
28lisp=.
29
30# You can specify a different executable on the make command line,
31# e.g. "make EMACS=../src/emacs ...".
32
33EMACS = ..\bin\emacs.exe
34
35# Command line flags for Emacs. This must include --multibyte,
36# otherwise some files will not compile.
37
38EMACSOPT = -batch --no-init-file --no-site-file --multibyte
39
40lisptagsfiles1 = $(lisp)/*.el
41lisptagsfiles2 = $(lisp)/*/*.el
42ETAGS = ..\lib-src\$(BLD)\etags
43
44# Files which should not be compiled.
45# - emacs-lisp/cl-specs.el: only contains `def-edebug-spec's so there's
46# no point compiling it, although it doesn't hurt.
47
48DONTCOMPILE = \
49 $(lisp)/cus-load.el \
50 $(lisp)/cus-start.el \
51 $(lisp)/emacs-lisp/cl-specs.el \
52 $(lisp)/eshell/esh-maint.el \
53 $(lisp)/eshell/esh-groups.el \
54 $(lisp)/finder-inf.el \
55 $(lisp)/forms-d2.el \
56 $(lisp)/forms-pass.el \
57 $(lisp)/generic-x.el \
58 $(lisp)/international/latin-1.el \
59 $(lisp)/international/latin-2.el \
60 $(lisp)/international/latin-3.el \
61 $(lisp)/international/latin-4.el \
62 $(lisp)/international/latin-5.el \
63 $(lisp)/international/latin-8.el \
64 $(lisp)/international/latin-9.el \
65 $(lisp)/international/mule-conf.el \
66 $(lisp)/loaddefs.el \
67 $(lisp)/loadup.el \
68 $(lisp)/mail/blessmail.el \
69 $(lisp)/patcomp.el \
70 $(lisp)/paths.el \
71 $(lisp)/play/bruce.el \
72 $(lisp)/subdirs.el \
73 $(lisp)/term/internal.el \
74 $(lisp)/term/AT386.el \
75 $(lisp)/term/apollo.el \
76 $(lisp)/term/bobcat.el \
77 $(lisp)/term/iris-ansi.el \
78 $(lisp)/term/keyswap.el \
79 $(lisp)/term/linux.el \
80 $(lisp)/term/lk201.el \
81 $(lisp)/term/news.el \
82 $(lisp)/term/vt102.el \
83 $(lisp)/term/vt125.el \
84 $(lisp)/term/vt200.el \
85 $(lisp)/term/vt201.el \
86 $(lisp)/term/vt220.el \
87 $(lisp)/term/vt240.el \
88 $(lisp)/term/vt300.el \
89 $(lisp)/term/vt320.el \
90 $(lisp)/term/vt400.el \
91 $(lisp)/term/vt420.el \
92 $(lisp)/term/wyse50.el \
93 $(lisp)/term/xterm.el \
94 $(lisp)/version.el
95
96# Files to compile before others during a bootstrap. This is done
97# to speed up the bootstrap process.
98
99COMPILE_FIRST = \
100 $(lisp)/emacs-lisp/byte-opt.el \
101 $(lisp)/emacs-lisp/bytecomp.el \
102 $(lisp)/subr.el
103
104# The actual Emacs command run in the targets below.
105
106emacs = $(EMACS) $(EMACSOPT)
107
108# Common command to find subdirectories
109
110# setwins=subdirs=`find $$wd -type d -print`; \
111# for file in $$subdirs; do \
112# case $$file in */Old | */RCS | */CVS | */CVS/* | */=* ) ;; \
113# *) wins="$$wins $$file" ;; \
114# esac; \
115# done
116
117# Have to define the list of subdirs manually
118WINS=\
119 calendar \
120 emacs-lisp \
121 emulation \
122 eshell \
123 gnus \
124 international \
125 language \
126 mail \
127 mh-e \
128 net \
129 play \
130 progmodes \
131 term \
132 textmodes
133
134doit:
135
136cus-load.el:
137 touch $@
138custom-deps: cus-load.el doit
139 @echo Directories: $(WINS)
140 $(emacs) -l cus-dep --eval "(setq find-file-hooks nil)" -f custom-make-dependencies $(lisp) $(WINS)
141
142finder-inf.el:
143 echo (provide 'finder-inf)>> $@
144
145finder-data: finder-inf.el doit
146 @echo Directories: $(WINS)
147 $(emacs) -l finder -f finder-compile-keywords-make-dist $(lisp) $(WINS)
148
149loaddefs.el:
150 echo ;;; loaddefs.el --- automatically extracted autoloads> $@
151 echo ;;; Code:>> $@
152 echo >> $@
153 echo ;;; Local Variables:>> $@
154 echo ;;; version-control: never>> $@
155 echo ;;; no-byte-compile: t>> $@
156 echo ;;; no-update-autoloads: t>> $@
157 echo ;;; End:>> $@
158 echo ;;; loaddefs.el ends here>> $@
159
160autoloads: loaddefs.el doit
161 @echo Directories: $(WINS)
162 $(emacs) -l autoload --eval "(setq find-file-hooks nil generated-autoload-file \"$(lisp)/loaddefs.el\")" -f batch-update-autoloads $(lisp) $(WINS)
163
164subdirs.el:
165 $(MAKE) $(MFLAGS) -f makefile.nt update-subdirs
166update-subdirs: doit
167 @set QWINS=
168 @for %d in ($(WINS)) do if not (%d)==(term) set QWINS=%QWINS% "%d"
169 echo ;; In load-path, after this directory should come> subdirs.el
170 echo ;; certain of its subdirectories. Here we specify them.>> subdirs.el
171 echo (normal-top-level-add-to-load-path '(%QWINS%))>> subdirs.el
172
173updates: update-subdirs autoloads finder-data custom-deps
174
175TAGS: $(lisptagsfiles1) $(lisptagsfiles2)
176 $(ETAGS) $(lisptagsfiles1) $(lisptagsfiles2)
177
178TAGS-LISP: $(lispsource)$(lisptagsfiles1) $(lispsource)$(lisptagsfiles2)
179 $(ETAGS) -o TAGS-LISP $(lispsource)$(lisptagsfiles1) $(lispsource)$(lisptagsfiles2)
180
181.SUFFIXES: .elc .el
182
183.el.elc:
184 -$(emacs) -f batch-byte-compile $<
185
186$(DONTCOMPILE:.el=.elc):
187 -$(DEL) $@
188
189# Compile all Lisp files, except those from DONTCOMPILE. This
190# compiles files unconditionally. All .elc files are made writable
191# before compilation in case we checked out read-only (CVS option -r).
192# Files MUST be compiled one by one. If we compile several files in a
193# row we can't make sure that the compilation environment is clean.
194# We also set the load-path of the Emacs used for compilation to the
195# current directory and its subdirectories, to make sure require's and
196# load's in the files being compiled find the right files.
197
198compile-files: subdirs.el doit
199# -for %f in ($(lisp) $(WINS)) do for %g in (%f\*.elc) do @attrib -r %g
200 for %f in ($(COMPILE_FIRST)) do $(emacs) -f batch-byte-compile %f
201 for %f in ($(lisp) $(WINS)) do for %g in (%f/*.el) do $(emacs) -f batch-byte-compile %f/%g
202
203# Backup compiled Lisp files in elc.tar.gz. If that file already
204# exists, make a backup of it.
205
206backup-compiled-files:
207 -mv $(lisp)/elc.tar.gz $(lisp)/elc.tar.gz~
208 -tar czf $(lisp)/elc.tar.gz $(lisp)/*.elc $(lisp)/*/*.elc
209
210# Compile Lisp files, but save old compiled files first.
211
212compile: backup-compiled-files compile-files
213
214# Recompile all Lisp files which are newer than their .elc files.
215# Note that this doesn't create .elc files. It only recompiles if an
216# .elc is present.
217
218recompile: doit
219 $(emacs) -f batch-byte-recompile-directory .
220
221# Prepare a bootstrap in the lisp subdirectory. Build loaddefs.el,
222# because it's not sure it's up-to-date, and if it's not, that might
223# lead to errors during the bootstrap because something fails to
224# autoload as expected. Remove compiled Lisp files so that
225# bootstrap-emacs will be built from sources only.
226
227bootstrap-clean:
228 if exist $(EMACS) $(MAKE) $(MFLAGS) -f makefile.nt autoloads
229 -for %f in ($(lisp) $(WINS)) do for %g in (%f\*.elc) do @$(DEL) %g
230
231# Generate/update files for the bootstrap process.
232
233bootstrap: autoloads compile-files custom-deps
234
235#
236# Assuming INSTALL_DIR is defined, copy the elisp files to it
237# Windows 95 makes this harder than it should be.
238#
239install:
240 - mkdir $(INSTALL_DIR)\lisp
241 - $(DEL) .\same-dir.tst
242 - $(DEL) $(INSTALL_DIR)\lisp\same-dir.tst
243 echo SameDirTest > $(INSTALL_DIR)\lisp\same-dir.tst
244!ifdef COPY_LISP_SOURCE
245 if not exist .\same-dir.tst $(CP_DIR) . $(INSTALL_DIR)\lisp
246!else
247 if not exist .\same-dir.tst $(CP_DIR) *.elc $(INSTALL_DIR)\lisp
248 if not exist .\same-dir.tst $(CP) cus-load.el $(INSTALL_DIR)\lisp
249 if not exist .\same-dir.tst $(CP) cus-start.el $(INSTALL_DIR)\lisp
250 if not exist .\same-dir.tst $(CP) emacs-lisp\cl-specs.el $(INSTALL_DIR)\lisp\emacs-lisp
251 if not exist .\same-dir.tst $(CP) eshell\esh-maint.el $(INSTALL_DIR)\lisp\eshell
252 if not exist .\same-dir.tst $(CP) eshell\esh-groups.el $(INSTALL_DIR)\lisp\eshell
253 if not exist .\same-dir.tst $(CP) finder-inf.el $(INSTALL_DIR)\lisp
254 if not exist .\same-dir.tst $(CP) forms*.el $(INSTALL_DIR)\lisp
255 if not exist .\same-dir.tst $(CP) generic-x.el $(INSTALL_DIR)\lisp
256 if not exist .\same-dir.tst $(CP) patcomp.el $(INSTALL_DIR)\lisp
257 if not exist .\same-dir.tst $(CP) subdirs.el $(INSTALL_DIR)\lisp
258 if not exist .\same-dir.tst $(CP) version.el $(INSTALL_DIR)\lisp
259 if not exist .\same-dir.tst $(CP) mail\blessmail.el $(INSTALL_DIR)\lisp\mail
260 if not exist .\same-dir.tst $(CP) play\bruce.el $(INSTALL_DIR)\lisp\play
261 if not exist .\same-dir.tst $(CP) international\latin-*.el $(INSTALL_DIR)\lisp\international
262 if not exist .\same-dir.tst $(CP) international\mule-conf.el $(INSTALL_DIR)\lisp\international
263 - $(DEL) $(INSTALL_DIR)\lisp\same-dir.tst
264!endif
265
266#
267# Maintenance
268#
269clean:
270 - $(DEL) *~ term\*~
271 - $(DEL) *.orig *.rej *.crlf
272 - $(DEL) emacs-lisp\*.orig emacs-lisp\*.rej emacs-lisp\*.crlf
273 - $(DEL) emulation\*.orig emulation\*.rej emulation\*.crlf
274 - $(DEL) gnus\*.orig gnus\*.rej gnus\*.crlf
275 - $(DEL) international\*.orig international\*.rej international\*.crlf
276 - $(DEL) language\*.orig language\*.rej language\*.crlf
277 - $(DEL) mail\*.orig mail\*.rej mail\*.crlf
278 - $(DEL) play\*.orig play\*.rej play\*.crlf
279 - $(DEL) progmodes\*.orig progmodes\*.rej progmodes\*.crlf
280 - $(DEL) term\*.orig term\*.rej term\*.crlf
281 - $(DEL) textmodes\*.orig textmodes\*.rej textmodes\*.crlf
282 - $(DEL_TREE) deleted
283
284# arch-tag: 01ddeb44-fb4c-4366-8478-4a6c21a68fb3
diff --git a/nt/ChangeLog b/nt/ChangeLog
index ba8bfce157d..73d4f6ee5d1 100644
--- a/nt/ChangeLog
+++ b/nt/ChangeLog
@@ -1,5 +1,10 @@
12004-05-03 Jason Rumney <jasonr@gnu.org> 12004-05-03 Jason Rumney <jasonr@gnu.org>
2 2
3 * makefile.nt, ebuild.bat, install.bat, fast-install.bat:
4 * makefile.def: Remove.
5
6 * nmake.defs (SYS_LDFLAGS): Add -nologo
7
3 * makefile.w32-in (info-gmake, info-nmake): New targets. 8 * makefile.w32-in (info-gmake, info-nmake): New targets.
4 (info): Use them. 9 (info): Use them.
5 10
diff --git a/nt/ebuild.bat b/nt/ebuild.bat
deleted file mode 100755
index c7851779cc5..00000000000
--- a/nt/ebuild.bat
+++ /dev/null
@@ -1,7 +0,0 @@
1@echo off
2if (%1) == () nmake -f makefile.nt all
3if not (%1) == () nmake -f makefile.nt %1 %2 %3 %4 %5 %6 %7 %8 %9
4
5goto skipArchTag
6 arch-tag: f01be12a-fd17-448d-8275-c7f527c50a1f
7:skipArchTag
diff --git a/nt/fast-install.bat b/nt/fast-install.bat
deleted file mode 100755
index 11e969eb5a4..00000000000
--- a/nt/fast-install.bat
+++ /dev/null
@@ -1,5 +0,0 @@
1nmake -f makefile.nt fast_install
2
3goto skipArchTag
4 arch-tag: 13c64379-e658-452f-92d3-90d0f230ca70
5:skipArchTag
diff --git a/nt/install.bat b/nt/install.bat
deleted file mode 100755
index 1074c03454b..00000000000
--- a/nt/install.bat
+++ /dev/null
@@ -1,12 +0,0 @@
1@echo off
2if (%1) == (speed) set BUILD_TYPE=spd
3if (%1) == (speed) shift
4if not (%1) == () set INSTALL_DIR=%1
5if not (%1) == () shift
6nmake -f makefile.nt install %1 %2 %3 %4 %5 %6 %7 %8 %9
7set INSTALL_DIR=
8set BUILD_TYPE=
9
10goto skipArchTag
11 arch-tag: 1db5223b-8fc9-4bdb-8ad1-9e3962bf034a
12:skipArchTag
diff --git a/nt/makefile.def b/nt/makefile.def
deleted file mode 100644
index e5ca430cc39..00000000000
--- a/nt/makefile.def
+++ /dev/null
@@ -1,231 +0,0 @@
1# -*- Makefile -*- definition file for building GNU Emacs on Windows NT
2# Copyright (c) 1994-2001 Free Software Foundation, Inc.
3#
4# GNU Emacs is free software; you can redistribute it and/or modify
5# it under the terms of the GNU General Public License as published by
6# the Free Software Foundation; either version 2, or (at your option)
7# any later version.
8#
9# GNU Emacs is distributed in the hope that it will be useful,
10# but WITHOUT ANY WARRANTY; without even the implied warranty of
11# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12# GNU General Public License for more details.
13#
14# You should have received a copy of the GNU General Public License
15# along with GNU Emacs; see the file COPYING. If not, write to
16# the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
17# Boston, MA 02111-1307, USA.
18#
19# Geoff Voelker (voelker@cs.washington.edu) 9-6-94
20
21#
22# BEGIN CONFIGURATION
23#
24
25# Define the following to build the GUI version
26#
27NTGUI=1
28
29# Set INSTALL_DIR to be the directory into which you want emacs installed.
30#
31!ifndef INSTALL_DIR
32INSTALL_DIR = C:\emacs
33!endif
34
35# Define MSVCNT11 to be nonzero if you are using the MSVCNT 1.1 environment.
36# MSVCNT11 = 1
37!ifndef MSVCNT11
38MSVCNT11 = 0
39!endif
40
41#
42# END CONFIGURATION
43#
44
45#
46# Allow detection of builds with MSVC 5 or later
47#
48_NMAKE_VER_5=162
49_NMAKE_VER_4=0
50
51!IFNDEF _NMAKE_VER
52_NMAKE_VER=$(_NMAKE_VER_4)
53!ENDIF
54
55# Check that the INCLUDE and LIB environment variables are set.
56#
57!ifndef INCLUDE
58!error The INCLUDE environment variable needs to be set.
59!endif
60!ifndef LIB
61!error The LIB environment variable needs to be set.
62!endif
63
64# Determine the architecture we're running on.
65# Define ARCH for our purposes;
66# Define CPU for use by ntwin32.mak;
67# Define CONFIG_H to the appropriate config.h for the system;
68#
69!ifdef PROCESSOR_ARCHITECTURE
70# We're on Windows NT
71CPU = $(PROCESSOR_ARCHITECTURE)
72CONFIG_H = config.nt
73OS_TYPE = windowsnt
74! if "$(PROCESSOR_ARCHITECTURE)" == "x86"
75ARCH = i386
76CPU = i386
77! else
78! if "$(PROCESSOR_ARCHITECTURE)" == "MIPS"
79ARCH = mips
80! else
81! if "$(PROCESSOR_ARCHITECTURE)" == "ALPHA"
82ARCH = alpha
83! else
84! if "$(PROCESSOR_ARCHITECTURE)" == "PPC"
85ARCH = ppc
86! else
87!error Unknown architecture type "$(PROCESSOR_ARCHITECTURE)"
88! endif
89! endif
90! endif
91! endif
92!else
93# We're on Windows 95
94ARCH = i386
95CPU = i386
96CONFIG_H = config.nt
97OS_TYPE = windows95
98!endif
99
100# Include ntwin32.mak. So far, this file seems to be supported by every
101# Microsoft compiler on NT and Windows 95 and properly defines the executable
102# names and libraries necessary to build Emacs. I do not have access
103# to any other vendor compilers, so I do not know if they supply this
104# file, too. For now I'll assume that they do.
105#
106!include <ntwin32.mak>
107
108# Using cvtres is necessary on NT 3.10 and doesn't hurt on later platforms.
109CVTRES = cvtres.exe
110AR = $(implib)
111# The assignment $(CC) = $(cc) fails even though variables are case sensitive.
112LINK_TMP = $(link)
113LINK = $(LINK_TMP)
114CC_TMP = $(cc)
115CC = $(CC_TMP)
116
117# advapi32.lib is left off of $(baselibs) on NT 3.10
118!if "$(baselibs)" == "kernel32.lib "
119ADVAPI32 = advapi32.lib
120!else
121ADVAPI32 =
122!endif
123
124# Older ntwin32.mak files do not define libc; do it for them.
125!ifndef libc
126libc = libc.lib
127!endif
128
129# The base libraries for compiling Emacs on NT. With MSVC, this should
130# include oldnames.lib.
131!if $(MSVCNT11)
132BASE_LIBS = $(libc) $(baselibs) oldnames.lib
133!else
134BASE_LIBS = $(libc) $(baselibs) -nodefaultlib:oldnames.lib
135!endif
136
137# We want any debugging info in the executable.
138!if "$(LINK)" == "link32"
139SYS_LDFLAGS = -nologo
140!else
141SYS_LDFLAGS = -nologo -release -incremental:no -version:3.10
142!endif
143
144# Tag the executables to run out of the swapfile when execute off CD or network shares
145SYS_LDFLAGS = $(SYS_LDFLAGS) -swaprun:cd -swaprun:net
146
147INC = -I.
148!if "$(BUILD_TYPE)" == "spd"
149CFLAGS_COMMON = -nologo $(INC) $(ARCH_CFLAGS) $(LOCAL_FLAGS) -DWIN32_LEAN_AND_MEAN -D$(ARCH) -Fd$(BLD)\vc.pdb
150!else
151CFLAGS_COMMON = -nologo $(INC) $(ARCH_CFLAGS) $(LOCAL_FLAGS) -DWIN32_LEAN_AND_MEAN -D$(ARCH) -Fd$(BLD)\vc.pdb -DEMACSDEBUG
152!endif
153!if $(MSVCNT11)
154CFLAGS = $(CFLAGS_COMMON) -D_CRTAPI1=_cdecl
155!else
156CFLAGS = $(CFLAGS_COMMON) -D_CRTAPI1=_cdecl
157!endif
158
159!ifdef BUILD_TYPE
160OBJDIR = obj-$(BUILD_TYPE)
161!else
162OBJDIR = obj
163!endif
164$(OBJDIR):; -mkdir $(OBJDIR)
165BLD = $(OBJDIR)\$(ARCH)
166$(BLD): $(OBJDIR)
167 -mkdir $(BLD)
168
169CP = copy
170CP_DIR = xcopy /f/r/i/e/d/k
171
172!if "$(OS_TYPE)" == "windows95"
173DEL = deltree /y
174DEL_TREE = deltree /y
175!else
176DEL = del
177# NT better way of killing a deltree
178DEL_TREE = rd /s/q
179!endif
180
181# Lets us add icons to the GNU Emacs folder
182ADDPM = ..\nt\$(BLD)\addpm.exe
183
184!if "$(ARCH)" == "i386"
185!if "$(BUILD_TYPE)" == "spd"
186ARCH_CFLAGS = -nologo -D_X86_=1 -c -Zel -W2 -H63 -Oxsb2 -G6dF -Zi -Zp8
187!else
188ARCH_CFLAGS = -nologo -D_X86_=1 -c -Zel -W2 -H63 -Od -G3d -Zi -Zp8
189!endif
190ARCH_LDFLAGS = -align:0x1000 $(SYS_LDFLAGS)
191
192!else
193!if "$(ARCH)" == "mips"
194ARCH_CFLAGS = -D_MIPS_=1 -c -W2 -Zi -Od -Gt0
195ARCH_LDFLAGS = -align:0x1000 $(SYS_LDFLAGS)
196
197!else
198!if "$(ARCH)" == "alpha"
199!if "$(BUILD_TYPE)" == "spd"
200ARCH_CFLAGS = -D_ALPHA_=1 -c -Ze -Zi -W2 -Od -D__stdcall= -D__cdecl=
201!else
202ARCH_CFLAGS = -D_ALPHA_=1 -c -Ze -Zi -W2 -O1 -D__stdcall= -D__cdecl=
203!endif
204ARCH_LDFLAGS = -align:0x2000 $(SYS_LDFLAGS)
205
206!else
207!if "$(ARCH)" == "ppc"
208# These flags are a guess...if they don't work, please send me mail.
209ARCH_CFLAGS = -D_PPC_=1 -c -Ze -Zi -W2 -Od
210ARCH_LDFLAGS = -align:0x1000 $(SYS_LDFLAGS)
211
212!else
213!ERROR Unknown architecture type "$(ARCH)".
214!endif
215!endif
216!endif
217!endif
218
219#
220# If the compiler supports compiling multiple .c files to .o files at
221# one time, use this feature.
222#
223!IF ("$(_NMAKE_VER)" == "$(_NMAKE_VER_4)")
224.c{$(BLD)}.obj:
225 $(CC) $(CFLAGS) -Fo$(BLD)\ $<
226!ELSE
227.c{$(BLD)}.obj::
228 $(CC) $(CFLAGS) -Fo$(BLD)\ $<
229!ENDIF
230
231# arch-tag: a8aa26d5-5f28-4263-b42a-6f91acb7d824
diff --git a/nt/makefile.nt b/nt/makefile.nt
deleted file mode 100644
index 43060e68fdd..00000000000
--- a/nt/makefile.nt
+++ /dev/null
@@ -1,213 +0,0 @@
1# Top level -*- makefile -*- for building GNU Emacs on Windows NT
2# Copyright (c) 1993-2000 Free Software Foundation, Inc.
3#
4# This file is part of GNU Emacs.
5#
6# GNU Emacs is free software; you can redistribute it and/or modify
7# it under the terms of the GNU General Public License as published by
8# the Free Software Foundation; either version 2, or (at your option)
9# any later version.
10#
11# GNU Emacs is distributed in the hope that it will be useful,
12# but WITHOUT ANY WARRANTY; without even the implied warranty of
13# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14# GNU General Public License for more details.
15#
16# You should have received a copy of the GNU General Public License
17# along with GNU Emacs; see the file COPYING. If not, write to
18# the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
19# Boston, MA 02111-1307, USA.
20#
21# Geoff Voelker (voelker@cs.washington.edu) 11-20-93
22# 9-6-94
23!include makefile.def
24
25ALL = addpm ddeclient runemacs cmdproxy addsection preprep
26!if $(MSVCNT11)
27TRES = $(BLD)\emacs.res
28!else
29TRES = $(BLD)\emacs.rbj
30!endif
31
32addpm: $(BLD) $(BLD)\addpm.exe
33$(BLD)\addpm.obj: addpm.c
34$(BLD)\addpm.exe: $(BLD)\addpm.obj
35 $(LINK) -out:$@ -subsystem:console -entry:mainCRTStartup \
36 $(SYS_LDFLAGS) $** $(BASE_LIBS) $(ADVAPI32) user32.lib
37
38ddeclient: $(BLD) $(BLD)\ddeclient.exe
39$(BLD)\ddeclient.obj: ddeclient.c
40$(BLD)\ddeclient.exe: $(BLD)\ddeclient.obj
41 $(LINK) -out:$@ -subsystem:console -entry:mainCRTStartup \
42 $(SYS_LDFLAGS) $** $(BASE_LIBS) $(ADVAPI32) user32.lib
43
44cmdproxy: $(BLD) $(BLD)\cmdproxy.exe
45$(BLD)\cmdproxy.obj: cmdproxy.c
46$(BLD)\cmdproxy.exe: $(BLD)\cmdproxy.obj
47 $(LINK) -out:$@ -subsystem:console -entry:mainCRTStartup \
48 $(SYS_LDFLAGS) $** $(BASE_LIBS) user32.lib
49
50addsection: $(BLD) $(BLD)\addsection.exe
51$(BLD)\addsection.obj: addsection.c
52$(BLD)\addsection.exe: $(BLD)\addsection.obj
53 $(LINK) -debug:full -out:$@ -subsystem:console -entry:mainCRTStartup \
54 $(SYS_LDFLAGS) $** $(BASE_LIBS) user32.lib
55
56preprep: $(BLD) $(BLD)\preprep.exe
57$(BLD)\preprep.obj: preprep.c
58$(BLD)\preprep.exe: $(BLD)\preprep.obj
59 $(LINK) -debug:full -out:$@ -subsystem:console -entry:mainCRTStartup \
60 $(SYS_LDFLAGS) $** $(BASE_LIBS)
61
62#
63# The resource file. NT 3.10 requires the use of cvtres; even though
64# it is not necessary on later versions, it is still ok to use it.
65#
66$(TRES): emacs.rc
67 $(RC) -Fo$(BLD)\emacs.res $**
68!if !$(MSVCNT11)
69 $(CVTRES) -r -$(ARCH) -o $@ $(BLD)\emacs.res
70!endif
71
72runemacs: $(BLD) $(BLD)\runemacs.exe
73$(BLD)\runemacs.obj: runemacs.c
74$(BLD)\runemacs.exe: $(BLD)\runemacs.obj $(TRES)
75 $(LINK) -out:$@ -subsystem:windows -entry:WinMainCRTStartup \
76 $(SYS_LDFLAGS) $** $(BASE_LIBS) $(ADVAPI32) user32.lib
77
78# Since Windows 95 does not support multiple commands on one command line
79# (e.g., in for loops), we cannot use for loops any more.
80# SUBDIRS = lib-src src lisp
81
82#
83# Build emacs
84#
85BUILD_CMD = $(MAKE) $(MFLAGS) -f makefile.nt all
86all: $(BLD) $(ALL)
87 cd ..\lib-src
88 $(BUILD_CMD)
89 cd ..\src
90 $(BUILD_CMD)
91 cd ..\lisp
92 $(BUILD_CMD)
93 cd ..\leim
94 if exist makefile.nt $(BUILD_CMD)
95 cd ..\nt
96
97BOOTSTRAP_CMD = $(MAKE) $(MFLAGS) -f makefile.nt bootstrap
98bootstrap: $(BLD) $(ALL)
99 cd ..\src
100 $(BOOTSTRAP_CMD)
101 $(BOOTCLEAN_CMD)
102 cd ..\lisp
103 $(BOOTSTRAP_CMD)
104 cd ..\nt
105
106BOOTCLEAN_CMD = $(MAKE) $(MFLAGS) -f makefile.nt bootstrap-clean
107bootstrap-clean:
108 cd ..\src
109 $(BOOTCLEAN_CMD)
110 cd ..\lisp
111 $(BOOTCLEAN_CMD)
112
113$(INSTALL_DIR):
114 - mkdir $(INSTALL_DIR)
115
116$(INSTALL_DIR)\bin:
117 - mkdir $(INSTALL_DIR)\bin
118
119#
120# Build and install emacs in INSTALL_DIR
121#
122INSTALL_CMD = $(MAKE) -f makefile.nt install
123install: all $(INSTALL_DIR)
124 cd ..\lib-src
125 $(INSTALL_CMD)
126 cd ..\src
127 $(INSTALL_CMD)
128 cd ..\lisp
129 $(INSTALL_CMD)
130 cd ..\leim
131 if exist makefile.nt $(INSTALL_CMD)
132 cd ..\nt
133 - $(CP) $(BLD)\addpm.exe $(INSTALL_DIR)\bin
134 - $(CP) $(BLD)\ddeclient.exe $(INSTALL_DIR)\bin
135 - $(CP) $(BLD)\cmdproxy.exe $(INSTALL_DIR)\bin
136 - $(CP) $(BLD)\runemacs.exe $(INSTALL_DIR)\bin
137 - $(CP) ..\lib-src\fns-*.el $(INSTALL_DIR)\bin
138 - $(ADDPM) $(INSTALL_DIR)
139 - $(DEL) ..\same-dir.tst
140 - $(DEL) $(INSTALL_DIR)\same-dir.tst
141 - mkdir $(INSTALL_DIR)\etc\icons
142 - $(CP_DIR) icons $(INSTALL_DIR)\etc\icons
143 echo SameDirTest > $(INSTALL_DIR)\same-dir.tst
144 if not exist ..\same-dir.tst $(MAKE) -f makefile.nt real_install
145 - $(DEL) ..\same-dir.tst
146 - $(DEL) $(INSTALL_DIR)\same-dir.tst
147
148#
149# This installs executables from ..\bin into the installation directory
150# without building anything.
151#
152fast_install:
153 - mkdir $(INSTALL_DIR)\data
154 $(CP) ..\lib-src\DOC $(INSTALL_DIR)\etc
155 - mkdir $(INSTALL_DIR)\bin
156 - $(CP) $(BLD)\addpm.exe $(INSTALL_DIR)\bin
157 - $(CP) $(BLD)\ddeclient.exe $(INSTALL_DIR)\bin
158 - $(CP) $(BLD)\cmdproxy.exe $(INSTALL_DIR)\bin
159 - $(CP) $(BLD)\runemacs.exe $(INSTALL_DIR)\bin
160 - $(CP) ..\lib-src\fns-*.el $(INSTALL_DIR)\bin
161 - $(DEL) ..\same-dir.tst
162 - $(DEL) $(INSTALL_DIR)\same-dir.tst
163 echo SameDirTest > $(INSTALL_DIR)\same-dir.tst
164 if not exist ..\same-dir.tst $(CP) ..\bin\emacs.exe $(INSTALL_DIR)\bin
165 if not exist ..\same-dir.tst $(CP) ..\bin\etags.exe $(INSTALL_DIR)\bin
166 if not exist ..\same-dir.tst $(CP) ..\bin\ctags.exe $(INSTALL_DIR)\bin
167 if not exist ..\same-dir.tst $(MAKE) -f makefile.nt real_install
168 - $(DEL) ..\same-dir.tst
169 - $(DEL) $(INSTALL_DIR)\same-dir.tst
170
171real_install:
172 - $(DEL) ..\same-dir.tst
173 - $(DEL) $(INSTALL_DIR)\same-dir.tst
174 echo SameDirTest > $(INSTALL_DIR)\same-dir.tst
175 - mkdir $(INSTALL_DIR)\etc
176 - mkdir $(INSTALL_DIR)\info
177 - mkdir $(INSTALL_DIR)\lock
178 - mkdir $(INSTALL_DIR)\data
179 - mkdir $(INSTALL_DIR)\site-lisp
180 - mkdir $(INSTALL_DIR)\etc\icons
181 - $(CP_DIR) icons $(INSTALL_DIR)\etc\icons
182 if not exist ..\same-dir.tst $(CP_DIR) ..\etc $(INSTALL_DIR)\etc
183 if not exist ..\same-dir.tst $(CP_DIR) ..\info $(INSTALL_DIR)\info
184 - $(DEL) ..\same-dir.tst
185 - $(DEL) $(INSTALL_DIR)\same-dir.tst
186
187#
188# Maintenance
189#
190CLEAN_CMD = $(MAKE) -f makefile.nt clean
191clean:
192 - $(DEL) *~ *.pdb
193 - $(DEL) *.orig
194 - $(DEL) *.rej
195 - $(DEL) *.crlf
196 - $(DEL_TREE) deleted
197 - $(DEL_TREE) obj
198 - $(DEL_TREE) obj-spd
199 - $(DEL) ..\etc\DOC ..\etc\DOC-X
200 cd ..\lib-src
201 $(CLEAN_CMD)
202 cd ..\src
203 $(CLEAN_CMD)
204 cd ..\lisp
205 $(CLEAN_CMD)
206 cd ..\leim
207 if exist makefile.nt $(CLEAN_CMD)
208 cd ..\nt
209
210realclean: clean
211 - $(DEL_TREE) ..\bin
212
213# arch-tag: b01debf7-6859-439e-b08e-f041aa03c32f
diff --git a/nt/nmake.defs b/nt/nmake.defs
index f4239e1a415..b06dd64020f 100644
--- a/nt/nmake.defs
+++ b/nt/nmake.defs
@@ -134,7 +134,7 @@ CFLAGS = -I. -DWIN32_LEAN_AND_MEAN -D_WIN32_WINNT=0x0400 $(ARCH_CFLAGS)
134 -D_CRTAPI1=_cdecl $(DEBUG_CFLAGS) $(USER_CFLAGS) $(LOCAL_FLAGS) 134 -D_CRTAPI1=_cdecl $(DEBUG_CFLAGS) $(USER_CFLAGS) $(LOCAL_FLAGS)
135EMACS_EXTRA_C_FLAGS = 135EMACS_EXTRA_C_FLAGS =
136 136
137SYS_LDFLAGS = -release -incremental:no -version:3.10 -swaprun:cd -swaprun:net setargv.obj 137SYS_LDFLAGS = -nologo -release -incremental:no -version:3.10 -swaprun:cd -swaprun:net setargv.obj
138 138
139# see comments in allocate_heap in w32heap.c before changing any of the 139# see comments in allocate_heap in w32heap.c before changing any of the
140# -stack, -heap, or -base settings. 140# -stack, -heap, or -base settings.
diff --git a/src/ChangeLog b/src/ChangeLog
index 8f86d681f43..07a247e2fd9 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,7 @@
12004-05-03 Jason Rumney <jasonr@gnu.org>
2
3 * makefile.nt: Remove.
4
12004-05-02 Eli Zaretskii <eliz@gnu.org> 52004-05-02 Eli Zaretskii <eliz@gnu.org>
2 6
3 * syntax.h (SET_RAW_SYNTAX_ENTRY, SYNTAX_ENTRY_INT): Avoid 7 * syntax.h (SET_RAW_SYNTAX_ENTRY, SYNTAX_ENTRY_INT): Avoid
diff --git a/src/makefile.nt b/src/makefile.nt
deleted file mode 100644
index 0cf08f37105..00000000000
--- a/src/makefile.nt
+++ /dev/null
@@ -1,1232 +0,0 @@
1# Makefile for GNU Emacs on the Microsoft W32 API.
2# Copyright (c) 1992, 1993, 1994, 1995 Free Software Foundation, Inc.
3# Tim Fleehart (apollo@online.com) 17-Apr-92
4# Geoff Voelker (voelker@cs.washington.edu) 11-20-93
5#
6# This file is part of GNU Emacs.
7#
8# GNU Emacs is free software; you can redistribute it and/or modify
9# it under the terms of the GNU General Public License as published by
10# the Free Software Foundation; either version 2, or (at your option)
11# any later version.
12#
13# GNU Emacs is distributed in the hope that it will be useful,
14# but WITHOUT ANY WARRANTY; without even the implied warranty of
15# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16# GNU General Public License for more details.
17#
18# You should have received a copy of the GNU General Public License
19# along with GNU Emacs; see the file COPYING. If not, write to the
20# Free Software Foundation, Inc., 59 Temple Place - Suite 330,
21# Boston, MA 02111-1307, USA.
22#
23
24#
25# Sets up the system dependent macros.
26#
27!include ..\nt\makefile.def
28
29SUBSYSTEM=console
30
31#
32# HAVE_CONFIG_H is required by some generic gnu sources stuck into
33# the emacs source tree.
34#
35LOCAL_FLAGS = -Demacs=1 -DWINDOWSNT -DDOS_NT -DHAVE_CONFIG_H -I..\nt\inc
36!ifdef NTGUI
37LOCAL_FLAGS = $(LOCAL_FLAGS) -DHAVE_NTGUI=1
38!endif
39!ifdef USE_CRT_DLL
40LOCAL_FLAGS = $(LOCAL_FLAGS) -DUSE_CRT_DLL=1 -MD
41libc = msvcrt.lib
42LINK_FLAGS = -nodefaultlib
43!endif
44
45# From MSVC 5.0 onwards, it seem base relocation information is not included,
46# at least in release builds. We need to ensure the reloc info is included
47# in order to use the MSVC profiler.
48!IF ("$(_NMAKE_VER)" == "$(_NMAKE_VER_4)")
49EXTRA_LINK =
50!ELSE
51EXTRA_LINK = -profile
52!ENDIF
53
54EMACS = $(BLD)\emacs.exe
55TEMACS = $(BLD)\temacs.exe
56TEMACS_TMP = $(BLD)\temacs.bin
57TLIB0 = $(BLD)\temacs0.lib
58TLIB1 = $(BLD)\temacs1.lib
59TLIB2 = $(BLD)\temacs2.lib
60!IFDEF NTGUI
61TLIBW32 = $(BLD)\temacw32.lib
62!ELSE
63TLIBW32 =
64!ENDIF
65TOBJ = $(BLD)\firstfile.obj
66!if $(MSVCNT11)
67TRES = $(BLD)\emacs.res
68!else
69TRES = $(BLD)\emacs.rbj
70!endif
71TLASTLIB = $(BLD)\lastfile.lib
72
73# see comments in allocate_heap in w32heap.c before changing any of the
74# -stack, -heap, or -base settings.
75!if "$(BUILD_TYPE)" == "spd"
76LINK_FLAGS = $(LINK_FLAGS) $(ARCH_LDFLAGS) -stack:0x00800000 -heap:0x00100000 -base:0x01000000 -debug:full -debugtype:both -pdb:$(BLD)\temacs.pdb -machine:$(ARCH) -subsystem:$(SUBSYSTEM) -entry:_start -map:$(BLD)\temacs.map -swaprun:net -swaprun:cd
77!else
78LINK_FLAGS = $(LINK_FLAGS) $(ARCH_LDFLAGS) -stack:0x00800000 -heap:0x00100000 -base:0x01000000 -debug:full -debugtype:both -pdb:none -machine:$(ARCH) -subsystem:$(SUBSYSTEM) -entry:_start -map:$(BLD)\temacs.map -swaprun:net -swaprun:cd $(EXTRA_LINK)
79!endif
80
81#
82# Split up the objects into two sets so that we don't run out of
83# command line space when we link them into a library.
84#
85# Put emacs.obj in a separate lib, since we need to have firstfile.obj
86# as the "main" object file when linking.
87#
88OBJ0 = $(BLD)\emacs.obj
89
90OBJ1 = $(BLD)\abbrev.obj \
91 $(BLD)\alloc.obj \
92 $(BLD)\alloca.obj \
93 $(BLD)\atimer.obj \
94 $(BLD)\buffer.obj \
95 $(BLD)\bytecode.obj \
96 $(BLD)\callint.obj \
97 $(BLD)\callproc.obj \
98 $(BLD)\casefiddle.obj \
99 $(BLD)\cm.obj \
100 $(BLD)\cmds.obj \
101 $(BLD)\data.obj \
102 $(BLD)\dired.obj \
103 $(BLD)\dispnew.obj \
104 $(BLD)\doc.obj \
105 $(BLD)\doprnt.obj \
106 $(BLD)\editfns.obj \
107 $(BLD)\eval.obj \
108 $(BLD)\fileio.obj \
109 $(BLD)\filelock.obj \
110 $(BLD)\filemode.obj \
111 $(BLD)\fns.obj \
112 $(BLD)\indent.obj \
113 $(BLD)\insdel.obj \
114 $(BLD)\keyboard.obj \
115 $(BLD)\keymap.obj \
116 $(BLD)\lread.obj \
117 $(BLD)\macros.obj \
118 $(BLD)\marker.obj \
119 $(BLD)\md5.obj \
120 $(BLD)\minibuf.obj
121
122OBJ2 = $(BLD)\w32.obj \
123 $(BLD)\w32heap.obj \
124 $(BLD)\w32inevt.obj \
125 $(BLD)\w32proc.obj \
126 $(BLD)\w32console.obj \
127 $(BLD)\print.obj \
128 $(BLD)\process.obj \
129 $(BLD)\regex.obj \
130 $(BLD)\scroll.obj \
131 $(BLD)\search.obj \
132 $(BLD)\syntax.obj \
133 $(BLD)\sysdep.obj \
134 $(BLD)\term.obj \
135 $(BLD)\termcap.obj \
136 $(BLD)\tparam.obj \
137 $(BLD)\undo.obj \
138 $(BLD)\unexw32.obj \
139 $(BLD)\window.obj \
140 $(BLD)\xdisp.obj \
141 $(BLD)\casetab.obj \
142 $(BLD)\floatfns.obj \
143 $(BLD)\frame.obj \
144 $(BLD)\gmalloc.obj \
145 $(BLD)\intervals.obj \
146 $(BLD)\composite.obj \
147 $(BLD)\ralloc.obj \
148 $(BLD)\textprop.obj \
149 $(BLD)\vm-limit.obj \
150 $(BLD)\region-cache.obj \
151 $(BLD)\strftime.obj \
152 $(BLD)\charset.obj \
153 $(BLD)\coding.obj \
154 $(BLD)\category.obj \
155 $(BLD)\ccl.obj \
156 $(BLD)\fontset.obj
157
158WIN32OBJ = $(BLD)\w32term.obj \
159 $(BLD)\w32xfns.obj \
160 $(BLD)\w32fns.obj \
161 $(BLD)\xfaces.obj \
162 $(BLD)\w32select.obj \
163 $(BLD)\w32menu.obj \
164 $(BLD)\w32reg.obj \
165 $(BLD)\w32bdf.obj
166
167LIBS = $(TLIB0) \
168 $(TLIB1) \
169 $(TLIB2) \
170!IFDEF NTGUI
171 $(TLIBW32) \
172!ENDIF
173 $(TLASTLIB) \
174!IFDEF NTGUI
175 gdi32.lib \
176 comdlg32.lib \
177!ENDIF
178# libcmt.lib \
179 $(BASE_LIBS) \
180 $(ADVAPI32) \
181 user32.lib \
182 mpr.lib \
183 shell32.lib \
184 setargv.obj
185
186#
187# Build the executable and dump it.
188#
189all: $(BLD) $(EMACS)
190
191#
192# Headers we would preprocess if we could.
193#
194PREPARED_HEADERS = config.h epaths.h
195config.h: ..\nt\$(CONFIG_H)
196 $(CP) $** $@
197epaths.h: ..\nt\paths.h
198 $(CP) $** $@
199
200#
201# Make sure we have the DOC file in the right place.
202#
203DOC = $(OBJDIR)\etc\DOC-X
204$(DOC):; cd ..\lib-src
205 - $(DEL) DOC-X
206 $(MAKE) $(MFLAGS) -f makefile.nt all
207 cd ..\src
208
209#
210# The dumped executable
211#
212emacs: $(EMACS)
213$(EMACS): $(DOC) $(TEMACS)
214 $(MAKEDIR)\$(BLD)\temacs.exe -batch -l loadup dump
215
216#
217# The undumped executable
218# Note the extra post-link step to insert a static preload heap section.
219# If preload runs out of memory, increase the last argument to addsection
220# (it is the preload heap size in MB).
221#
222temacs: $(BLD) $(TEMACS)
223$(TEMACS): $(PREPARED_HEADERS) $(TLIB0) $(TLIB1) $(TLIB2) $(TLIBW32) $(TLASTLIB) $(TOBJ) $(TRES)
224 $(LINK) -out:$(TEMACS_TMP) $(LINK_FLAGS) $(TOBJ) $(TRES) $(LIBS)
225 ..\nt\$(BLD)\addsection $(TEMACS_TMP) $(TEMACS) EMHEAP 16
226
227bootstrap: bootstrap-emacs
228
229#
230# Build a temacs with a sufficiently large PURESIZE to load the
231# Lisp files from loadup.el in source form.
232#
233bootstrap-temacs: bootstrap-clean
234 $(MAKE) $(MFLAGS) -f makefile.nt temacs CFLAGS="$(CFLAGS) -DPURESIZE=5000000"
235
236#
237# Dump an Emacs executable named bootstrap-emacs containing the
238# files from loadup.el in source form.
239#
240bootstrap-emacs: bootstrap-temacs
241 $(MAKEDIR)\$(BLD)\temacs.exe -batch -l loadup bootstrap
242 - mkdir ..\bin
243 $(CP) $(EMACS) ..\bin
244
245#
246# Force recompile of files that depend on PURESIZE
247#
248bootstrap-clean:
249 - $(DEL) $(BLD)\alloc.obj
250 - $(DEL) $(BLD)\data.obj
251 - $(DEL) $(BLD)\intervals.obj
252 - $(DEL) $(BLD)\keyboard.obj
253 - $(DEL) $(BLD)\keymap.obj
254
255#
256# The resource file. NT 3.10 requires the use of cvtres; even though
257# it is not necessary on later versions, it is still ok to use it.
258#
259$(TRES): ..\nt\emacs.rc
260 $(RC) -i..\nt -Fo$(BLD)\emacs.res $**
261!if !$(MSVCNT11)
262 $(CVTRES) -r -$(ARCH) -o $@ $(BLD)\emacs.res
263!endif
264
265#
266# Build the library. Split up the build into two phases...otherwise we
267# run out of command line space.
268#
269$(TLIB0): $(OBJ0)
270 @- $(AR) -out:$@ $**
271$(TLIB1): $(OBJ1)
272 @- $(AR) -out:$@ $**
273$(TLIB2): $(OBJ2)
274 @- $(AR) -out:$@ $**
275!IFDEF NTGUI
276$(TLIBW32): $(WIN32OBJ)
277 @- $(AR) -out:$@ $**
278!ENDIF
279
280#
281# Place lastfile.obj in its own library so that it can be loaded after
282# the source libraries but before any system libraries. Doing so defines
283# the end of Emacs' data section portably across compilers and systems.
284#
285$(TLASTLIB): $(BLD)\lastfile.obj
286 @- $(AR) -out:$@ $**
287
288#
289# Assuming INSTALL_DIR is defined, build and install emacs in it.
290#
291install: all
292 - mkdir $(INSTALL_DIR)\bin
293 $(CP) $(EMACS) $(INSTALL_DIR)\bin
294
295#
296# Maintenance
297#
298clean:; - $(DEL) *~ s\*~
299 - $(DEL) *.pdb config.h epaths.h
300 - $(DEL) *.orig *.rej *.crlf
301 - $(DEL) s\*.orig s\*.rej s\*.crlf
302 - $(DEL_TREE) deleted
303 - $(DEL_TREE) obj
304 - $(DEL_TREE) obj-spd
305
306#
307# These files are the ones that compile conditionally on CANNOT_DUMP...
308# this target is mostly used for debugging.
309#
310cleandump:; cd $(BLD)
311 - $(DEL) callproc.obj data.obj dispnew.obj doc.obj editfns.obj emacs.obj lread.obj process.obj sysdep.obj term.obj w32heap.obj unexw32.obj
312 cd ..\..
313
314
315### DEPENDENCIES ###
316
317EMACS_ROOT = ..
318SRC = .
319
320$(BLD)\abbrev.obj : \
321 $(SRC)\abbrev.c \
322 $(EMACS_ROOT)\src\s\ms-w32.h \
323 $(EMACS_ROOT)\src\m\intel386.h \
324 $(EMACS_ROOT)\src\config.h \
325 $(SRC)\commands.h \
326 $(SRC)\buffer.h \
327 $(SRC)\window.h
328
329$(BLD)\alloc.obj : \
330 $(SRC)\alloc.c \
331 $(EMACS_ROOT)\src\s\ms-w32.h \
332 $(EMACS_ROOT)\src\m\intel386.h \
333 $(EMACS_ROOT)\src\config.h \
334 $(SRC)\dispextern.h \
335 $(SRC)\w32gui.h \
336 $(SRC)\intervals.h \
337 $(SRC)\composite.h \
338 $(SRC)\puresize.h \
339 $(SRC)\buffer.h \
340 $(SRC)\window.h \
341 $(SRC)\frame.h \
342 $(SRC)\blockinput.h \
343 $(SRC)\syssignal.h
344
345$(BLD)\alloca.obj : \
346 $(SRC)\alloca.c \
347 $(EMACS_ROOT)\src\s\ms-w32.h \
348 $(EMACS_ROOT)\src\m\intel386.h \
349 $(EMACS_ROOT)\src\config.h \
350 $(SRC)\s\ms-w32.h \
351 $(SRC)\m\intel386.h \
352 $(SRC)\config.h \
353 $(SRC)\blockinput.h
354
355$(BLD)\atimer.obj : \
356 $(SRC)\atimer.c \
357 $(EMACS_ROOT)\src\s\ms-w32.h \
358 $(EMACS_ROOT)\src\m\intel386.h \
359 $(EMACS_ROOT)\src\config.h \
360 $(SRC)\s\ms-w32.h \
361 $(SRC)\m\intel386.h \
362 $(SRC)\config.h \
363 $(SRC)\atimer.h \
364 $(SRC)\syssignal.h \
365 $(SRC)\systime.h \
366 $(SRC)\blockinput.h
367
368$(BLD)\buffer.obj : \
369 $(SRC)\buffer.c \
370 $(EMACS_ROOT)\nt\inc\sys\param.h \
371 $(EMACS_ROOT)\src\s\ms-w32.h \
372 $(EMACS_ROOT)\src\m\intel386.h \
373 $(EMACS_ROOT)\src\config.h \
374 $(SRC)\dispextern.h \
375 $(SRC)\w32gui.h \
376 $(SRC)\intervals.h \
377 $(SRC)\composite.h \
378 $(SRC)\frame.h \
379 $(SRC)\window.h \
380 $(SRC)\commands.h \
381 $(SRC)\buffer.h \
382 $(SRC)\indent.h \
383 $(SRC)\blockinput.h \
384 $(SRC)\region-cache.h
385
386$(BLD)\bytecode.obj : \
387 $(SRC)\bytecode.c \
388 $(EMACS_ROOT)\src\s\ms-w32.h \
389 $(EMACS_ROOT)\src\m\intel386.h \
390 $(EMACS_ROOT)\src\config.h \
391 $(SRC)\buffer.h \
392 $(SRC)\syntax.h
393
394$(BLD)\callint.obj : \
395 $(SRC)\callint.c \
396 $(EMACS_ROOT)\src\s\ms-w32.h \
397 $(EMACS_ROOT)\src\m\intel386.h \
398 $(EMACS_ROOT)\src\config.h \
399 $(SRC)\buffer.h \
400 $(SRC)\commands.h \
401 $(SRC)\keyboard.h \
402 $(SRC)\window.h
403
404$(BLD)\callproc.obj : \
405 $(SRC)\callproc.c \
406 $(EMACS_ROOT)\src\s\ms-w32.h \
407 $(EMACS_ROOT)\src\m\intel386.h \
408 $(EMACS_ROOT)\src\config.h \
409 $(SRC)\msdos.h \
410 $(EMACS_ROOT)\nt\inc\sys\param.h \
411 $(SRC)\commands.h \
412 $(SRC)\buffer.h \
413 $(SRC)\process.h \
414 $(SRC)\syssignal.h \
415 $(EMACS_ROOT)\nt\inc\sys\ioctl.h \
416 $(EMACS_ROOT)\nt\inc\sys\file.h \
417 $(SRC)\systty.h
418
419$(BLD)\casefiddle.obj : \
420 $(SRC)\casefiddle.c \
421 $(EMACS_ROOT)\src\s\ms-w32.h \
422 $(EMACS_ROOT)\src\m\intel386.h \
423 $(EMACS_ROOT)\src\config.h \
424 $(SRC)\buffer.h \
425 $(SRC)\commands.h \
426 $(SRC)\syntax.h
427 $(CC) $(CFLAGS) -Fo$@ casefiddle.c
428
429$(BLD)\casetab.obj : \
430 $(SRC)\casetab.c \
431 $(EMACS_ROOT)\src\s\ms-w32.h \
432 $(EMACS_ROOT)\src\m\intel386.h \
433 $(EMACS_ROOT)\src\config.h \
434 $(SRC)\buffer.h
435
436$(BLD)\cm.obj : \
437 $(SRC)\cm.c \
438 $(EMACS_ROOT)\src\s\ms-w32.h \
439 $(EMACS_ROOT)\src\m\intel386.h \
440 $(EMACS_ROOT)\src\config.h \
441 $(SRC)\cm.h \
442 $(SRC)\termhooks.h
443
444$(BLD)\cmds.obj : \
445 $(SRC)\cmds.c \
446 $(EMACS_ROOT)\src\s\ms-w32.h \
447 $(EMACS_ROOT)\src\m\intel386.h \
448 $(EMACS_ROOT)\src\config.h \
449 $(SRC)\commands.h \
450 $(SRC)\buffer.h \
451 $(SRC)\syntax.h
452
453$(BLD)\composite.obj : \
454 $(SRC)\composite.c \
455 $(SRC)\buffer.h \
456 $(SRC)\charset.h \
457 $(SRC)\intervals.h \
458 $(SRC)\composite.h \
459 $(EMACS_ROOT)\src\s\ms-w32.h \
460 $(EMACS_ROOT)\src\m\intel386.h \
461 $(EMACS_ROOT)\src\config.h
462
463$(BLD)\data.obj : \
464 $(SRC)\data.c \
465 $(EMACS_ROOT)\src\s\ms-w32.h \
466 $(EMACS_ROOT)\src\m\intel386.h \
467 $(EMACS_ROOT)\src\config.h \
468 $(SRC)\puresize.h \
469 $(SRC)\buffer.h \
470 $(SRC)\syssignal.h
471
472$(BLD)\dired.obj : \
473 $(SRC)\dired.c \
474 $(EMACS_ROOT)\src\s\ms-w32.h \
475 $(EMACS_ROOT)\src\m\intel386.h \
476 $(EMACS_ROOT)\src\config.h \
477 $(SRC)\ndir.h \
478 $(SRC)\buffer.h \
479 $(SRC)\commands.h \
480 $(SRC)\regex.h
481
482$(BLD)\dispnew.obj : \
483 $(SRC)\dispnew.c \
484 $(EMACS_ROOT)\src\s\ms-w32.h \
485 $(EMACS_ROOT)\src\m\intel386.h \
486 $(EMACS_ROOT)\src\config.h \
487 $(SRC)\termchar.h \
488 $(SRC)\termopts.h \
489 $(SRC)\termhooks.h \
490 $(SRC)\cm.h \
491 $(SRC)\buffer.h \
492 $(SRC)\frame.h \
493 $(SRC)\window.h \
494 $(SRC)\commands.h \
495 $(SRC)\disptab.h \
496 $(SRC)\indent.h \
497 $(SRC)\dispextern.h \
498 $(SRC)\intervals.h \
499 $(SRC)\composite.h \
500 $(EMACS_ROOT)\nt\inc\sys\ioctl.h \
501 $(EMACS_ROOT)\nt\inc\sys\file.h \
502 $(SRC)\systty.h \
503 $(SRC)\w32term.h \
504 $(SRC)\w32gui.h \
505 $(SRC)\xterm.h \
506 $(SRC)\systime.h
507
508$(BLD)\doc.obj : \
509 $(SRC)\doc.c \
510 $(EMACS_ROOT)\src\s\ms-w32.h \
511 $(EMACS_ROOT)\src\m\intel386.h \
512 $(EMACS_ROOT)\src\config.h \
513 $(EMACS_ROOT)\nt\inc\sys\file.h \
514 $(SRC)\buffer.h \
515 $(SRC)\keyboard.h
516
517$(BLD)\doprnt.obj : \
518 $(SRC)\doprnt.c \
519 $(EMACS_ROOT)\src\s\ms-w32.h \
520 $(EMACS_ROOT)\src\m\intel386.h \
521 $(EMACS_ROOT)\src\config.h
522
523$(BLD)\dosfns.obj : \
524 $(SRC)\dosfns.c \
525 $(EMACS_ROOT)\src\s\ms-w32.h \
526 $(EMACS_ROOT)\src\m\intel386.h \
527 $(EMACS_ROOT)\src\config.h \
528 $(SRC)\buffer.h \
529 $(SRC)\termchar.h \
530 $(SRC)\termhooks.h \
531 $(SRC)\frame.h \
532 $(SRC)\dosfns.h \
533 $(SRC)\msdos.h
534
535$(BLD)\editfns.obj : \
536 $(SRC)\editfns.c \
537 $(EMACS_ROOT)\src\s\ms-w32.h \
538 $(EMACS_ROOT)\src\m\intel386.h \
539 $(EMACS_ROOT)\src\config.h \
540 $(SRC)\uaf.h \
541 $(EMACS_ROOT)\nt\inc\pwd.h \
542 $(SRC)\dispextern.h \
543 $(SRC)\w32gui.h \
544 $(SRC)\intervals.h \
545 $(SRC)\composite.h \
546 $(SRC)\buffer.h \
547 $(SRC)\window.h \
548 $(SRC)\systime.h
549
550$(BLD)\emacs.obj : \
551 $(SRC)\emacs.c \
552 $(EMACS_ROOT)\src\s\ms-w32.h \
553 $(EMACS_ROOT)\src\m\intel386.h \
554 $(EMACS_ROOT)\src\config.h \
555 $(SRC)\commands.h \
556 $(SRC)\dispextern.h \
557 $(SRC)\w32gui.h \
558 $(SRC)\intervals.h \
559 $(SRC)\composite.h \
560 $(EMACS_ROOT)\nt\inc\sys\ioctl.h \
561 $(EMACS_ROOT)\nt\inc\sys\file.h \
562 $(SRC)\systty.h \
563 $(SRC)\syssignal.h \
564 $(SRC)\process.h
565
566$(BLD)\eval.obj : \
567 $(SRC)\eval.c \
568 $(EMACS_ROOT)\src\s\ms-w32.h \
569 $(EMACS_ROOT)\src\m\intel386.h \
570 $(EMACS_ROOT)\src\config.h \
571 $(SRC)\blockinput.h \
572 $(SRC)\commands.h \
573 $(SRC)\keyboard.h
574
575$(BLD)\fileio.obj : \
576 $(SRC)\fileio.c \
577 $(EMACS_ROOT)\src\s\ms-w32.h \
578 $(EMACS_ROOT)\src\m\intel386.h \
579 $(EMACS_ROOT)\src\config.h \
580 $(SRC)\uaf.h \
581 $(EMACS_ROOT)\nt\inc\pwd.h \
582 $(SRC)\msdos.h \
583 $(EMACS_ROOT)\nt\inc\sys\param.h \
584 $(SRC)\dispextern.h \
585 $(SRC)\w32gui.h \
586 $(SRC)\intervals.h \
587 $(SRC)\composite.h \
588 $(SRC)\buffer.h \
589 $(SRC)\window.h \
590 $(EMACS_ROOT)\nt\inc\sys\file.h \
591 $(SRC)\systime.h
592
593$(BLD)\filelock.obj : \
594 $(SRC)\filelock.c \
595 $(EMACS_ROOT)\src\s\ms-w32.h \
596 $(EMACS_ROOT)\src\m\intel386.h \
597 $(EMACS_ROOT)\src\config.h \
598 $(SRC)\uaf.h \
599 $(EMACS_ROOT)\nt\inc\pwd.h \
600 $(EMACS_ROOT)\nt\inc\sys\file.h \
601 $(EMACS_ROOT)\src\epaths.h \
602 $(SRC)\buffer.h \
603 $(SRC)\ndir.h
604
605$(BLD)\filemode.obj : \
606 $(SRC)\filemode.c \
607 $(EMACS_ROOT)\src\s\ms-w32.h \
608 $(EMACS_ROOT)\src\m\intel386.h \
609 $(EMACS_ROOT)\src\config.h \
610 $(SRC)\s\ms-w32.h \
611 $(SRC)\m\intel386.h \
612 $(SRC)\config.h
613
614$(BLD)\firstfile.obj : \
615 $(SRC)\firstfile.c \
616 $(EMACS_ROOT)\src\s\ms-w32.h \
617 $(EMACS_ROOT)\src\m\intel386.h \
618 $(EMACS_ROOT)\src\config.h
619
620$(BLD)\floatfns.obj : \
621 $(SRC)\floatfns.c \
622 $(EMACS_ROOT)\src\s\ms-w32.h \
623 $(EMACS_ROOT)\src\m\intel386.h \
624 $(EMACS_ROOT)\src\config.h \
625 $(SRC)\syssignal.h
626
627$(BLD)\fns.obj : \
628 $(SRC)\fns.c \
629 $(EMACS_ROOT)\src\s\ms-w32.h \
630 $(EMACS_ROOT)\src\m\intel386.h \
631 $(EMACS_ROOT)\src\config.h \
632 $(SRC)\commands.h \
633 $(SRC)\buffer.h \
634 $(SRC)\keyboard.h \
635 $(SRC)\dispextern.h \
636 $(SRC)\w32gui.h \
637 $(SRC)\intervals.h \
638 $(SRC)\composite.h \
639 $(SRC)\md5.h
640
641$(BLD)\frame.obj : \
642 $(SRC)\frame.c \
643 $(EMACS_ROOT)\src\s\ms-w32.h \
644 $(EMACS_ROOT)\src\m\intel386.h \
645 $(EMACS_ROOT)\src\config.h \
646 $(SRC)\frame.h \
647 $(SRC)\termhooks.h \
648 $(SRC)\window.h \
649 $(SRC)\buffer.h \
650 $(SRC)\commands.h \
651 $(SRC)\keyboard.h
652
653$(BLD)\getloadavg.obj : \
654 $(SRC)\getloadavg.c \
655 $(EMACS_ROOT)\nt\inc\sys\param.h \
656 $(EMACS_ROOT)\src\s\ms-w32.h \
657 $(EMACS_ROOT)\src\m\intel386.h \
658 $(EMACS_ROOT)\src\config.h \
659 $(SRC)\s\ms-w32.h \
660 $(SRC)\m\intel386.h \
661 $(SRC)\config.h \
662 $(EMACS_ROOT)\nt\inc\sys\file.h
663
664$(BLD)\gmalloc.obj : \
665 $(SRC)\gmalloc.c \
666 $(EMACS_ROOT)\src\s\ms-w32.h \
667 $(EMACS_ROOT)\src\m\intel386.h \
668 $(EMACS_ROOT)\src\config.h \
669 $(EMACS_ROOT)\nt\inc\sys\param.h \
670 $(SRC)\getpagesize.h
671 $(CC) $(CFLAGS) -D__STDC__ -Fo$@ gmalloc.c
672
673$(BLD)\hftctl.obj : \
674 $(SRC)\hftctl.c \
675 $(EMACS_ROOT)\src\s\ms-w32.h \
676 $(EMACS_ROOT)\src\m\intel386.h \
677 $(EMACS_ROOT)\src\config.h \
678 $(EMACS_ROOT)\nt\inc\sys\ioctl.h
679
680$(BLD)\indent.obj : \
681 $(SRC)\indent.c \
682 $(EMACS_ROOT)\src\s\ms-w32.h \
683 $(EMACS_ROOT)\src\m\intel386.h \
684 $(EMACS_ROOT)\src\config.h \
685 $(SRC)\buffer.h \
686 $(SRC)\indent.h \
687 $(SRC)\frame.h \
688 $(SRC)\window.h \
689 $(SRC)\termchar.h \
690 $(SRC)\termopts.h \
691 $(SRC)\disptab.h \
692 $(SRC)\dispextern.h \
693 $(SRC)\w32gui.h \
694 $(SRC)\intervals.h \
695 $(SRC)\region-cache.h \
696 $(SRC)\composite.h
697
698$(BLD)\insdel.obj : \
699 $(SRC)\insdel.c \
700 $(EMACS_ROOT)\src\s\ms-w32.h \
701 $(EMACS_ROOT)\src\m\intel386.h \
702 $(EMACS_ROOT)\src\config.h \
703 $(SRC)\dispextern.h \
704 $(SRC)\w32gui.h \
705 $(SRC)\intervals.h \
706 $(SRC)\composite.h \
707 $(SRC)\buffer.h \
708 $(SRC)\window.h \
709 $(SRC)\blockinput.h
710
711$(BLD)\intervals.obj : \
712 $(SRC)\intervals.c \
713 $(EMACS_ROOT)\src\s\ms-w32.h \
714 $(EMACS_ROOT)\src\m\intel386.h \
715 $(EMACS_ROOT)\src\config.h \
716 $(SRC)\dispextern.h \
717 $(SRC)\w32gui.h \
718 $(SRC)\intervals.h \
719 $(SRC)\composite.h \
720 $(SRC)\keyboard.h \
721 $(SRC)\buffer.h \
722 $(SRC)\puresize.h
723
724$(BLD)\keyboard.obj : \
725 $(SRC)\keyboard.c \
726 $(EMACS_ROOT)\src\s\ms-w32.h \
727 $(EMACS_ROOT)\src\m\intel386.h \
728 $(EMACS_ROOT)\src\config.h \
729 $(SRC)\termchar.h \
730 $(SRC)\termopts.h \
731 $(SRC)\termhooks.h \
732 $(SRC)\macros.h \
733 $(SRC)\frame.h \
734 $(SRC)\window.h \
735 $(SRC)\commands.h \
736 $(SRC)\buffer.h \
737 $(SRC)\disptab.h \
738 $(SRC)\keyboard.h \
739 $(SRC)\dispextern.h \
740 $(SRC)\intervals.h \
741 $(SRC)\composite.h \
742 $(SRC)\blockinput.h \
743 $(SRC)\msdos.h \
744 $(SRC)\syssignal.h \
745 $(EMACS_ROOT)\nt\inc\sys\ioctl.h \
746 $(EMACS_ROOT)\nt\inc\sys\file.h \
747 $(SRC)\systty.h \
748 $(SRC)\w32term.h \
749 $(SRC)\w32gui.h \
750 $(SRC)\xterm.h \
751 $(SRC)\systime.h \
752 $(SRC)\atimer.h
753
754$(BLD)\keymap.obj : \
755 $(SRC)\keymap.c \
756 $(EMACS_ROOT)\src\s\ms-w32.h \
757 $(EMACS_ROOT)\src\m\intel386.h \
758 $(EMACS_ROOT)\src\config.h \
759 $(SRC)\commands.h \
760 $(SRC)\buffer.h \
761 $(SRC)\keyboard.h \
762 $(SRC)\termhooks.h \
763 $(SRC)\blockinput.h
764
765$(BLD)\lastfile.obj : \
766 $(SRC)\lastfile.c \
767 $(EMACS_ROOT)\src\s\ms-w32.h \
768 $(EMACS_ROOT)\src\m\intel386.h \
769 $(EMACS_ROOT)\src\config.h
770
771$(BLD)\lread.obj : \
772 $(SRC)\lread.c \
773 $(EMACS_ROOT)\src\s\ms-w32.h \
774 $(EMACS_ROOT)\src\m\intel386.h \
775 $(EMACS_ROOT)\src\config.h \
776 $(EMACS_ROOT)\nt\inc\sys\file.h \
777 $(SRC)\buffer.h \
778 $(EMACS_ROOT)\src\epaths.h \
779 $(SRC)\commands.h \
780 $(SRC)\keyboard.h \
781 $(SRC)\termhooks.h \
782 $(SRC)\msdos.h
783
784$(BLD)\macros.obj : \
785 $(SRC)\macros.c \
786 $(EMACS_ROOT)\src\s\ms-w32.h \
787 $(EMACS_ROOT)\src\m\intel386.h \
788 $(EMACS_ROOT)\src\config.h \
789 $(SRC)\macros.h \
790 $(SRC)\commands.h \
791 $(SRC)\buffer.h \
792 $(SRC)\window.h
793
794$(BLD)\marker.obj : \
795 $(SRC)\marker.c \
796 $(EMACS_ROOT)\src\s\ms-w32.h \
797 $(EMACS_ROOT)\src\m\intel386.h \
798 $(EMACS_ROOT)\src\config.h \
799 $(SRC)\buffer.h
800
801$(BLD)\md5.obj : \
802 $(SRC)\md5.c \
803 $(SRC)\md5.h
804
805$(BLD)\minibuf.obj : \
806 $(SRC)\minibuf.c \
807 $(EMACS_ROOT)\src\s\ms-w32.h \
808 $(EMACS_ROOT)\src\m\intel386.h \
809 $(EMACS_ROOT)\src\config.h \
810 $(SRC)\commands.h \
811 $(SRC)\buffer.h \
812 $(SRC)\dispextern.h \
813 $(SRC)\w32gui.h \
814 $(SRC)\frame.h \
815 $(SRC)\window.h \
816 $(SRC)\syntax.h
817
818$(BLD)\w32.obj : \
819 $(SRC)\w32.c \
820 $(SRC)\w32.h \
821 $(SRC)\s\ms-w32.h \
822 $(SRC)\m\intel386.h \
823 $(SRC)\config.h \
824 $(EMACS_ROOT)\nt\inc\pwd.h \
825 $(SRC)\w32heap.h
826
827$(BLD)\w32heap.obj : \
828 $(SRC)\w32heap.c \
829 $(SRC)\w32heap.h \
830 $(SRC)\s\ms-w32.h \
831 $(SRC)\m\intel386.h \
832 $(SRC)\config.h
833
834$(BLD)\w32inevt.obj : \
835 $(SRC)\w32inevt.c \
836 $(SRC)\s\ms-w32.h \
837 $(SRC)\m\intel386.h \
838 $(SRC)\config.h \
839 $(SRC)\frame.h \
840 $(SRC)\blockinput.h \
841 $(SRC)\termhooks.h \
842 $(SRC)\w32heap.h \
843 $(SRC)\w32term.h \
844 $(SRC)\w32gui.h
845
846$(BLD)\w32proc.obj : \
847 $(SRC)\w32proc.c \
848 $(SRC)\s\ms-w32.h \
849 $(SRC)\m\intel386.h \
850 $(SRC)\config.h \
851 $(SRC)\w32.h \
852 $(SRC)\w32heap.h \
853 $(SRC)\systime.h
854
855$(BLD)\w32console.obj : \
856 $(SRC)\w32console.c \
857 $(SRC)\s\ms-w32.h \
858 $(SRC)\m\intel386.h \
859 $(SRC)\config.h \
860 $(SRC)\frame.h \
861 $(SRC)\disptab.h \
862 $(SRC)\termhooks.h \
863 $(SRC)\w32inevt.h
864
865$(BLD)\prefix-args.obj : \
866 $(SRC)\prefix-args.c
867
868$(BLD)\print.obj : \
869 $(SRC)\print.c \
870 $(EMACS_ROOT)\src\s\ms-w32.h \
871 $(EMACS_ROOT)\src\m\intel386.h \
872 $(EMACS_ROOT)\src\config.h \
873 $(SRC)\buffer.h \
874 $(SRC)\frame.h \
875 $(SRC)\window.h \
876 $(SRC)\process.h \
877 $(SRC)\termchar.h \
878 $(SRC)\dispextern.h \
879 $(SRC)\w32gui.h \
880 $(SRC)\intervals.h \
881 $(SRC)\composite.h
882
883$(BLD)\process.obj : \
884 $(SRC)\process.c \
885 $(EMACS_ROOT)\src\s\ms-w32.h \
886 $(EMACS_ROOT)\src\m\intel386.h \
887 $(EMACS_ROOT)\src\config.h \
888 $(EMACS_ROOT)\nt\inc\sys\ioctl.h \
889 $(EMACS_ROOT)\nt\inc\sys\file.h \
890 $(SRC)\systty.h \
891 $(SRC)\window.h \
892 $(SRC)\buffer.h \
893 $(SRC)\process.h \
894 $(SRC)\termhooks.h \
895 $(SRC)\commands.h \
896 $(SRC)\frame.h \
897 $(SRC)\syssignal.h \
898 $(SRC)\syswait.h \
899 $(SRC)\systime.h \
900 $(SRC)\termopts.h \
901 $(SRC)\composite.h \
902 $(SRC)\atimer.h
903
904$(BLD)\ralloc.obj : \
905 $(SRC)\ralloc.c \
906 $(EMACS_ROOT)\src\s\ms-w32.h \
907 $(EMACS_ROOT)\src\m\intel386.h \
908 $(EMACS_ROOT)\src\config.h \
909 $(SRC)\s\ms-w32.h \
910 $(SRC)\m\intel386.h \
911 $(SRC)\config.h \
912 $(EMACS_ROOT)\nt\inc\sys\param.h \
913 $(SRC)\getpagesize.h
914
915$(BLD)\regex.obj : \
916 $(SRC)\regex.c \
917 $(EMACS_ROOT)\src\s\ms-w32.h \
918 $(EMACS_ROOT)\src\m\intel386.h \
919 $(EMACS_ROOT)\src\config.h \
920 $(SRC)\s\ms-w32.h \
921 $(SRC)\m\intel386.h \
922 $(SRC)\config.h \
923 $(SRC)\buffer.h \
924 $(SRC)\syntax.h \
925 $(SRC)\regex.h
926
927$(BLD)\region-cache.obj : \
928 $(SRC)\region-cache.c \
929 $(EMACS_ROOT)\src\s\ms-w32.h \
930 $(EMACS_ROOT)\src\m\intel386.h \
931 $(EMACS_ROOT)\src\config.h \
932 $(SRC)\buffer.h \
933 $(SRC)\region-cache.h
934
935$(BLD)\scroll.obj : \
936 $(SRC)\scroll.c \
937 $(EMACS_ROOT)\src\s\ms-w32.h \
938 $(EMACS_ROOT)\src\m\intel386.h \
939 $(EMACS_ROOT)\src\config.h \
940 $(SRC)\termchar.h \
941 $(SRC)\dispextern.h \
942 $(SRC)\w32gui.h \
943 $(SRC)\frame.h
944
945$(BLD)\search.obj : \
946 $(SRC)\search.c \
947 $(EMACS_ROOT)\src\s\ms-w32.h \
948 $(EMACS_ROOT)\src\m\intel386.h \
949 $(EMACS_ROOT)\src\config.h \
950 $(SRC)\syntax.h \
951 $(SRC)\buffer.h \
952 $(SRC)\commands.h \
953 $(SRC)\blockinput.h \
954 $(SRC)\regex.h \
955 $(SRC)\region-cache.h \
956 $(SRC)\composite.h
957
958$(BLD)\strftime.obj : \
959 $(SRC)\strftime.c \
960 $(EMACS_ROOT)\src\s\ms-w32.h \
961 $(EMACS_ROOT)\src\m\intel386.h \
962 $(EMACS_ROOT)\src\config.h
963
964$(BLD)\syntax.obj : \
965 $(SRC)\syntax.c \
966 $(EMACS_ROOT)\src\s\ms-w32.h \
967 $(EMACS_ROOT)\src\m\intel386.h \
968 $(EMACS_ROOT)\src\config.h \
969 $(SRC)\commands.h \
970 $(SRC)\buffer.h \
971 $(SRC)\syntax.h \
972 $(SRC)\composite.h
973
974$(BLD)\sysdep.obj : \
975 $(SRC)\sysdep.c \
976 $(EMACS_ROOT)\src\s\ms-w32.h \
977 $(EMACS_ROOT)\src\m\intel386.h \
978 $(EMACS_ROOT)\src\config.h \
979 $(SRC)\blockinput.h \
980 $(SRC)\dosfns.h \
981 $(SRC)\msdos.h \
982 $(EMACS_ROOT)\nt\inc\sys\param.h \
983 $(EMACS_ROOT)\nt\inc\sys\file.h \
984 $(EMACS_ROOT)\nt\inc\sys\ioctl.h \
985 $(EMACS_ROOT)\nt\inc\sys\file.h \
986 $(SRC)\systty.h \
987 $(SRC)\syswait.h \
988 $(SRC)\frame.h \
989 $(SRC)\window.h \
990 $(SRC)\termhooks.h \
991 $(SRC)\termchar.h \
992 $(SRC)\termopts.h \
993 $(SRC)\dispextern.h \
994 $(SRC)\w32gui.h \
995 $(SRC)\process.h \
996 $(SRC)\ndir.h \
997 $(SRC)\syssignal.h \
998 $(SRC)\systime.h \
999 $(SRC)\uaf.h \
1000 $(EMACS_ROOT)\src\acldef.h \
1001 $(EMACS_ROOT)\src\chpdef.h
1002
1003$(BLD)\term.obj : \
1004 $(SRC)\term.c \
1005 $(EMACS_ROOT)\src\s\ms-w32.h \
1006 $(EMACS_ROOT)\src\m\intel386.h \
1007 $(EMACS_ROOT)\src\config.h \
1008 $(SRC)\termchar.h \
1009 $(SRC)\termopts.h \
1010 $(SRC)\cm.h \
1011 $(SRC)\frame.h \
1012 $(SRC)\disptab.h \
1013 $(SRC)/dispextern.h \
1014 $(SRC)\termhooks.h \
1015 $(SRC)\keyboard.h
1016
1017$(BLD)\termcap.obj : \
1018 $(SRC)\termcap.c \
1019 $(EMACS_ROOT)\src\s\ms-w32.h \
1020 $(EMACS_ROOT)\src\m\intel386.h \
1021 $(EMACS_ROOT)\src\config.h \
1022 $(EMACS_ROOT)\nt\inc\sys\file.h
1023
1024$(BLD)\terminfo.obj : \
1025 $(SRC)\terminfo.c
1026
1027$(BLD)\textprop.obj : \
1028 $(SRC)\textprop.c \
1029 $(EMACS_ROOT)\src\s\ms-w32.h \
1030 $(EMACS_ROOT)\src\m\intel386.h \
1031 $(EMACS_ROOT)\src\config.h \
1032 $(SRC)\dispextern.h \
1033 $(SRC)\w32gui.h \
1034 $(SRC)\intervals.h \
1035 $(SRC)\composite.h \
1036 $(SRC)\buffer.h \
1037 $(SRC)\window.h
1038
1039$(BLD)\tparam.obj : \
1040 $(SRC)\tparam.c \
1041 $(EMACS_ROOT)\src\s\ms-w32.h \
1042 $(EMACS_ROOT)\src\m\intel386.h \
1043 $(EMACS_ROOT)\src\config.h
1044
1045$(BLD)\undo.obj : \
1046 $(SRC)\undo.c \
1047 $(EMACS_ROOT)\src\s\ms-w32.h \
1048 $(EMACS_ROOT)\src\m\intel386.h \
1049 $(EMACS_ROOT)\src\config.h \
1050 $(SRC)\buffer.h \
1051 $(SRC)\commands.h
1052
1053$(BLD)\unexw32.obj : \
1054 $(SRC)\unexw32.c \
1055 $(EMACS_ROOT)\src\s\ms-w32.h \
1056 $(EMACS_ROOT)\src\m\intel386.h \
1057 $(EMACS_ROOT)\src\config.h \
1058 $(SRC)\w32heap.h
1059
1060$(BLD)\vm-limit.obj : \
1061 $(SRC)\vm-limit.c \
1062 $(EMACS_ROOT)\src\s\ms-w32.h \
1063 $(EMACS_ROOT)\src\m\intel386.h \
1064 $(EMACS_ROOT)\src\config.h \
1065 $(SRC)\mem-limits.h
1066
1067$(BLD)\widget.obj : \
1068 $(SRC)\widget.c \
1069 $(EMACS_ROOT)\src\s\ms-w32.h \
1070 $(EMACS_ROOT)\src\m\intel386.h \
1071 $(EMACS_ROOT)\src\config.h \
1072 $(SRC)\xterm.h \
1073 $(SRC)\frame.h \
1074 $(SRC)\dispextern.h \
1075 $(SRC)\w32gui.h \
1076 $(SRC)\widget.h \
1077 $(SRC)\widgetprv.h
1078
1079$(BLD)\window.obj : \
1080 $(SRC)\window.c \
1081 $(EMACS_ROOT)\src\s\ms-w32.h \
1082 $(EMACS_ROOT)\src\m\intel386.h \
1083 $(EMACS_ROOT)\src\config.h \
1084 $(SRC)\buffer.h \
1085 $(SRC)\frame.h \
1086 $(SRC)\window.h \
1087 $(SRC)\commands.h \
1088 $(SRC)\indent.h \
1089 $(SRC)\termchar.h \
1090 $(SRC)\disptab.h \
1091 $(SRC)\keyboard.h \
1092 $(SRC)\composite.h
1093
1094$(BLD)\xdisp.obj : \
1095 $(SRC)\xdisp.c \
1096 $(EMACS_ROOT)\src\s\ms-w32.h \
1097 $(EMACS_ROOT)\src\m\intel386.h \
1098 $(EMACS_ROOT)\src\config.h \
1099 $(SRC)\frame.h \
1100 $(SRC)\window.h \
1101 $(SRC)\termchar.h \
1102 $(SRC)\buffer.h \
1103 $(SRC)\indent.h \
1104 $(SRC)\commands.h \
1105 $(SRC)\macros.h \
1106 $(SRC)\disptab.h \
1107 $(SRC)\termhooks.h \
1108 $(SRC)\dispextern.h \
1109 $(SRC)\w32gui.h \
1110 $(SRC)\intervals.h \
1111 $(SRC)\composite.h
1112
1113$(BLD)\xfaces.obj: \
1114 $(EMACS_ROOT)\src\s\ms-w32.h \
1115 $(EMACS_ROOT)\src\m\intel386.h \
1116 $(EMACS_ROOT)\src\config.h \
1117 $(SRC)\xfaces.c \
1118 $(SRC)\charset.h \
1119 $(SRC)\fontset.h \
1120 $(SRC)\w32term.h \
1121 $(SRC)\w32gui.h \
1122 $(SRC)\buffer.h \
1123 $(SRC)\dispextern.h \
1124 $(SRC)\frame.h \
1125 $(SRC)\blockinput.h \
1126 $(SRC)\window.h \
1127 $(SRC)\intervals.h \
1128 $(SRC)\composite.h
1129
1130$(BLD)\w32fns.obj: \
1131 $(EMACS_ROOT)\src\s\ms-w32.h \
1132 $(EMACS_ROOT)\src\m\intel386.h \
1133 $(EMACS_ROOT)\src\config.h \
1134 $(SRC)\w32fns.c \
1135 $(SRC)\w32term.h \
1136 $(SRC)\w32gui.h \
1137 $(SRC)\frame.h \
1138 $(SRC)\window.h \
1139 $(SRC)\buffer.h \
1140 $(SRC)\charset.h \
1141 $(SRC)\coding.h \
1142 $(SRC)\dispextern.h \
1143 $(SRC)\keyboard.h \
1144 $(SRC)\blockinput.h \
1145 $(SRC)\epaths.h \
1146 $(SRC)\w32heap.h \
1147 $(SRC)\termhooks.h
1148
1149$(BLD)\w32menu.obj: \
1150 $(EMACS_ROOT)\src\s\ms-w32.h \
1151 $(EMACS_ROOT)\src\m\intel386.h \
1152 $(EMACS_ROOT)\src\config.h \
1153 $(SRC)\w32menu.c \
1154 $(SRC)\termhooks.h \
1155 $(SRC)\frame.h \
1156 $(SRC)\window.h \
1157 $(SRC)\keyboard.h \
1158 $(SRC)\blockinput.h \
1159 $(SRC)\buffer.h \
1160 $(SRC)\charset.h \
1161 $(SRC)\coding.h
1162
1163$(BLD)\w32term.obj: \
1164 $(EMACS_ROOT)\src\s\ms-w32.h \
1165 $(EMACS_ROOT)\src\m\intel386.h \
1166 $(EMACS_ROOT)\src\config.h \
1167 $(SRC)\w32term.c \
1168 $(SRC)\blockinput.h \
1169 $(SRC)\w32heap.h \
1170 $(SRC)\w32term.h \
1171 $(SRC)\w32gui.h \
1172 $(SRC)\systty.h \
1173 $(SRC)\systime.h \
1174 $(SRC)\frame.h \
1175 $(SRC)\dispextern.h \
1176 $(SRC)\termhooks.h \
1177 $(SRC)\termopts.h \
1178 $(SRC)\termchar.h \
1179 $(SRC)\gnu.h \
1180 $(SRC)\disptab.h \
1181 $(SRC)\buffer.h \
1182 $(SRC)\window.h \
1183 $(SRC)\keyboard.h \
1184 $(SRC)\intervals.h \
1185 $(SRC)\composite.h \
1186 $(SRC)\atimer.h
1187
1188$(BLD)\w32select.obj: \
1189 $(EMACS_ROOT)\src\s\ms-w32.h \
1190 $(EMACS_ROOT)\src\m\intel386.h \
1191 $(EMACS_ROOT)\src\config.h \
1192 $(SRC)\w32select.c \
1193 $(SRC)\w32term.h \
1194 $(SRC)\w32gui.h \
1195 $(SRC)\dispextern.h \
1196 $(SRC)\frame.h \
1197 $(SRC)\blockinput.h
1198
1199$(BLD)\w32reg.obj: \
1200 $(EMACS_ROOT)\src\s\ms-w32.h \
1201 $(EMACS_ROOT)\src\m\intel386.h \
1202 $(EMACS_ROOT)\src\config.h \
1203 $(SRC)\w32reg.c \
1204 $(SRC)\w32term.h \
1205 $(SRC)\w32gui.h \
1206 $(SRC)\blockinput.h
1207
1208$(BLD)\w32xfns.obj: \
1209 $(EMACS_ROOT)\src\s\ms-w32.h \
1210 $(EMACS_ROOT)\src\m\intel386.h \
1211 $(EMACS_ROOT)\src\config.h \
1212 $(SRC)\w32xfns.c \
1213
1214$(BLD)\w32bdf.obj: \
1215 $(EMACS_ROOT)\src/s\ms-w32.h \
1216 $(EMACS_ROOT)\src/m\intel386.h \
1217 $(EMACS_ROOT)\src/config.h \
1218 $(SRC)\w32bdf.c \
1219 $(SRC)\charset.h \
1220 $(SRC)\frame.h \
1221 $(SRC)\dispextern.h \
1222 $(SRC)\fontset.h \
1223 $(SRC)\blockinput.h \
1224 $(SRC)\w32gui.h \
1225 $(SRC)\w32term.h \
1226 $(SRC)\w32gui.h \
1227 $(SRC)\w32bdf.h \
1228 $(SRC)\w32.h \
1229 $(SRC)\frame.h \
1230 $(SRC)\blockinput.h
1231
1232# arch-tag: ee9a97ba-19b7-4b50-a127-aaf4efe494dc