changeset 31631:011566e20a32

Revert to Unix line endings.
author Andrew Innes <andrewi@gnu.org>
date Thu, 14 Sep 2000 21:59:59 +0000
parents 00c2dae7c604
children 2a1ade6021bf
files lib-src/makefile.w32-in lisp/makefile.w32-in nt/makefile.w32-in src/makefile.w32-in
diffstat 4 files changed, 2061 insertions(+), 2061 deletions(-) [+]
line wrap: on
line diff
--- a/lib-src/makefile.w32-in	Thu Sep 14 21:51:49 2000 +0000
+++ b/lib-src/makefile.w32-in	Thu Sep 14 21:59:59 2000 +0000
@@ -1,400 +1,400 @@
-#  Makefile for GNU Emacs lib-src directory.
-#  Copyright (C) 1994, 2000 Free Software Foundation, Inc.
-#
-#  This file is part of GNU Emacs.
-#  
-#  GNU Emacs is free software; you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2, or (at your option)
-#  any later version.
-#  
-#  GNU Emacs is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY; without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-#  GNU General Public License for more details.
-#  
-#  You should have received a copy of the GNU General Public License
-#  along with GNU Emacs; see the file COPYING.  If not, write to the
-#  Free Software Foundation, Inc., 59 Temple Place - Suite 330,
-#  Boston, MA 02111-1307, USA.
-#
-
-ALL	      = make-docfile hexl ctags etags movemail fakemail
-
-.PHONY: $(ALL)
-
-LOCAL_FLAGS	= -DWINDOWSNT -DDOS_NT -DSTDC_HEADERS=1 -DNO_LDAV=1 \
-		  -DNO_ARCHIVES=1 -DHAVE_CONFIG_H=1 -I../nt/inc -I../src
-
-# don't know what (if) to do with these yet...
-#
-#		$(BLD)/sorted-doc.exe	\
-#		$(BLD)/env.exe		\
-#		$(BLD)/server.exe	\
-#		$(BLD)/emacstool.exe	\
-#		$(BLD)/leditcfns.exe	\
-#		$(BLD)/emacsclient.exe	\
-#		$(BLD)/cvtmail.exe	\
-#		$(BLD)/digest-doc.exe	\
-#		$(BLD)/test-distrib.exe	\
-
-
-LIBS	      = $(BASE_LIBS) $(ADVAPI32)
-
-$(BLD)/make-docfile.exe: 	$(BLD)/make-docfile.$(O) $(BLD)/ntlib.$(O)
-		$(LINK) $(LINK_OUT)$@ $(LINK_FLAGS) $(BLD)/make-docfile.$(O) $(BLD)/ntlib.$(O) $(LIBS)
-$(BLD)/hexl.exe:		$(BLD)/hexl.$(O)
-		$(LINK) $(LINK_OUT)$@ $(LINK_FLAGS) $(BLD)/hexl.$(O) $(LIBS)
-$(BLD)/fakemail.exe: 		$(BLD)/fakemail.$(O) $(BLD)/ntlib.$(O)
-		$(LINK) $(LINK_OUT)$@ $(LINK_FLAGS) $(BLD)/fakemail.$(O) $(BLD)/ntlib.$(O) $(LIBS)
-
-make-docfile:	$(BLD) $(BLD)/make-docfile.exe
-ctags:		$(BLD) $(BLD)/ctags.exe
-etags:		$(BLD) $(BLD)/etags.exe
-hexl:		$(BLD) $(BLD)/hexl.exe
-movemail:	$(BLD) $(BLD)/movemail.exe
-fakemail:	$(BLD) $(BLD)/fakemail.exe
-
-GETOPTOBJS = $(BLD)/getopt.$(O) $(BLD)/getopt1.$(O)
-GETOPTDEPS = $(GETOPTOBJS) getopt.h
-MOVEMAILOBJS =  $(BLD)/movemail.$(O) \
-		$(BLD)/pop.$(O) \
-		$(BLD)/ntlib.$(O) \
-		$(GETOPTOBJS)
-
-$(BLD)/movemail.exe:	$(MOVEMAILOBJS) getopt.h
-# put wsock32.lib before $(LIBS) to ensure we don't link to ws2_32.lib
-		$(LINK) $(LINK_OUT)$@ $(LINK_FLAGS) $(MOVEMAILOBJS) $(WSOCK32) $(LIBS)
-
-ETAGSOBJ      = $(BLD)/etags.$(O) \
-		$(BLD)/getopt.$(O) \
-		$(BLD)/getopt1.$(O) \
-		$(BLD)/ntlib.$(O) \
-		$(BLD)/regex.$(O)
-
-$(BLD)/etags.exe: 	$(ETAGSOBJ)
-		$(LINK) $(LINK_OUT)$@ $(LINK_FLAGS) $(ETAGSOBJ) $(LIBS)
-
-
-$(BLD)/regex.$(O): ../src/regex.c ../src/regex.h ../src/config.h
-		$(CC)  $(CFLAGS) -DCONFIG_BROKETS -DINHIBIT_STRING_HEADER \
-		../src/regex.c $(CC_OUT)$@
-
-ETAGS_CFLAGS  = -DHAVE_GETCWD
-$(BLD)/etags.$(O): etags.c
-		$(CC) $(CFLAGS) $(ETAGS_CFLAGS) $(CC_OUT)$@ etags.c
-
-CTAGSOBJ      = $(BLD)/ctags.$(O) \
-		$(BLD)/getopt.$(O) \
-		$(BLD)/getopt1.$(O) \
-		$(BLD)/ntlib.$(O) \
-		$(BLD)/regex.$(O)
-
-$(BLD)/ctags.exe:  $(CTAGSOBJ)
-		$(LINK) $(LINK_OUT)$@ $(LINK_FLAGS) $(CTAGSOBJ) $(LIBS)
-
-ctags.c:	etags.c
-		- $(DEL) ctags.c
-		$(CP) etags.c ctags.c
-
-CTAGS_CFLAGS  = -DCTAGS $(ETAGS_CFLAGS)
-$(BLD)/ctags.$(O): ctags.c
-		$(CC) $(CFLAGS) $(CTAGS_CFLAGS) $(CC_OUT)$@ ctags.c
-
-#
-# don't know what to do with these yet...
-#
-# $(BLD)/sorted-doc.exe: 	$(BLD)/sorted-doc.$(O)
-# $(BLD)/yow.exe: 		$(BLD)/yow.$(O)
-# $(BLD)/emacstool.exe: 	$(BLD)/emacstool.$(O)
-# $(BLD)/leditcfns.exe: 	$(BLD)/leditcfns.$(O)
-# $(BLD)/server.exe: 		$(BLD)/server.$(O)
-# $(BLD)/cvtmail.exe: 		$(BLD)/cvtmail.$(O)
-# $(BLD)/digest-doc.exe: 	$(BLD)/digest-doc.$(O)
-# $(BLD)/emacsclient.exe: 	$(BLD)/emacsclient.$(O)
-# $(BLD)/test-distrib.exe: 	$(BLD)/test-distrib.$(O)
-
-#
-# From ..\src\makefile.nt.
-#
-obj = 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 mocklisp.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 xfaces.c w32fns.c w32heap.c w32inevt.c w32proc.c w32reg.c w32menu.c w32select.c w32term.c w32xfns.c 
-
-#
-# These are the lisp files that are loaded up in loadup.el
-#
-lispsource = ../lisp/
-
-FACE_SUPPORT = $(lispsource)facemenu.elc
-MOUSE_SUPPORT = $(lispsource)select.elc $(lispsource)scroll-bar.elc
-FLOAT_SUPPORT = $(lispsource)float-sup.elc
-WINNT_SUPPORT = $(lispsource)ls-lisp.elc $(lispsource)w32-fns.elc $(lispsource)dos-w32.elc
-
-lisp= \
-	$(lispsource)abbrev.elc \
-	$(lispsource)buff-menu.elc \
-	$(lispsource)byte-run.elc \
-	$(lispsource)cus-start.el \
-	$(lispsource)custom.elc \
-	$(lispsource)faces.elc \
-	$(lispsource)files.elc \
-	$(lispsource)textmodes/fill.elc \
-	$(lispsource)format.elc \
-	$(FACE_SUPPORT) \
-	$(MOUSE_SUPPORT) \
-	$(FLOAT_SUPPORT) \
-	$(lispsource)frame.elc\
-	$(X_WINDOWS_SUPPORT) \
-	$(lispsource)help.elc \
-	$(lispsource)indent.elc \
-	$(lispsource)isearch.elc \
-	$(lispsource)emacs-lisp/lisp-mode.elc \
-	$(lispsource)emacs-lisp/lisp.elc \
-	$(lispsource)loadup.el \
-	$(lispsource)loaddefs.el \
-	$(lispsource)map-ynp.elc \
-	$(lispsource)menu-bar.elc \
-	$(lispsource)international/mule.elc \
-	$(lispsource)international/mule-conf.el \
-	$(lispsource)international/mule-cmds.elc \
-	$(lispsource)international/characters.elc \
-	$(lispsource)language/chinese.elc \
-	$(lispsource)language/cyrillic.elc \
-	$(lispsource)language/devanagari.elc \
-	$(lispsource)language/english.elc \
-	$(lispsource)language/ethiopic.elc \
-	$(lispsource)language/european.elc \
-	$(lispsource)language/greek.elc \
-	$(lispsource)language/hebrew.elc \
-	$(lispsource)language/indian.elc \
-	$(lispsource)language/japanese.elc \
-	$(lispsource)language/korean.elc \
-	$(lispsource)language/lao.elc \
-	$(lispsource)language/thai.elc \
-	$(lispsource)language/tibetan.elc \
-	$(lispsource)language/vietnamese.elc \
-	$(lispsource)language/misc-lang.elc \
-	$(lispsource)textmodes/page.elc \
-	$(lispsource)textmodes/paragraphs.elc \
-	$(lispsource)paths.el \
-	$(lispsource)register.elc \
-	$(lispsource)replace.elc \
-	$(lispsource)simple.elc \
-	$(lispsource)startup.elc \
-	$(lispsource)subr.elc \
-	$(lispsource)textmodes/text-mode.elc \
-	$(lispsource)vc-hooks.elc \
-	$(lispsource)ediff-hook.elc \
-	$(VMS_SUPPORT) \
-	$(MSDOS_SUPPORT) \
-	$(WINNT_SUPPORT) \
-	$(lispsource)window.elc \
-	$(lispsource)version.el
-
-
-DOC	      = DOC 
-$(DOC):		$(BLD)/make-docfile.exe
-		- $(DEL) $(DOC)
-		"./$(BLD)/make-docfile" -d ../src $(obj) > $(DOC)
-		"./$(BLD)/make-docfile" -d ../src $(lisp) >> $(DOC)
-		$(CP) $(DOC) ../etc/DOC-X
-		- mkdir "../src/$(OBJDIR)"
-		- mkdir "../src/$(OBJDIR)/etc"
-		$(CP) $(DOC) ../src/$(OBJDIR)/etc/DOC-X
-
-{$(BLD)}.$(O){$(BLD)}.exe:
-		$(LINK) $(LINK_OUT)$@ $(LINK_FLAGS) $*.$(O) $(LIBS)
-
-#
-# Build the executables
-#
-all:		$(BLD) $(ALL) $(DOC)
-
-#
-# Assuming INSTALL_DIR is defined, build and install emacs in it.
-#
-INSTALL_FILES = $(ALL)
-install:	$(INSTALL_FILES)
-		- mkdir "$(INSTALL_DIR)/bin"
-		$(CP) $(BLD)/etags.exe $(INSTALL_DIR)/bin
-		$(CP) $(BLD)/ctags.exe $(INSTALL_DIR)/bin
-		$(CP) $(BLD)/hexl.exe $(INSTALL_DIR)/bin
-		$(CP) $(BLD)/movemail.exe $(INSTALL_DIR)/bin
-		$(CP) $(BLD)/fakemail.exe $(INSTALL_DIR)/bin
-		- mkdir "$(INSTALL_DIR)/etc"
-		$(CP) $(DOC) $(INSTALL_DIR)/etc
-
-#
-# Maintenance
-# 
-clean:
-		- $(DEL) *~ *.pdb DOC*
-		- $(DEL) ctags.c
-		- $(DEL_TREE) $(OBJDIR)
-
-cleanall:	clean
-		- $(DEL_TREE) obj
-		- $(DEL_TREE) obj-spd
-		- $(DEL_TREE) oo
-		- $(DEL_TREE) oo-spd
-
-#
-# Headers we would preprocess if we could.
-#
-../src/config.h:	../nt/$(CONFIG_H)
-			$(CP) $(ALL_DEPS) $@
-../src/paths.h:		../nt/paths.h
-			$(CP) $(ALL_DEPS) $@
-
-### DEPENDENCIES ###
-
-EMACS_ROOT	= ..
-SRC		= .
-
-$(BLD)/alloca.$(O) : \
-	$(SRC)/alloca.c \
-	$(EMACS_ROOT)/src/s/ms-w32.h \
-	$(EMACS_ROOT)/src/m/intel386.h \
-	$(EMACS_ROOT)/src/config.h \
-	$(EMACS_ROOT)/src/blockinput.h
-
-$(BLD)/b2m.$(O) : \
-	$(SRC)/b2m.c \
-	$(EMACS_ROOT)/src/s/ms-w32.h \
-	$(EMACS_ROOT)/src/m/intel386.h \
-	$(EMACS_ROOT)/lib-src/../src/config.h
-
-$(BLD)/ctags.$(O) : \
-	$(SRC)/ctags.c \
-	$(EMACS_ROOT)/nt/inc/sys/param.h \
-	$(EMACS_ROOT)/src/s/ms-w32.h \
-	$(EMACS_ROOT)/src/m/intel386.h \
-	$(EMACS_ROOT)/lib-src/../src/config.h \
-	$(SRC)/ntlib.h \
-	$(SRC)/getopt.h
-
-$(BLD)/cvtmail.$(O) : \
-	$(SRC)/cvtmail.c
-
-$(BLD)/digest-doc.$(O) : \
-	$(SRC)/digest-doc.c
-
-$(BLD)/emacsclient.$(O) : \
-	$(SRC)/emacsclient.c \
-	$(EMACS_ROOT)/src/s/ms-w32.h \
-	$(EMACS_ROOT)/src/m/intel386.h \
-	$(EMACS_ROOT)/lib-src/../src/config.h
-
-$(BLD)/emacsserver.$(O) : \
-	$(SRC)/emacsserver.c \
-	$(EMACS_ROOT)/src/s/ms-w32.h \
-	$(EMACS_ROOT)/src/m/intel386.h \
-	$(EMACS_ROOT)/lib-src/../src/config.h \
-	$(EMACS_ROOT)/nt/inc/sys/file.h
-
-$(BLD)/emacstool.$(O) : \
-	$(SRC)/emacstool.c \
-	$(EMACS_ROOT)/nt/inc/sys/file.h
-
-$(BLD)/etags.$(O) : \
-	$(SRC)/etags.c \
-	$(EMACS_ROOT)/nt/inc/sys/param.h \
-	$(EMACS_ROOT)/src/s/ms-w32.h \
-	$(EMACS_ROOT)/src/m/intel386.h \
-	$(EMACS_ROOT)/lib-src/../src/config.h \
-	$(SRC)/ntlib.h \
-	$(SRC)/getopt.h
-
-$(BLD)/fakemail.$(O) : \
-	$(SRC)/fakemail.c \
-	$(SRC)/ntlib.h \
-	$(EMACS_ROOT)/src/s/ms-w32.h \
-	$(EMACS_ROOT)/src/m/intel386.h \
-	$(EMACS_ROOT)/lib-src/../src/config.h \
-	$(EMACS_ROOT)/nt/inc/pwd.h
-
-$(BLD)/getdate.$(O) : \
-	$(SRC)/getdate.c \
-	$(EMACS_ROOT)/src/s/ms-w32.h \
-	$(EMACS_ROOT)/src/m/intel386.h \
-	$(EMACS_ROOT)/src/config.h \
-	$(MSTOOLS_SYS)/types.h
-
-$(BLD)/getopt.$(O) : \
-	$(SRC)/getopt.c \
-	$(EMACS_ROOT)/src/s/ms-w32.h \
-	$(EMACS_ROOT)/src/m/intel386.h \
-	$(EMACS_ROOT)/src/config.h \
-	$(SRC)/ntlib.h \
-	$(SRC)/getopt.h
-
-$(BLD)/getopt1.$(O) : \
-	$(SRC)/getopt1.c \
-	$(EMACS_ROOT)/src/s/ms-w32.h \
-	$(EMACS_ROOT)/src/m/intel386.h \
-	$(EMACS_ROOT)/src/config.h \
-	$(SRC)/getopt.h
-
-$(BLD)/hexl.$(O) : \
-	$(SRC)/hexl.c
-
-$(BLD)/leditcfns.$(O) : \
-	$(SRC)/leditcfns.c
-
-$(BLD)/make-docfile.$(O) : \
-	$(SRC)/make-docfile.c \
-	$(EMACS_ROOT)/src/config.h
-
-$(BLD)/make-path.$(O) : \
-	$(SRC)/make-path.c
-
-$(BLD)/movemail.$(O) : \
-	$(SRC)/movemail.c \
-	$(EMACS_ROOT)/src/s/ms-w32.h \
-	$(EMACS_ROOT)/src/m/intel386.h \
-	$(EMACS_ROOT)/lib-src/../src/config.h \
-	$(EMACS_ROOT)/nt/inc/sys/file.h \
-	$(EMACS_ROOT)/src/vmsproc.h \
-	$(EMACS_ROOT)/lib-src/../src/syswait.h \
-	$(EMACS_ROOT)/nt/inc/pwd.h \
-	$(SRC)/ntlib.h
-		$(CC) $(CFLAGS) -DUSG $(CC_OUT)$@ movemail.c
-
-$(BLD)/ntlib.$(O) : \
-	$(SRC)/ntlib.c \
-	$(SRC)/ntlib.h \
-	$(EMACS_ROOT)/nt/inc/pwd.h
-
-$(BLD)/pop.$(O) : \
-	$(SRC)/pop.c \
-	$(SRC)/pop.h \
-	$(SRC)/ntlib.h
-
-$(BLD)/profile.$(O) : \
-	$(SRC)/profile.c \
-	$(EMACS_ROOT)/src/s/ms-w32.h \
-	$(EMACS_ROOT)/src/m/intel386.h \
-	$(EMACS_ROOT)/lib-src/../src/config.h \
-	$(EMACS_ROOT)/src/vmstime.h \
-	$(EMACS_ROOT)/lib-src/../src/systime.h
-
-$(BLD)/qsort.$(O) : \
-	$(SRC)/qsort.c
-
-$(BLD)/sorted-doc.$(O) : \
-	$(SRC)/sorted-doc.c
-
-$(BLD)/tcp.$(O) : \
-	$(SRC)/tcp.c
-
-$(BLD)/test-distrib.$(O) : \
-	$(SRC)/test-distrib.c
-
-$(BLD)/timer.$(O) : \
-	$(SRC)/timer.c \
-	$(EMACS_ROOT)/src/s/ms-w32.h \
-	$(EMACS_ROOT)/src/m/intel386.h \
-	$(EMACS_ROOT)/lib-src/../src/config.h
-
-$(BLD)/yow.$(O) : \
-	$(SRC)/yow.c \
-	$(EMACS_ROOT)/lib-src/../src/paths.h
+#  Makefile for GNU Emacs lib-src directory.
+#  Copyright (C) 1994, 2000 Free Software Foundation, Inc.
+#
+#  This file is part of GNU Emacs.
+#  
+#  GNU Emacs is free software; you can redistribute it and/or modify
+#  it under the terms of the GNU General Public License as published by
+#  the Free Software Foundation; either version 2, or (at your option)
+#  any later version.
+#  
+#  GNU Emacs is distributed in the hope that it will be useful,
+#  but WITHOUT ANY WARRANTY; without even the implied warranty of
+#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+#  GNU General Public License for more details.
+#  
+#  You should have received a copy of the GNU General Public License
+#  along with GNU Emacs; see the file COPYING.  If not, write to the
+#  Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+#  Boston, MA 02111-1307, USA.
+#
+
+ALL	      = make-docfile hexl ctags etags movemail fakemail
+
+.PHONY: $(ALL)
+
+LOCAL_FLAGS	= -DWINDOWSNT -DDOS_NT -DSTDC_HEADERS=1 -DNO_LDAV=1 \
+		  -DNO_ARCHIVES=1 -DHAVE_CONFIG_H=1 -I../nt/inc -I../src
+
+# don't know what (if) to do with these yet...
+#
+#		$(BLD)/sorted-doc.exe	\
+#		$(BLD)/env.exe		\
+#		$(BLD)/server.exe	\
+#		$(BLD)/emacstool.exe	\
+#		$(BLD)/leditcfns.exe	\
+#		$(BLD)/emacsclient.exe	\
+#		$(BLD)/cvtmail.exe	\
+#		$(BLD)/digest-doc.exe	\
+#		$(BLD)/test-distrib.exe	\
+
+
+LIBS	      = $(BASE_LIBS) $(ADVAPI32)
+
+$(BLD)/make-docfile.exe: 	$(BLD)/make-docfile.$(O) $(BLD)/ntlib.$(O)
+		$(LINK) $(LINK_OUT)$@ $(LINK_FLAGS) $(BLD)/make-docfile.$(O) $(BLD)/ntlib.$(O) $(LIBS)
+$(BLD)/hexl.exe:		$(BLD)/hexl.$(O)
+		$(LINK) $(LINK_OUT)$@ $(LINK_FLAGS) $(BLD)/hexl.$(O) $(LIBS)
+$(BLD)/fakemail.exe: 		$(BLD)/fakemail.$(O) $(BLD)/ntlib.$(O)
+		$(LINK) $(LINK_OUT)$@ $(LINK_FLAGS) $(BLD)/fakemail.$(O) $(BLD)/ntlib.$(O) $(LIBS)
+
+make-docfile:	$(BLD) $(BLD)/make-docfile.exe
+ctags:		$(BLD) $(BLD)/ctags.exe
+etags:		$(BLD) $(BLD)/etags.exe
+hexl:		$(BLD) $(BLD)/hexl.exe
+movemail:	$(BLD) $(BLD)/movemail.exe
+fakemail:	$(BLD) $(BLD)/fakemail.exe
+
+GETOPTOBJS = $(BLD)/getopt.$(O) $(BLD)/getopt1.$(O)
+GETOPTDEPS = $(GETOPTOBJS) getopt.h
+MOVEMAILOBJS =  $(BLD)/movemail.$(O) \
+		$(BLD)/pop.$(O) \
+		$(BLD)/ntlib.$(O) \
+		$(GETOPTOBJS)
+
+$(BLD)/movemail.exe:	$(MOVEMAILOBJS) getopt.h
+# put wsock32.lib before $(LIBS) to ensure we don't link to ws2_32.lib
+		$(LINK) $(LINK_OUT)$@ $(LINK_FLAGS) $(MOVEMAILOBJS) $(WSOCK32) $(LIBS)
+
+ETAGSOBJ      = $(BLD)/etags.$(O) \
+		$(BLD)/getopt.$(O) \
+		$(BLD)/getopt1.$(O) \
+		$(BLD)/ntlib.$(O) \
+		$(BLD)/regex.$(O)
+
+$(BLD)/etags.exe: 	$(ETAGSOBJ)
+		$(LINK) $(LINK_OUT)$@ $(LINK_FLAGS) $(ETAGSOBJ) $(LIBS)
+
+
+$(BLD)/regex.$(O): ../src/regex.c ../src/regex.h ../src/config.h
+		$(CC)  $(CFLAGS) -DCONFIG_BROKETS -DINHIBIT_STRING_HEADER \
+		../src/regex.c $(CC_OUT)$@
+
+ETAGS_CFLAGS  = -DHAVE_GETCWD
+$(BLD)/etags.$(O): etags.c
+		$(CC) $(CFLAGS) $(ETAGS_CFLAGS) $(CC_OUT)$@ etags.c
+
+CTAGSOBJ      = $(BLD)/ctags.$(O) \
+		$(BLD)/getopt.$(O) \
+		$(BLD)/getopt1.$(O) \
+		$(BLD)/ntlib.$(O) \
+		$(BLD)/regex.$(O)
+
+$(BLD)/ctags.exe:  $(CTAGSOBJ)
+		$(LINK) $(LINK_OUT)$@ $(LINK_FLAGS) $(CTAGSOBJ) $(LIBS)
+
+ctags.c:	etags.c
+		- $(DEL) ctags.c
+		$(CP) etags.c ctags.c
+
+CTAGS_CFLAGS  = -DCTAGS $(ETAGS_CFLAGS)
+$(BLD)/ctags.$(O): ctags.c
+		$(CC) $(CFLAGS) $(CTAGS_CFLAGS) $(CC_OUT)$@ ctags.c
+
+#
+# don't know what to do with these yet...
+#
+# $(BLD)/sorted-doc.exe: 	$(BLD)/sorted-doc.$(O)
+# $(BLD)/yow.exe: 		$(BLD)/yow.$(O)
+# $(BLD)/emacstool.exe: 	$(BLD)/emacstool.$(O)
+# $(BLD)/leditcfns.exe: 	$(BLD)/leditcfns.$(O)
+# $(BLD)/server.exe: 		$(BLD)/server.$(O)
+# $(BLD)/cvtmail.exe: 		$(BLD)/cvtmail.$(O)
+# $(BLD)/digest-doc.exe: 	$(BLD)/digest-doc.$(O)
+# $(BLD)/emacsclient.exe: 	$(BLD)/emacsclient.$(O)
+# $(BLD)/test-distrib.exe: 	$(BLD)/test-distrib.$(O)
+
+#
+# From ..\src\makefile.nt.
+#
+obj = 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 mocklisp.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 xfaces.c w32fns.c w32heap.c w32inevt.c w32proc.c w32reg.c w32menu.c w32select.c w32term.c w32xfns.c 
+
+#
+# These are the lisp files that are loaded up in loadup.el
+#
+lispsource = ../lisp/
+
+FACE_SUPPORT = $(lispsource)facemenu.elc
+MOUSE_SUPPORT = $(lispsource)select.elc $(lispsource)scroll-bar.elc
+FLOAT_SUPPORT = $(lispsource)float-sup.elc
+WINNT_SUPPORT = $(lispsource)ls-lisp.elc $(lispsource)w32-fns.elc $(lispsource)dos-w32.elc
+
+lisp= \
+	$(lispsource)abbrev.elc \
+	$(lispsource)buff-menu.elc \
+	$(lispsource)byte-run.elc \
+	$(lispsource)cus-start.el \
+	$(lispsource)custom.elc \
+	$(lispsource)faces.elc \
+	$(lispsource)files.elc \
+	$(lispsource)textmodes/fill.elc \
+	$(lispsource)format.elc \
+	$(FACE_SUPPORT) \
+	$(MOUSE_SUPPORT) \
+	$(FLOAT_SUPPORT) \
+	$(lispsource)frame.elc\
+	$(X_WINDOWS_SUPPORT) \
+	$(lispsource)help.elc \
+	$(lispsource)indent.elc \
+	$(lispsource)isearch.elc \
+	$(lispsource)emacs-lisp/lisp-mode.elc \
+	$(lispsource)emacs-lisp/lisp.elc \
+	$(lispsource)loadup.el \
+	$(lispsource)loaddefs.el \
+	$(lispsource)map-ynp.elc \
+	$(lispsource)menu-bar.elc \
+	$(lispsource)international/mule.elc \
+	$(lispsource)international/mule-conf.el \
+	$(lispsource)international/mule-cmds.elc \
+	$(lispsource)international/characters.elc \
+	$(lispsource)language/chinese.elc \
+	$(lispsource)language/cyrillic.elc \
+	$(lispsource)language/devanagari.elc \
+	$(lispsource)language/english.elc \
+	$(lispsource)language/ethiopic.elc \
+	$(lispsource)language/european.elc \
+	$(lispsource)language/greek.elc \
+	$(lispsource)language/hebrew.elc \
+	$(lispsource)language/indian.elc \
+	$(lispsource)language/japanese.elc \
+	$(lispsource)language/korean.elc \
+	$(lispsource)language/lao.elc \
+	$(lispsource)language/thai.elc \
+	$(lispsource)language/tibetan.elc \
+	$(lispsource)language/vietnamese.elc \
+	$(lispsource)language/misc-lang.elc \
+	$(lispsource)textmodes/page.elc \
+	$(lispsource)textmodes/paragraphs.elc \
+	$(lispsource)paths.el \
+	$(lispsource)register.elc \
+	$(lispsource)replace.elc \
+	$(lispsource)simple.elc \
+	$(lispsource)startup.elc \
+	$(lispsource)subr.elc \
+	$(lispsource)textmodes/text-mode.elc \
+	$(lispsource)vc-hooks.elc \
+	$(lispsource)ediff-hook.elc \
+	$(VMS_SUPPORT) \
+	$(MSDOS_SUPPORT) \
+	$(WINNT_SUPPORT) \
+	$(lispsource)window.elc \
+	$(lispsource)version.el
+
+
+DOC	      = DOC 
+$(DOC):		$(BLD)/make-docfile.exe
+		- $(DEL) $(DOC)
+		"./$(BLD)/make-docfile" -d ../src $(obj) > $(DOC)
+		"./$(BLD)/make-docfile" -d ../src $(lisp) >> $(DOC)
+		$(CP) $(DOC) ../etc/DOC-X
+		- mkdir "../src/$(OBJDIR)"
+		- mkdir "../src/$(OBJDIR)/etc"
+		$(CP) $(DOC) ../src/$(OBJDIR)/etc/DOC-X
+
+{$(BLD)}.$(O){$(BLD)}.exe:
+		$(LINK) $(LINK_OUT)$@ $(LINK_FLAGS) $*.$(O) $(LIBS)
+
+#
+# Build the executables
+#
+all:		$(BLD) $(ALL) $(DOC)
+
+#
+# Assuming INSTALL_DIR is defined, build and install emacs in it.
+#
+INSTALL_FILES = $(ALL)
+install:	$(INSTALL_FILES)
+		- mkdir "$(INSTALL_DIR)/bin"
+		$(CP) $(BLD)/etags.exe $(INSTALL_DIR)/bin
+		$(CP) $(BLD)/ctags.exe $(INSTALL_DIR)/bin
+		$(CP) $(BLD)/hexl.exe $(INSTALL_DIR)/bin
+		$(CP) $(BLD)/movemail.exe $(INSTALL_DIR)/bin
+		$(CP) $(BLD)/fakemail.exe $(INSTALL_DIR)/bin
+		- mkdir "$(INSTALL_DIR)/etc"
+		$(CP) $(DOC) $(INSTALL_DIR)/etc
+
+#
+# Maintenance
+# 
+clean:
+		- $(DEL) *~ *.pdb DOC*
+		- $(DEL) ctags.c
+		- $(DEL_TREE) $(OBJDIR)
+
+cleanall:	clean
+		- $(DEL_TREE) obj
+		- $(DEL_TREE) obj-spd
+		- $(DEL_TREE) oo
+		- $(DEL_TREE) oo-spd
+
+#
+# Headers we would preprocess if we could.
+#
+../src/config.h:	../nt/$(CONFIG_H)
+			$(CP) $(ALL_DEPS) $@
+../src/paths.h:		../nt/paths.h
+			$(CP) $(ALL_DEPS) $@
+
+### DEPENDENCIES ###
+
+EMACS_ROOT	= ..
+SRC		= .
+
+$(BLD)/alloca.$(O) : \
+	$(SRC)/alloca.c \
+	$(EMACS_ROOT)/src/s/ms-w32.h \
+	$(EMACS_ROOT)/src/m/intel386.h \
+	$(EMACS_ROOT)/src/config.h \
+	$(EMACS_ROOT)/src/blockinput.h
+
+$(BLD)/b2m.$(O) : \
+	$(SRC)/b2m.c \
+	$(EMACS_ROOT)/src/s/ms-w32.h \
+	$(EMACS_ROOT)/src/m/intel386.h \
+	$(EMACS_ROOT)/lib-src/../src/config.h
+
+$(BLD)/ctags.$(O) : \
+	$(SRC)/ctags.c \
+	$(EMACS_ROOT)/nt/inc/sys/param.h \
+	$(EMACS_ROOT)/src/s/ms-w32.h \
+	$(EMACS_ROOT)/src/m/intel386.h \
+	$(EMACS_ROOT)/lib-src/../src/config.h \
+	$(SRC)/ntlib.h \
+	$(SRC)/getopt.h
+
+$(BLD)/cvtmail.$(O) : \
+	$(SRC)/cvtmail.c
+
+$(BLD)/digest-doc.$(O) : \
+	$(SRC)/digest-doc.c
+
+$(BLD)/emacsclient.$(O) : \
+	$(SRC)/emacsclient.c \
+	$(EMACS_ROOT)/src/s/ms-w32.h \
+	$(EMACS_ROOT)/src/m/intel386.h \
+	$(EMACS_ROOT)/lib-src/../src/config.h
+
+$(BLD)/emacsserver.$(O) : \
+	$(SRC)/emacsserver.c \
+	$(EMACS_ROOT)/src/s/ms-w32.h \
+	$(EMACS_ROOT)/src/m/intel386.h \
+	$(EMACS_ROOT)/lib-src/../src/config.h \
+	$(EMACS_ROOT)/nt/inc/sys/file.h
+
+$(BLD)/emacstool.$(O) : \
+	$(SRC)/emacstool.c \
+	$(EMACS_ROOT)/nt/inc/sys/file.h
+
+$(BLD)/etags.$(O) : \
+	$(SRC)/etags.c \
+	$(EMACS_ROOT)/nt/inc/sys/param.h \
+	$(EMACS_ROOT)/src/s/ms-w32.h \
+	$(EMACS_ROOT)/src/m/intel386.h \
+	$(EMACS_ROOT)/lib-src/../src/config.h \
+	$(SRC)/ntlib.h \
+	$(SRC)/getopt.h
+
+$(BLD)/fakemail.$(O) : \
+	$(SRC)/fakemail.c \
+	$(SRC)/ntlib.h \
+	$(EMACS_ROOT)/src/s/ms-w32.h \
+	$(EMACS_ROOT)/src/m/intel386.h \
+	$(EMACS_ROOT)/lib-src/../src/config.h \
+	$(EMACS_ROOT)/nt/inc/pwd.h
+
+$(BLD)/getdate.$(O) : \
+	$(SRC)/getdate.c \
+	$(EMACS_ROOT)/src/s/ms-w32.h \
+	$(EMACS_ROOT)/src/m/intel386.h \
+	$(EMACS_ROOT)/src/config.h \
+	$(MSTOOLS_SYS)/types.h
+
+$(BLD)/getopt.$(O) : \
+	$(SRC)/getopt.c \
+	$(EMACS_ROOT)/src/s/ms-w32.h \
+	$(EMACS_ROOT)/src/m/intel386.h \
+	$(EMACS_ROOT)/src/config.h \
+	$(SRC)/ntlib.h \
+	$(SRC)/getopt.h
+
+$(BLD)/getopt1.$(O) : \
+	$(SRC)/getopt1.c \
+	$(EMACS_ROOT)/src/s/ms-w32.h \
+	$(EMACS_ROOT)/src/m/intel386.h \
+	$(EMACS_ROOT)/src/config.h \
+	$(SRC)/getopt.h
+
+$(BLD)/hexl.$(O) : \
+	$(SRC)/hexl.c
+
+$(BLD)/leditcfns.$(O) : \
+	$(SRC)/leditcfns.c
+
+$(BLD)/make-docfile.$(O) : \
+	$(SRC)/make-docfile.c \
+	$(EMACS_ROOT)/src/config.h
+
+$(BLD)/make-path.$(O) : \
+	$(SRC)/make-path.c
+
+$(BLD)/movemail.$(O) : \
+	$(SRC)/movemail.c \
+	$(EMACS_ROOT)/src/s/ms-w32.h \
+	$(EMACS_ROOT)/src/m/intel386.h \
+	$(EMACS_ROOT)/lib-src/../src/config.h \
+	$(EMACS_ROOT)/nt/inc/sys/file.h \
+	$(EMACS_ROOT)/src/vmsproc.h \
+	$(EMACS_ROOT)/lib-src/../src/syswait.h \
+	$(EMACS_ROOT)/nt/inc/pwd.h \
+	$(SRC)/ntlib.h
+		$(CC) $(CFLAGS) -DUSG $(CC_OUT)$@ movemail.c
+
+$(BLD)/ntlib.$(O) : \
+	$(SRC)/ntlib.c \
+	$(SRC)/ntlib.h \
+	$(EMACS_ROOT)/nt/inc/pwd.h
+
+$(BLD)/pop.$(O) : \
+	$(SRC)/pop.c \
+	$(SRC)/pop.h \
+	$(SRC)/ntlib.h
+
+$(BLD)/profile.$(O) : \
+	$(SRC)/profile.c \
+	$(EMACS_ROOT)/src/s/ms-w32.h \
+	$(EMACS_ROOT)/src/m/intel386.h \
+	$(EMACS_ROOT)/lib-src/../src/config.h \
+	$(EMACS_ROOT)/src/vmstime.h \
+	$(EMACS_ROOT)/lib-src/../src/systime.h
+
+$(BLD)/qsort.$(O) : \
+	$(SRC)/qsort.c
+
+$(BLD)/sorted-doc.$(O) : \
+	$(SRC)/sorted-doc.c
+
+$(BLD)/tcp.$(O) : \
+	$(SRC)/tcp.c
+
+$(BLD)/test-distrib.$(O) : \
+	$(SRC)/test-distrib.c
+
+$(BLD)/timer.$(O) : \
+	$(SRC)/timer.c \
+	$(EMACS_ROOT)/src/s/ms-w32.h \
+	$(EMACS_ROOT)/src/m/intel386.h \
+	$(EMACS_ROOT)/lib-src/../src/config.h
+
+$(BLD)/yow.$(O) : \
+	$(SRC)/yow.c \
+	$(EMACS_ROOT)/lib-src/../src/paths.h
--- a/lisp/makefile.w32-in	Thu Sep 14 21:51:49 2000 +0000
+++ b/lisp/makefile.w32-in	Thu Sep 14 21:59:59 2000 +0000
@@ -1,285 +1,285 @@
-#  Hacked up Nmake makefile for GNU Emacs
-#   Geoff Voelker (voelker@cs.washington.edu)
-#  Copyright (c) 1994 Free Software Foundation, Inc.
-#
-#  This file is part of GNU Emacs.
-#  
-#  GNU Emacs is free software; you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2, or (at your option)
-#  any later version.
-#  
-#  GNU Emacs is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY; without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-#  GNU General Public License for more details.
-#  
-#  You should have received a copy of the GNU General Public License
-#  along with GNU Emacs; see the file COPYING.  If not, write to the
-#  Free Software Foundation, Inc., 59 Temple Place - Suite 330,
-#  Boston, MA 02111-1307, USA.
-#
-
-ALL =
-
-all: $(ALL)
-
-SQUOTE='
-# '
-
-#lisp=$(MAKEDIR:\=/)
-lisp=.
-
-# You can specify a different executable on the make command line,
-# e.g. "make EMACS=../src/emacs ...".
-
-EMACS = "../bin/emacs.exe"
-
-# Command line flags for Emacs.  This must include --multibyte,
-# otherwise some files will not compile.
-
-EMACSOPT = -batch --no-init-file --no-site-file --multibyte
-
-lisptagsfiles1 = $(lisp)/*.el
-lisptagsfiles2 = $(lisp)/*/*.el
-ETAGS = "../lib-src/$(BLD)/etags"
-
-# Files which should not be compiled.
-# - emacs-lisp/cl-specs.el:  only contains `def-edebug-spec's so there's
-#   no point compiling it, although it doesn't hurt.
-
-DONTCOMPILE = \
-	$(lisp)/bindings.el \
-	$(lisp)/cus-load.el \
-	$(lisp)/cus-start.el \
-	$(lisp)/emacs-lisp/cl-specs.el \
-	$(lisp)/eshell/esh-maint.el \
-	$(lisp)/eshell/esh-groups.el \
-	$(lisp)/finder-inf.el \
-	$(lisp)/forms-d2.el \
-	$(lisp)/forms-pass.el \
-	$(lisp)/generic-x.el \
-	$(lisp)/international/latin-1.el \
-	$(lisp)/international/latin-2.el \
-	$(lisp)/international/latin-3.el \
-	$(lisp)/international/latin-4.el \
-	$(lisp)/international/latin-5.el \
-	$(lisp)/international/latin-8.el \
-	$(lisp)/international/latin-9.el \
-	$(lisp)/international/mule-conf.el \
-	$(lisp)/loaddefs.el \
-	$(lisp)/loadup.el \
-	$(lisp)/mail/blessmail.el \
-	$(lisp)/mail/sc.el \
-	$(lisp)/patcomp.el \
-	$(lisp)/paths.el \
-	$(lisp)/play/bruce.el \
-	$(lisp)/subdirs.el \
-	$(lisp)/term/internal.el \
-	$(lisp)/version.el
-
-# Files to compile before others during a bootstrap.  This is done
-# to speed up the bootstrap process.
-
-COMPILE_FIRST = \
-	$(lisp)/emacs-lisp/byte-opt.el \
-	$(lisp)/emacs-lisp/bytecomp.el \
-	$(lisp)/subr.el
-
-# The actual Emacs command run in the targets below.
-
-emacs = $(EMACS) $(EMACSOPT)
-
-# Common command to find subdirectories
-
-setwins=subdirs=`find $$wd -type d -print`; \
-	for file in $$subdirs; do \
-	   case $$file in */Old | */RCS | */CVS | */CVS/* | */=* ) ;; \
-		*) wins="$$wins $$file" ;; \
-	   esac; \
-        done
-
-# Have to define the list of subdirs manually when not using sh.
-WINS=\
-	calendar \
-	emacs-lisp \
-	emulation \
-	eshell \
-	gnus \
-	international \
-	language \
-	mail \
-	net \
-	play \
-	progmodes \
-	term \
-	textmodes
-
-doit:
-
-cus-load.el:
-	touch $@
-custom-deps: cus-load.el doit
-	@echo Directories: $(WINS)
-	$(emacs) -l cus-dep --eval $(ARGQUOTE)(setq find-file-hooks nil)$(ARGQUOTE) -f custom-make-dependencies $(lisp) $(WINS)
-
-finder-inf.el:
-	echo (provide $(SQUOTE)finder-inf)>> $@
-
-finder-data: finder-inf.el doit
-	@echo Directories: $(WINS)
-	$(emacs) -l finder -f finder-compile-keywords-make-dist $(lisp) $(WINS)
-
-loaddefs.el:
-	echo ;;; loaddefs.el --- automatically extracted autoloads> $@
-	echo ;;; Code:>> $@
-	echo >> $@
-	echo ;;; Local Variables:>> $@
-	echo ;;; version-control: never>> $@
-	echo ;;; no-byte-compile: t>> $@
-	echo ;;; no-update-autoloads: t>> $@
-	echo ;;; End:>> $@
-	echo ;;; loaddefs.el ends here>> $@
-
-autoloads: loaddefs.el doit
-	@echo Directories: $(WINS)
-	set EMACSLOADPATH=$(lisp)
-	$(SETLOADPATH) $(emacs) -l autoload --eval $(ARGQUOTE)(setq find-file-hooks nil generated-autoload-file $(DQUOTE)$(lisp)/loaddefs.el$(DQUOTE))$(ARGQUOTE) -f batch-update-autoloads $(lisp) $(WINS)
-
-subdirs.el:
-	$(MAKE) $(MFLAGS) update-subdirs
-
-# Need separate version for sh and native cmd.exe
-update-subdirs: update-subdirs-$(SHELLTYPE)
-
-update-subdirs-CMD: doit
-	@set QWINS=
-	@for %d in ($(WINS)) do if not (%d)==(term) set QWINS=%QWINS% "%d"
-	echo ;; In load-path, after this directory should come> subdirs.el
-	echo ;; certain of its subdirectories.  Here we specify them.>> subdirs.el
-	echo (normal-top-level-add-to-load-path $(SQUOTE)(%QWINS%))>> subdirs.el
-
-update-subdirs-SH: doit
-	wd=$(lisp); $(setwins); \
-	for file in $$wins; do \
-	   $(srcdir)/update-subdirs $$file; \
-	done;
-
-updates: update-subdirs autoloads finder-data custom-deps
-
-TAGS: $(lisptagsfiles1) $(lisptagsfiles2)
-	$(ETAGS) $(lisptagsfiles1) $(lisptagsfiles2)
-
-TAGS-LISP: $(lispsource)$(lisptagsfiles1) $(lispsource)$(lisptagsfiles2)
-	$(ETAGS) -o TAGS-LISP $(lispsource)$(lisptagsfiles1) $(lispsource)$(lisptagsfiles2)
-
-.el.elc:
-	set EMACSLOADPATH=$(lisp)
-	-$(SETLOADPATH) $(emacs) -f batch-byte-compile $<
-
-$(DONTCOMPILE:.el=.elc):
-	-$(DEL) $@
-
-# Compile all Lisp files, except those from DONTCOMPILE.  This
-# compiles files unconditionally.  All .elc files are made writable
-# before compilation in case we checked out read-only (CVS option -r).
-# Files MUST be compiled one by one.  If we compile several files in a
-# row we can't make sure that the compilation environment is clean.
-# We also set the load-path of the Emacs used for compilation to the
-# current directory and its subdirectories, to make sure require's and
-# load's in the files being compiled find the right files.
-
-# Need separate version for sh and native cmd.exe
-compile-files: subdirs.el compile-files-$(SHELLTYPE) doit
-
-compile-files-CMD:
-	set EMACSLOADPATH=$(lisp)
-	-for %f in ($(lisp) $(WINS)) do for %g in (%f\*.elc) do @attrib -r %g
-	for %f in ($(COMPILE_FIRST)) do $(emacs) -f batch-byte-compile %f
-	for %f in ($(lisp) $(WINS)) do for %g in (%f/*.el) do $(emacs) -f batch-byte-compile %f/%g
-
-compile-files-SH:
-#	for elc in $(lisp)/*.elc $(lisp)/*/*.elc; do attrib -r $$elc; done
-	for el in $(COMPILE_FIRST); do \
-	  echo Compiling $$el; \
-	  EMACSLOADPATH=$(lisp) $(emacs) -f batch-byte-compile $$el; \
-	done
-	for dir in $(lisp) $(WINS); do \
-	  for el in $$dir/*.el; do \
-	    echo Compiling $$el; \
-	    EMACSLOADPATH=$(lisp) $(emacs) -f batch-byte-compile $$el; \
-	  done; \
-	done
-
-# Backup compiled Lisp files in elc.tar.gz.  If that file already
-# exists, make a backup of it.
-
-backup-compiled-files:
-	-mv $(lisp)/elc.tar.gz $(lisp)/elc.tar.gz~
-	-tar czf $(lisp)/elc.tar.gz $(lisp)/*.elc $(lisp)/*/*.elc
-
-# Compile Lisp files, but save old compiled files first.
-
-compile: backup-compiled-files compile-files
-
-# Recompile all Lisp files which are newer than their .elc files.
-# Note that this doesn't create .elc files.  It only recompiles if an
-# .elc is present.
-
-recompile: doit
-	set EMACSLOADPATH=$(lisp)
-	$(SETLOADPATH) $(emacs) -f batch-byte-recompile-directory .
-
-# Prepare a bootstrap in the lisp subdirectory.  Build loaddefs.el,
-# because it's not sure it's up-to-date, and if it's not, that might
-# lead to errors during the bootstrap because something fails to
-# autoload as expected.  Remove compiled Lisp files so that
-# bootstrap-emacs will be built from sources only.
-
-# Need separate version for sh and native cmd.exe
-bootstrap-clean: bootstrap-clean-$(SHELLTYPE)
-
-bootstrap-clean-CMD:
-	if exist $(EMACS) $(MAKE) $(MFLAGS) autoloads
-	-for %f in ($(lisp) $(WINS)) do for %g in (%f\*.elc) do @$(DEL) %g
-
-bootstrap-clean-SH:
-	if test -f $(EMACS); then $(MAKE) $(MFLAGS) autoloads; fi
-	-rm -f $(lisp)/*.elc $(lisp)/*/*.elc
-
-# Generate/update files for the bootstrap process.
-
-bootstrap: autoloads compile-files custom-deps
-
-#
-# Assuming INSTALL_DIR is defined, copy the elisp files to it
-# Windows 95 makes this harder than it should be.
-#
-install:
-		- mkdir "$(INSTALL_DIR)/lisp"
-		- $(DEL) ../same-dir.tst
-		- $(DEL) "$(INSTALL_DIR)/same-dir.tst"
-		echo SameDirTest > "$(INSTALL_DIR)/same-dir.tst"
-#ifdef COPY_LISP_SOURCE
-		$(IFNOTSAMEDIR) $(CP_DIR) . "$(INSTALL_DIR)/lisp" $(ENDIF)
-#else
-#		$(IFNOTSAMEDIR) $(CP_DIR) *.elc "$(INSTALL_DIR)/lisp" $(ENDIF)
-#		$(IFNOTSAMEDIR) $(CP) cus-load.el "$(INSTALL_DIR)/lisp" $(ENDIF)
-#		$(IFNOTSAMEDIR) $(CP) forms*.el "$(INSTALL_DIR)/lisp" $(ENDIF)
-#		$(IFNOTSAMEDIR) $(CP) patcomp.el "$(INSTALL_DIR)/lisp" $(ENDIF)
-#		$(IFNOTSAMEDIR) $(CP) subdirs.el "$(INSTALL_DIR)/lisp" $(ENDIF)
-#		$(IFNOTSAMEDIR) $(CP) version.el "$(INSTALL_DIR)/lisp" $(ENDIF)
-#		$(IFNOTSAMEDIR) $(CP) mail/blessmail.el "$(INSTALL_DIR)/lisp/mail" $(ENDIF)
-#		$(IFNOTSAMEDIR) $(CP) mail/sc.el "$(INSTALL_DIR)/lisp/mail" $(ENDIF)
-#		$(IFNOTSAMEDIR) $(CP) play/bruce.el "$(INSTALL_DIR)/lisp/play" $(ENDIF)
-#		$(IFNOTSAMEDIR) $(CP) international/latin-*.el "$(INSTALL_DIR)/lisp/international" $(ENDIF)
-#		$(IFNOTSAMEDIR) $(CP) international/mule-conf.el "$(INSTALL_DIR)/lisp/international" $(ENDIF)
-#endif
-		- $(DEL) ../same-dir.tst
-		- $(DEL) "$(INSTALL_DIR)/same-dir.tst"
-
-#
-# Maintenance
-# 
-clean:
-		- $(DEL) *~
+#  Hacked up Nmake makefile for GNU Emacs
+#   Geoff Voelker (voelker@cs.washington.edu)
+#  Copyright (c) 1994 Free Software Foundation, Inc.
+#
+#  This file is part of GNU Emacs.
+#  
+#  GNU Emacs is free software; you can redistribute it and/or modify
+#  it under the terms of the GNU General Public License as published by
+#  the Free Software Foundation; either version 2, or (at your option)
+#  any later version.
+#  
+#  GNU Emacs is distributed in the hope that it will be useful,
+#  but WITHOUT ANY WARRANTY; without even the implied warranty of
+#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+#  GNU General Public License for more details.
+#  
+#  You should have received a copy of the GNU General Public License
+#  along with GNU Emacs; see the file COPYING.  If not, write to the
+#  Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+#  Boston, MA 02111-1307, USA.
+#
+
+ALL =
+
+all: $(ALL)
+
+SQUOTE='
+# '
+
+#lisp=$(MAKEDIR:\=/)
+lisp=.
+
+# You can specify a different executable on the make command line,
+# e.g. "make EMACS=../src/emacs ...".
+
+EMACS = "../bin/emacs.exe"
+
+# Command line flags for Emacs.  This must include --multibyte,
+# otherwise some files will not compile.
+
+EMACSOPT = -batch --no-init-file --no-site-file --multibyte
+
+lisptagsfiles1 = $(lisp)/*.el
+lisptagsfiles2 = $(lisp)/*/*.el
+ETAGS = "../lib-src/$(BLD)/etags"
+
+# Files which should not be compiled.
+# - emacs-lisp/cl-specs.el:  only contains `def-edebug-spec's so there's
+#   no point compiling it, although it doesn't hurt.
+
+DONTCOMPILE = \
+	$(lisp)/bindings.el \
+	$(lisp)/cus-load.el \
+	$(lisp)/cus-start.el \
+	$(lisp)/emacs-lisp/cl-specs.el \
+	$(lisp)/eshell/esh-maint.el \
+	$(lisp)/eshell/esh-groups.el \
+	$(lisp)/finder-inf.el \
+	$(lisp)/forms-d2.el \
+	$(lisp)/forms-pass.el \
+	$(lisp)/generic-x.el \
+	$(lisp)/international/latin-1.el \
+	$(lisp)/international/latin-2.el \
+	$(lisp)/international/latin-3.el \
+	$(lisp)/international/latin-4.el \
+	$(lisp)/international/latin-5.el \
+	$(lisp)/international/latin-8.el \
+	$(lisp)/international/latin-9.el \
+	$(lisp)/international/mule-conf.el \
+	$(lisp)/loaddefs.el \
+	$(lisp)/loadup.el \
+	$(lisp)/mail/blessmail.el \
+	$(lisp)/mail/sc.el \
+	$(lisp)/patcomp.el \
+	$(lisp)/paths.el \
+	$(lisp)/play/bruce.el \
+	$(lisp)/subdirs.el \
+	$(lisp)/term/internal.el \
+	$(lisp)/version.el
+
+# Files to compile before others during a bootstrap.  This is done
+# to speed up the bootstrap process.
+
+COMPILE_FIRST = \
+	$(lisp)/emacs-lisp/byte-opt.el \
+	$(lisp)/emacs-lisp/bytecomp.el \
+	$(lisp)/subr.el
+
+# The actual Emacs command run in the targets below.
+
+emacs = $(EMACS) $(EMACSOPT)
+
+# Common command to find subdirectories
+
+setwins=subdirs=`find $$wd -type d -print`; \
+	for file in $$subdirs; do \
+	   case $$file in */Old | */RCS | */CVS | */CVS/* | */=* ) ;; \
+		*) wins="$$wins $$file" ;; \
+	   esac; \
+        done
+
+# Have to define the list of subdirs manually when not using sh.
+WINS=\
+	calendar \
+	emacs-lisp \
+	emulation \
+	eshell \
+	gnus \
+	international \
+	language \
+	mail \
+	net \
+	play \
+	progmodes \
+	term \
+	textmodes
+
+doit:
+
+cus-load.el:
+	touch $@
+custom-deps: cus-load.el doit
+	@echo Directories: $(WINS)
+	$(emacs) -l cus-dep --eval $(ARGQUOTE)(setq find-file-hooks nil)$(ARGQUOTE) -f custom-make-dependencies $(lisp) $(WINS)
+
+finder-inf.el:
+	echo (provide $(SQUOTE)finder-inf)>> $@
+
+finder-data: finder-inf.el doit
+	@echo Directories: $(WINS)
+	$(emacs) -l finder -f finder-compile-keywords-make-dist $(lisp) $(WINS)
+
+loaddefs.el:
+	echo ;;; loaddefs.el --- automatically extracted autoloads> $@
+	echo ;;; Code:>> $@
+	echo >> $@
+	echo ;;; Local Variables:>> $@
+	echo ;;; version-control: never>> $@
+	echo ;;; no-byte-compile: t>> $@
+	echo ;;; no-update-autoloads: t>> $@
+	echo ;;; End:>> $@
+	echo ;;; loaddefs.el ends here>> $@
+
+autoloads: loaddefs.el doit
+	@echo Directories: $(WINS)
+	set EMACSLOADPATH=$(lisp)
+	$(SETLOADPATH) $(emacs) -l autoload --eval $(ARGQUOTE)(setq find-file-hooks nil generated-autoload-file $(DQUOTE)$(lisp)/loaddefs.el$(DQUOTE))$(ARGQUOTE) -f batch-update-autoloads $(lisp) $(WINS)
+
+subdirs.el:
+	$(MAKE) $(MFLAGS) update-subdirs
+
+# Need separate version for sh and native cmd.exe
+update-subdirs: update-subdirs-$(SHELLTYPE)
+
+update-subdirs-CMD: doit
+	@set QWINS=
+	@for %d in ($(WINS)) do if not (%d)==(term) set QWINS=%QWINS% "%d"
+	echo ;; In load-path, after this directory should come> subdirs.el
+	echo ;; certain of its subdirectories.  Here we specify them.>> subdirs.el
+	echo (normal-top-level-add-to-load-path $(SQUOTE)(%QWINS%))>> subdirs.el
+
+update-subdirs-SH: doit
+	wd=$(lisp); $(setwins); \
+	for file in $$wins; do \
+	   $(srcdir)/update-subdirs $$file; \
+	done;
+
+updates: update-subdirs autoloads finder-data custom-deps
+
+TAGS: $(lisptagsfiles1) $(lisptagsfiles2)
+	$(ETAGS) $(lisptagsfiles1) $(lisptagsfiles2)
+
+TAGS-LISP: $(lispsource)$(lisptagsfiles1) $(lispsource)$(lisptagsfiles2)
+	$(ETAGS) -o TAGS-LISP $(lispsource)$(lisptagsfiles1) $(lispsource)$(lisptagsfiles2)
+
+.el.elc:
+	set EMACSLOADPATH=$(lisp)
+	-$(SETLOADPATH) $(emacs) -f batch-byte-compile $<
+
+$(DONTCOMPILE:.el=.elc):
+	-$(DEL) $@
+
+# Compile all Lisp files, except those from DONTCOMPILE.  This
+# compiles files unconditionally.  All .elc files are made writable
+# before compilation in case we checked out read-only (CVS option -r).
+# Files MUST be compiled one by one.  If we compile several files in a
+# row we can't make sure that the compilation environment is clean.
+# We also set the load-path of the Emacs used for compilation to the
+# current directory and its subdirectories, to make sure require's and
+# load's in the files being compiled find the right files.
+
+# Need separate version for sh and native cmd.exe
+compile-files: subdirs.el compile-files-$(SHELLTYPE) doit
+
+compile-files-CMD:
+	set EMACSLOADPATH=$(lisp)
+	-for %f in ($(lisp) $(WINS)) do for %g in (%f\*.elc) do @attrib -r %g
+	for %f in ($(COMPILE_FIRST)) do $(emacs) -f batch-byte-compile %f
+	for %f in ($(lisp) $(WINS)) do for %g in (%f/*.el) do $(emacs) -f batch-byte-compile %f/%g
+
+compile-files-SH:
+#	for elc in $(lisp)/*.elc $(lisp)/*/*.elc; do attrib -r $$elc; done
+	for el in $(COMPILE_FIRST); do \
+	  echo Compiling $$el; \
+	  EMACSLOADPATH=$(lisp) $(emacs) -f batch-byte-compile $$el; \
+	done
+	for dir in $(lisp) $(WINS); do \
+	  for el in $$dir/*.el; do \
+	    echo Compiling $$el; \
+	    EMACSLOADPATH=$(lisp) $(emacs) -f batch-byte-compile $$el; \
+	  done; \
+	done
+
+# Backup compiled Lisp files in elc.tar.gz.  If that file already
+# exists, make a backup of it.
+
+backup-compiled-files:
+	-mv $(lisp)/elc.tar.gz $(lisp)/elc.tar.gz~
+	-tar czf $(lisp)/elc.tar.gz $(lisp)/*.elc $(lisp)/*/*.elc
+
+# Compile Lisp files, but save old compiled files first.
+
+compile: backup-compiled-files compile-files
+
+# Recompile all Lisp files which are newer than their .elc files.
+# Note that this doesn't create .elc files.  It only recompiles if an
+# .elc is present.
+
+recompile: doit
+	set EMACSLOADPATH=$(lisp)
+	$(SETLOADPATH) $(emacs) -f batch-byte-recompile-directory .
+
+# Prepare a bootstrap in the lisp subdirectory.  Build loaddefs.el,
+# because it's not sure it's up-to-date, and if it's not, that might
+# lead to errors during the bootstrap because something fails to
+# autoload as expected.  Remove compiled Lisp files so that
+# bootstrap-emacs will be built from sources only.
+
+# Need separate version for sh and native cmd.exe
+bootstrap-clean: bootstrap-clean-$(SHELLTYPE)
+
+bootstrap-clean-CMD:
+	if exist $(EMACS) $(MAKE) $(MFLAGS) autoloads
+	-for %f in ($(lisp) $(WINS)) do for %g in (%f\*.elc) do @$(DEL) %g
+
+bootstrap-clean-SH:
+	if test -f $(EMACS); then $(MAKE) $(MFLAGS) autoloads; fi
+	-rm -f $(lisp)/*.elc $(lisp)/*/*.elc
+
+# Generate/update files for the bootstrap process.
+
+bootstrap: autoloads compile-files custom-deps
+
+#
+# Assuming INSTALL_DIR is defined, copy the elisp files to it
+# Windows 95 makes this harder than it should be.
+#
+install:
+		- mkdir "$(INSTALL_DIR)/lisp"
+		- $(DEL) ../same-dir.tst
+		- $(DEL) "$(INSTALL_DIR)/same-dir.tst"
+		echo SameDirTest > "$(INSTALL_DIR)/same-dir.tst"
+#ifdef COPY_LISP_SOURCE
+		$(IFNOTSAMEDIR) $(CP_DIR) . "$(INSTALL_DIR)/lisp" $(ENDIF)
+#else
+#		$(IFNOTSAMEDIR) $(CP_DIR) *.elc "$(INSTALL_DIR)/lisp" $(ENDIF)
+#		$(IFNOTSAMEDIR) $(CP) cus-load.el "$(INSTALL_DIR)/lisp" $(ENDIF)
+#		$(IFNOTSAMEDIR) $(CP) forms*.el "$(INSTALL_DIR)/lisp" $(ENDIF)
+#		$(IFNOTSAMEDIR) $(CP) patcomp.el "$(INSTALL_DIR)/lisp" $(ENDIF)
+#		$(IFNOTSAMEDIR) $(CP) subdirs.el "$(INSTALL_DIR)/lisp" $(ENDIF)
+#		$(IFNOTSAMEDIR) $(CP) version.el "$(INSTALL_DIR)/lisp" $(ENDIF)
+#		$(IFNOTSAMEDIR) $(CP) mail/blessmail.el "$(INSTALL_DIR)/lisp/mail" $(ENDIF)
+#		$(IFNOTSAMEDIR) $(CP) mail/sc.el "$(INSTALL_DIR)/lisp/mail" $(ENDIF)
+#		$(IFNOTSAMEDIR) $(CP) play/bruce.el "$(INSTALL_DIR)/lisp/play" $(ENDIF)
+#		$(IFNOTSAMEDIR) $(CP) international/latin-*.el "$(INSTALL_DIR)/lisp/international" $(ENDIF)
+#		$(IFNOTSAMEDIR) $(CP) international/mule-conf.el "$(INSTALL_DIR)/lisp/international" $(ENDIF)
+#endif
+		- $(DEL) ../same-dir.tst
+		- $(DEL) "$(INSTALL_DIR)/same-dir.tst"
+
+#
+# Maintenance
+# 
+clean:
+		- $(DEL) *~
--- a/nt/makefile.w32-in	Thu Sep 14 21:51:49 2000 +0000
+++ b/nt/makefile.w32-in	Thu Sep 14 21:59:59 2000 +0000
@@ -1,206 +1,206 @@
-#
-#  Top level makefile for building GNU Emacs on Windows NT
-#
-#  This file is part of GNU Emacs.
-#  
-#  GNU Emacs is free software; you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2, or (at your option)
-#  any later version.
-#  
-#  GNU Emacs is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY; without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-#  GNU General Public License for more details.
-#  
-#  You should have received a copy of the GNU General Public License
-#  along with GNU Emacs; see the file COPYING.  If not, write to
-#  the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
-#  Boston, MA 02111-1307, USA.
-
-ALL		= addpm ddeclient runemacs cmdproxy addsection preprep
-
-.PHONY: $(ALL)
-
-TRES		= $(BLD)/emacs.res
-
-addpm:		  $(BLD) $(BLD)/addpm.exe
-$(BLD)/addpm.exe: $(BLD)/addpm.$(O)
-		  $(LINK) $(LINK_OUT)$@ \
-		  $(LINK_FLAGS) $(ALL_DEPS) $(BASE_LIBS) $(ADVAPI32) $(USER32)
-
-ddeclient:	  $(BLD) $(BLD)/ddeclient.exe
-$(BLD)/ddeclient.exe: $(BLD)/ddeclient.$(O)
-		  $(LINK) $(LINK_OUT)$@ \
-		  $(LINK_FLAGS) $(ALL_DEPS) $(BASE_LIBS) $(ADVAPI32) $(USER32)
-
-cmdproxy:	  $(BLD) $(BLD)/cmdproxy.exe
-$(BLD)/cmdproxy.exe: $(BLD)/cmdproxy.$(O)
-		  $(LINK) $(LINK_OUT)$@ \
-		  $(LINK_FLAGS) $(ALL_DEPS) $(BASE_LIBS) $(USER32)
-
-addsection:	  $(BLD) $(BLD)/addsection.exe
-$(BLD)/addsection.exe: $(BLD)/addsection.$(O)
-		  $(LINK) $(LINK_OUT)$@ \
-		  $(LINK_FLAGS) $(ALL_DEPS) $(BASE_LIBS) $(USER32)
-
-preprep:	  $(BLD) $(BLD)/preprep.exe
-$(BLD)/preprep.exe: $(BLD)/preprep.$(O)
-		  $(LINK) $(LINK_OUT)$@ \
-		  $(LINK_FLAGS) $(ALL_DEPS) $(BASE_LIBS)
-
-#
-# The resource file.  NT 3.10 requires the use of cvtres; even though
-# it is not necessary on later versions, it is still ok to use it.
-#
-$(TRES):	emacs.rc
-		$(RC) $(RC_OUT)$(BLD)/emacs.res $(ALL_DEPS)
-
-runemacs:	  $(BLD) $(BLD)/runemacs.exe
-$(BLD)/runemacs.exe: $(BLD)/runemacs.$(O) $(TRES)
-		  $(LINK) $(LINK_OUT)$@ $(SUBSYSTEM_WINDOWS) \
-		  $(LINK_FLAGS) $(ALL_DEPS) $(BASE_LIBS) $(ADVAPI32) $(USER32)
-
-which-sh:
-	@echo Using $(THE_SHELL) as shell.
-
-#
-# Build emacs
-#
-all:	which-sh $(BLD) $(ALL) all-other-dirs-$(SHELLTYPE)
-
-all-other-dirs-CMD:
-	cd ..\lib-src
-	$(MAKE) $(MFLAGS) all
-	cd ..\src
-	$(MAKE) $(MFLAGS) all
-	cd ..\lisp
-	$(MAKE) $(MFLAGS) all
-	cd ..\leim
-	$(MAKE) $(MFLAGS) all
-	cd ..\nt
-
-all-other-dirs-SH:
-	$(MAKE) $(MFLAGS) -C ../lib-src all
-	$(MAKE) $(MFLAGS) -C ../src all
-	$(MAKE) $(MFLAGS) -C ../lisp all
-	$(MAKE) $(MFLAGS) -C ../leim all
-
-bootstrap:	$(BLD) $(ALL) bootstrap-$(SHELLTYPE)
-
-bootstrap-CMD:
-	cd ..\src
-	$(MAKE) $(MFLAGS) bootstrap
-	$(MAKE) $(MFLAGS) bootstrap-clean
-	cd ..\lisp
-	$(MAKE) $(MFLAGS) bootstrap
-	cd ..\nt
-
-bootstrap-SH:
-	$(MAKE) $(MFLAGS) -C ../src bootstrap
-	$(MAKE) $(MFLAGS) -C ../src bootstrap-clean
-	$(MAKE) $(MFLAGS) -C ../lisp bootstrap
-
-bootstrap-clean: bootstrap-clean-$(SHELLTYPE)
-
-bootstrap-clean-CMD:
-	cd ..\src
-	$(MAKE) $(MFLAGS) bootstrap-clean
-	cd ..\lisp
-	$(MAKE) $(MFLAGS) bootstrap-clean
-
-bootstrap-clean-SH:
-	$(MAKE) $(MFLAGS) -C ../src bootstrap-clean
-	$(MAKE) $(MFLAGS) -C ../lisp bootstrap-clean
-
-$(INSTALL_DIR):
-	- mkdir "$(INSTALL_DIR)"
-
-$(INSTALL_DIR)/bin:
-	- mkdir "$(INSTALL_DIR)/bin"
-
-#
-# Build and install emacs in INSTALL_DIR
-#
-install: all $(INSTALL_DIR)/bin install-other-dirs-$(SHELLTYPE)
-	- $(CP) $(BLD)/addpm.exe $(INSTALL_DIR)/bin
-	- $(CP) $(BLD)/ddeclient.exe $(INSTALL_DIR)/bin
-	- $(CP) $(BLD)/cmdproxy.exe $(INSTALL_DIR)/bin
-	- $(CP) $(BLD)/runemacs.exe $(INSTALL_DIR)/bin
-	- $(CP) ../lib-src/fns-*.el $(INSTALL_DIR)/bin
-	- "$(INSTALL_DIR)/bin/addpm" /q
-	- $(DEL) ../same-dir.tst
-	- $(DEL) $(INSTALL_DIR)/same-dir.tst
-	- mkdir "$(INSTALL_DIR)/etc/icons"
-	- $(CP_DIR) icons $(INSTALL_DIR)/etc/icons
-	echo SameDirTest > "$(INSTALL_DIR)/same-dir.tst"
-	$(IFNOTSAMEDIR) $(MAKE) $(MFLAGS) real_install $(ENDIF)
-	- $(DEL) ../same-dir.tst
-	- $(DEL) $(INSTALL_DIR)/same-dir.tst
-
-install-other-dirs-CMD:
-	cd ..\lib-src
-	$(MAKE) $(MFLAGS) install
-	cd ..\src
-	$(MAKE) $(MFLAGS) install
-	cd ..\lisp
-	$(MAKE) $(MFLAGS) install
-	cd ..\leim
-	$(MAKE) $(MFLAGS) install
-	cd ..\nt
-
-install-other-dirs-SH:
-	$(MAKE) $(MFLAGS) -C ../lib-src install
-	$(MAKE) $(MFLAGS) -C ../src install
-	$(MAKE) $(MFLAGS) -C ../lisp install
-	$(MAKE) $(MFLAGS) -C ../leim install
-
-real_install:
-	- $(DEL) ../same-dir.tst
-	- $(DEL) $(INSTALL_DIR)/same-dir.tst
-	echo SameDirTest > $(INSTALL_DIR)/same-dir.tst
-	- mkdir "$(INSTALL_DIR)/etc"
-	- mkdir "$(INSTALL_DIR)/info"
-	- mkdir "$(INSTALL_DIR)/lock"
-	- mkdir "$(INSTALL_DIR)/data"
-	- mkdir "$(INSTALL_DIR)/site-lisp"
-	- mkdir "$(INSTALL_DIR)/etc/icons"
-	- $(CP_DIR) icons $(INSTALL_DIR)/etc/icons
-	$(IFNOTSAMEDIR) $(CP_DIR) ../etc $(INSTALL_DIR)/etc $(ENDIF)
-	$(IFNOTSAMEDIR) $(CP_DIR) ../info $(INSTALL_DIR)/info $(ENDIF)
-	- $(DEL) ../same-dir.tst
-	- $(DEL) $(INSTALL_DIR)/same-dir.tst
-
-#
-# Maintenance
-# 
-clean:	clean-other-dirs-$(SHELLTYPE)
-	- $(DEL) *~ *.pdb
-	- $(DEL_TREE) $(OBJDIR)
-	- $(DEL) ../etc/DOC ../etc/DOC-X
-
-clean-other-dirs-CMD:
-	cd ..\lib-src
-	$(MAKE) $(MFLAGS) clean
-	cd ..\src
-	$(MAKE) $(MFLAGS) clean
-	cd ..\lisp
-	$(MAKE) $(MFLAGS) clean
-	cd ..\leim
-	$(MAKE) $(MFLAGS) clean
-	cd ..\nt
-
-clean-other-dirs-SH:
-	$(MAKE) $(MFLAGS) -C ../lib-src clean
-	$(MAKE) $(MFLAGS) -C ../src clean
-	$(MAKE) $(MFLAGS) -C ../lisp clean
-	$(MAKE) $(MFLAGS) -C ../leim clean
-
-cleanall: clean
-	 - $(DEL_TREE) obj
-	 - $(DEL_TREE) obj-spd
-	 - $(DEL_TREE) oo
-	 - $(DEL_TREE) oo-spd
-
-realclean: cleanall
-	- $(DEL_TREE) ../bin
+#
+#  Top level makefile for building GNU Emacs on Windows NT
+#
+#  This file is part of GNU Emacs.
+#  
+#  GNU Emacs is free software; you can redistribute it and/or modify
+#  it under the terms of the GNU General Public License as published by
+#  the Free Software Foundation; either version 2, or (at your option)
+#  any later version.
+#  
+#  GNU Emacs is distributed in the hope that it will be useful,
+#  but WITHOUT ANY WARRANTY; without even the implied warranty of
+#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+#  GNU General Public License for more details.
+#  
+#  You should have received a copy of the GNU General Public License
+#  along with GNU Emacs; see the file COPYING.  If not, write to
+#  the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+#  Boston, MA 02111-1307, USA.
+
+ALL		= addpm ddeclient runemacs cmdproxy addsection preprep
+
+.PHONY: $(ALL)
+
+TRES		= $(BLD)/emacs.res
+
+addpm:		  $(BLD) $(BLD)/addpm.exe
+$(BLD)/addpm.exe: $(BLD)/addpm.$(O)
+		  $(LINK) $(LINK_OUT)$@ \
+		  $(LINK_FLAGS) $(ALL_DEPS) $(BASE_LIBS) $(ADVAPI32) $(USER32)
+
+ddeclient:	  $(BLD) $(BLD)/ddeclient.exe
+$(BLD)/ddeclient.exe: $(BLD)/ddeclient.$(O)
+		  $(LINK) $(LINK_OUT)$@ \
+		  $(LINK_FLAGS) $(ALL_DEPS) $(BASE_LIBS) $(ADVAPI32) $(USER32)
+
+cmdproxy:	  $(BLD) $(BLD)/cmdproxy.exe
+$(BLD)/cmdproxy.exe: $(BLD)/cmdproxy.$(O)
+		  $(LINK) $(LINK_OUT)$@ \
+		  $(LINK_FLAGS) $(ALL_DEPS) $(BASE_LIBS) $(USER32)
+
+addsection:	  $(BLD) $(BLD)/addsection.exe
+$(BLD)/addsection.exe: $(BLD)/addsection.$(O)
+		  $(LINK) $(LINK_OUT)$@ \
+		  $(LINK_FLAGS) $(ALL_DEPS) $(BASE_LIBS) $(USER32)
+
+preprep:	  $(BLD) $(BLD)/preprep.exe
+$(BLD)/preprep.exe: $(BLD)/preprep.$(O)
+		  $(LINK) $(LINK_OUT)$@ \
+		  $(LINK_FLAGS) $(ALL_DEPS) $(BASE_LIBS)
+
+#
+# The resource file.  NT 3.10 requires the use of cvtres; even though
+# it is not necessary on later versions, it is still ok to use it.
+#
+$(TRES):	emacs.rc
+		$(RC) $(RC_OUT)$(BLD)/emacs.res $(ALL_DEPS)
+
+runemacs:	  $(BLD) $(BLD)/runemacs.exe
+$(BLD)/runemacs.exe: $(BLD)/runemacs.$(O) $(TRES)
+		  $(LINK) $(LINK_OUT)$@ $(SUBSYSTEM_WINDOWS) \
+		  $(LINK_FLAGS) $(ALL_DEPS) $(BASE_LIBS) $(ADVAPI32) $(USER32)
+
+which-sh:
+	@echo Using $(THE_SHELL) as shell.
+
+#
+# Build emacs
+#
+all:	which-sh $(BLD) $(ALL) all-other-dirs-$(SHELLTYPE)
+
+all-other-dirs-CMD:
+	cd ..\lib-src
+	$(MAKE) $(MFLAGS) all
+	cd ..\src
+	$(MAKE) $(MFLAGS) all
+	cd ..\lisp
+	$(MAKE) $(MFLAGS) all
+	cd ..\leim
+	$(MAKE) $(MFLAGS) all
+	cd ..\nt
+
+all-other-dirs-SH:
+	$(MAKE) $(MFLAGS) -C ../lib-src all
+	$(MAKE) $(MFLAGS) -C ../src all
+	$(MAKE) $(MFLAGS) -C ../lisp all
+	$(MAKE) $(MFLAGS) -C ../leim all
+
+bootstrap:	$(BLD) $(ALL) bootstrap-$(SHELLTYPE)
+
+bootstrap-CMD:
+	cd ..\src
+	$(MAKE) $(MFLAGS) bootstrap
+	$(MAKE) $(MFLAGS) bootstrap-clean
+	cd ..\lisp
+	$(MAKE) $(MFLAGS) bootstrap
+	cd ..\nt
+
+bootstrap-SH:
+	$(MAKE) $(MFLAGS) -C ../src bootstrap
+	$(MAKE) $(MFLAGS) -C ../src bootstrap-clean
+	$(MAKE) $(MFLAGS) -C ../lisp bootstrap
+
+bootstrap-clean: bootstrap-clean-$(SHELLTYPE)
+
+bootstrap-clean-CMD:
+	cd ..\src
+	$(MAKE) $(MFLAGS) bootstrap-clean
+	cd ..\lisp
+	$(MAKE) $(MFLAGS) bootstrap-clean
+
+bootstrap-clean-SH:
+	$(MAKE) $(MFLAGS) -C ../src bootstrap-clean
+	$(MAKE) $(MFLAGS) -C ../lisp bootstrap-clean
+
+$(INSTALL_DIR):
+	- mkdir "$(INSTALL_DIR)"
+
+$(INSTALL_DIR)/bin:
+	- mkdir "$(INSTALL_DIR)/bin"
+
+#
+# Build and install emacs in INSTALL_DIR
+#
+install: all $(INSTALL_DIR)/bin install-other-dirs-$(SHELLTYPE)
+	- $(CP) $(BLD)/addpm.exe $(INSTALL_DIR)/bin
+	- $(CP) $(BLD)/ddeclient.exe $(INSTALL_DIR)/bin
+	- $(CP) $(BLD)/cmdproxy.exe $(INSTALL_DIR)/bin
+	- $(CP) $(BLD)/runemacs.exe $(INSTALL_DIR)/bin
+	- $(CP) ../lib-src/fns-*.el $(INSTALL_DIR)/bin
+	- "$(INSTALL_DIR)/bin/addpm" /q
+	- $(DEL) ../same-dir.tst
+	- $(DEL) $(INSTALL_DIR)/same-dir.tst
+	- mkdir "$(INSTALL_DIR)/etc/icons"
+	- $(CP_DIR) icons $(INSTALL_DIR)/etc/icons
+	echo SameDirTest > "$(INSTALL_DIR)/same-dir.tst"
+	$(IFNOTSAMEDIR) $(MAKE) $(MFLAGS) real_install $(ENDIF)
+	- $(DEL) ../same-dir.tst
+	- $(DEL) $(INSTALL_DIR)/same-dir.tst
+
+install-other-dirs-CMD:
+	cd ..\lib-src
+	$(MAKE) $(MFLAGS) install
+	cd ..\src
+	$(MAKE) $(MFLAGS) install
+	cd ..\lisp
+	$(MAKE) $(MFLAGS) install
+	cd ..\leim
+	$(MAKE) $(MFLAGS) install
+	cd ..\nt
+
+install-other-dirs-SH:
+	$(MAKE) $(MFLAGS) -C ../lib-src install
+	$(MAKE) $(MFLAGS) -C ../src install
+	$(MAKE) $(MFLAGS) -C ../lisp install
+	$(MAKE) $(MFLAGS) -C ../leim install
+
+real_install:
+	- $(DEL) ../same-dir.tst
+	- $(DEL) $(INSTALL_DIR)/same-dir.tst
+	echo SameDirTest > $(INSTALL_DIR)/same-dir.tst
+	- mkdir "$(INSTALL_DIR)/etc"
+	- mkdir "$(INSTALL_DIR)/info"
+	- mkdir "$(INSTALL_DIR)/lock"
+	- mkdir "$(INSTALL_DIR)/data"
+	- mkdir "$(INSTALL_DIR)/site-lisp"
+	- mkdir "$(INSTALL_DIR)/etc/icons"
+	- $(CP_DIR) icons $(INSTALL_DIR)/etc/icons
+	$(IFNOTSAMEDIR) $(CP_DIR) ../etc $(INSTALL_DIR)/etc $(ENDIF)
+	$(IFNOTSAMEDIR) $(CP_DIR) ../info $(INSTALL_DIR)/info $(ENDIF)
+	- $(DEL) ../same-dir.tst
+	- $(DEL) $(INSTALL_DIR)/same-dir.tst
+
+#
+# Maintenance
+# 
+clean:	clean-other-dirs-$(SHELLTYPE)
+	- $(DEL) *~ *.pdb
+	- $(DEL_TREE) $(OBJDIR)
+	- $(DEL) ../etc/DOC ../etc/DOC-X
+
+clean-other-dirs-CMD:
+	cd ..\lib-src
+	$(MAKE) $(MFLAGS) clean
+	cd ..\src
+	$(MAKE) $(MFLAGS) clean
+	cd ..\lisp
+	$(MAKE) $(MFLAGS) clean
+	cd ..\leim
+	$(MAKE) $(MFLAGS) clean
+	cd ..\nt
+
+clean-other-dirs-SH:
+	$(MAKE) $(MFLAGS) -C ../lib-src clean
+	$(MAKE) $(MFLAGS) -C ../src clean
+	$(MAKE) $(MFLAGS) -C ../lisp clean
+	$(MAKE) $(MFLAGS) -C ../leim clean
+
+cleanall: clean
+	 - $(DEL_TREE) obj
+	 - $(DEL_TREE) obj-spd
+	 - $(DEL_TREE) oo
+	 - $(DEL_TREE) oo-spd
+
+realclean: cleanall
+	- $(DEL_TREE) ../bin
--- a/src/makefile.w32-in	Thu Sep 14 21:51:49 2000 +0000
+++ b/src/makefile.w32-in	Thu Sep 14 21:59:59 2000 +0000
@@ -1,1170 +1,1170 @@
-#  Makefile for GNU Emacs on the Microsoft W32 API.
-#  Copyright (c) 1992-2000 Free Software Foundation, Inc.
-#
-#  This file is part of GNU Emacs.
-#  
-#  GNU Emacs is free software; you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2, or (at your option)
-#  any later version.
-#  
-#  GNU Emacs is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY; without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-#  GNU General Public License for more details.
-#  
-#  You should have received a copy of the GNU General Public License
-#  along with GNU Emacs; see the file COPYING.  If not, write to the
-#  Free Software Foundation, Inc., 59 Temple Place - Suite 330,
-#  Boston, MA 02111-1307, USA.
-#
-
-ALL = emacs
-
-.PHONY: $(ALL)
-
-#
-# HAVE_CONFIG_H is required by some generic gnu sources stuck into
-# the emacs source tree.
-#
-LOCAL_FLAGS     = -Demacs=1 -DWINDOWSNT -DDOS_NT -DHAVE_CONFIG_H -I../nt/inc -D_UCHAR_T -DHAVE_NTGUI=1 $(EMACS_EXTRA_C_FLAGS)
-
-EMACS           = $(BLD)/emacs.exe
-TEMACS          = $(BLD)/temacs.exe
-TEMACS_TMP      = $(BLD)/temacs.bin
-TLIB0           = $(BLD)/temacs0.$(A)
-TLIB1           = $(BLD)/temacs1.$(A)
-TLIBW32         = $(BLD)/temacw32.$(A)
-TOBJ            = $(BLD)/firstfile.$(O)
-TRES		= $(BLD)/emacs.res
-TLASTLIB	= $(BLD)/lastfile.$(A)
-
-FULL_LINK_FLAGS      = $(LINK_FLAGS) $(TEMACS_EXTRA_LINK)
-
-#
-# Split up the objects into two sets so that we don't run out of
-# command line space when we link them into a library.
-#
-# Put emacs.$(O) in a separate lib, since we need to have firstfile.$(O)
-# as the "main" object file when linking.
-#
-OBJ0 =  $(BLD)/emacs.$(O)
-
-OBJ1 =  $(BLD)/abbrev.$(O)			\
-	$(BLD)/alloc.$(O)			\
-	$(BLD)/alloca.$(O)			\
-	$(BLD)/atimer.$(O)			\
-	$(BLD)/buffer.$(O)			\
-	$(BLD)/bytecode.$(O)			\
-	$(BLD)/callint.$(O)			\
-	$(BLD)/callproc.$(O)			\
-	$(BLD)/casefiddle.$(O)			\
-	$(BLD)/cm.$(O)				\
-	$(BLD)/cmds.$(O)			\
-	$(BLD)/data.$(O)			\
-	$(BLD)/dired.$(O)			\
-	$(BLD)/dispnew.$(O)			\
-	$(BLD)/doc.$(O)				\
-	$(BLD)/doprnt.$(O)			\
-	$(BLD)/editfns.$(O)			\
-	$(BLD)/eval.$(O)			\
-	$(BLD)/fileio.$(O)			\
-	$(BLD)/filelock.$(O)			\
-	$(BLD)/filemode.$(O)			\
-	$(BLD)/fns.$(O)				\
-	$(BLD)/indent.$(O)			\
-	$(BLD)/insdel.$(O)			\
-	$(BLD)/keyboard.$(O)			\
-	$(BLD)/keymap.$(O)			\
-	$(BLD)/lread.$(O)			\
-	$(BLD)/macros.$(O)			\
-	$(BLD)/marker.$(O)			\
-	$(BLD)/minibuf.$(O)			\
-	$(BLD)/mocklisp.$(O)			\
-	$(BLD)/w32.$(O)				\
-	$(BLD)/w32heap.$(O)			\
-	$(BLD)/w32inevt.$(O)			\
-	$(BLD)/w32proc.$(O)			\
-	$(BLD)/w32console.$(O)			\
-	$(BLD)/print.$(O)			\
-	$(BLD)/process.$(O)			\
-	$(BLD)/regex.$(O)			\
-	$(BLD)/scroll.$(O)			\
-	$(BLD)/search.$(O)			\
-	$(BLD)/syntax.$(O)			\
-	$(BLD)/sysdep.$(O)			\
-	$(BLD)/term.$(O)			\
-	$(BLD)/termcap.$(O)			\
-	$(BLD)/tparam.$(O)			\
-	$(BLD)/undo.$(O)			\
-	$(BLD)/unexw32.$(O)			\
-	$(BLD)/window.$(O)			\
-	$(BLD)/xdisp.$(O)			\
-	$(BLD)/casetab.$(O)			\
-	$(BLD)/floatfns.$(O)			\
-	$(BLD)/frame.$(O)			\
-	$(BLD)/gmalloc.$(O)			\
-	$(BLD)/intervals.$(O)			\
-	$(BLD)/composite.$(O)			\
-	$(BLD)/ralloc.$(O)			\
-	$(BLD)/textprop.$(O)			\
-	$(BLD)/vm-limit.$(O)			\
-	$(BLD)/region-cache.$(O)		\
-	$(BLD)/strftime.$(O)			\
-	$(BLD)/charset.$(O)			\
-	$(BLD)/coding.$(O)			\
-	$(BLD)/category.$(O)			\
-	$(BLD)/ccl.$(O)				\
-	$(BLD)/fontset.$(O)
-
-WIN32OBJ = $(BLD)/w32term.$(O)			\
-	   $(BLD)/w32xfns.$(O)			\
-	   $(BLD)/w32fns.$(O)			\
-	   $(BLD)/xfaces.$(O)			\
-	   $(BLD)/w32select.$(O)		\
-	   $(BLD)/w32menu.$(O)			\
-	   $(BLD)/w32reg.$(O)			\
-	   $(BLD)/w32bdf.$(O)
-
-LIBS =  $(TLIB0)	\
-	$(TLIB1)	\
-	$(TLIBW32)	\
-	$(TLASTLIB)	\
-	$(ADVAPI32)	\
-	$(GDI32)	\
-	$(COMDLG32)	\
-	$(USER32)	\
-	$(MPR)		\
-	$(SHELL32)	\
-	$(libc)
-
-#
-# Build the executable and dump it.
-#
-all:            $(ALL)
-
-#
-# The dumped executable
-#
-emacs:          $(BLD) $(EMACS)
-$(EMACS):       $(DOC) $(TEMACS)
-	"./$(BLD)/temacs.exe" -batch -l loadup dump
-
-#
-# The undumped executable
-# Note the extra post-link step to insert a static preload heap section.
-# If preload runs out of memory, increase the last argument to addsection
-# (it is the preload heap size in MB).
-#
-temacs:         $(BLD) $(TEMACS)
-$(TEMACS):      $(TLIB0) $(TLIB1) $(TLIBW32) $(TLASTLIB) $(TOBJ) $(TRES)
-	$(LINK) $(LINK_OUT)$(TEMACS_TMP) $(FULL_LINK_FLAGS) $(TOBJ) $(TRES) $(LIBS)
-	"../nt/$(BLD)/addsection" "$(TEMACS_TMP)" "$(TEMACS)" EMHEAP 16
-
-bootstrap: bootstrap-emacs
-
-#
-# Build a temacs with a sufficiently large PURESIZE to load the
-# Lisp files from loadup.el in source form.
-#
-bootstrap-temacs: bootstrap-clean
-	$(MAKE) $(MFLAGS) temacs CFLAGS=$(ARGQUOTE)$(CFLAGS) -DPURESIZE=5000000$(ARGQUOTE)
-
-#
-# Dump an Emacs executable named bootstrap-emacs containing the 
-# files from loadup.el in source form.
-#
-bootstrap-emacs: bootstrap-temacs
-	"./$(BLD)/temacs.exe" -batch -l loadup bootstrap
-	- mkdir "../bin"
-	$(CP) $(EMACS) ../bin
-
-#
-# Force recompile of files that depend on PURESIZE
-#
-bootstrap-clean:
-	- $(DEL) $(BLD)/alloc.$(O)
-	- $(DEL) $(BLD)/data.$(O)
-	- $(DEL) $(BLD)/intervals.$(O)
-	- $(DEL) $(BLD)/keyboard.$(O)
-	- $(DEL) $(BLD)/keymap.$(O)
-
-#
-# The resource file.  NT 3.10 requires the use of cvtres; even though
-# it is not necessary on later versions, it is still ok to use it.
-#
-$(TRES): ../nt/emacs.rc
-	$(RC) $(RC_INCLUDE)../nt $(RC_OUT)$@ $(ALL_DEPS)
-
-#
-# Build the library.  Split up the build into two phases...otherwise we 
-# run out of command line space.
-#
-$(TLIB0):       $(OBJ0)
-	- $(DEL) $@
-	$(AR) $(AR_OUT)$@ $(ALL_DEPS)
-$(TLIB1):       $(OBJ1)
-	- $(DEL) $@
-	$(AR) $(AR_OUT)$@ $(ALL_DEPS)
-$(TLIBW32):	$(WIN32OBJ)
-	- $(DEL) $@
-	$(AR) $(AR_OUT)$@ $(ALL_DEPS)
-
-#
-# Place lastfile.$(O) in its own library so that it can be loaded after
-# the source libraries but before any system libraries.  Doing so defines
-# the end of Emacs' data section portably across compilers and systems.
-#
-$(TLASTLIB):	$(BLD)/lastfile.$(O)
-	- $(DEL) $@
-	$(AR) $(AR_OUT)$@ $(ALL_DEPS)
-
-#
-# Assuming INSTALL_DIR is defined, build and install emacs in it.
-#
-install:        $(ALL)
-	- mkdir "$(INSTALL_DIR)/bin"
-	$(CP) $(EMACS) $(INSTALL_DIR)/bin
-
-#
-# Maintenance
-# 
-clean:
-	- $(DEL) *~ "s/*~" "m/*~"
-	- $(DEL) *.pdb
-	- $(DEL_TREE) $(OBJDIR)
-
-distclean:	clean
-	- $(DEL) config.h epaths.h
-
-cleanall:	clean
-	- $(DEL_TREE) obj
-	- $(DEL_TREE) obj-spd
-	- $(DEL_TREE) oo
-	- $(DEL_TREE) oo-spd
-
-### DEPENDENCIES ###
-
-EMACS_ROOT	= ..
-SRC		= .
-
-$(BLD)/abbrev.obj : \
-	$(SRC)/abbrev.c \
-	$(EMACS_ROOT)/src/s/ms-w32.h \
-	$(EMACS_ROOT)/src/m/intel386.h \
-	$(EMACS_ROOT)/src/config.h \
-	$(SRC)/commands.h \
-	$(SRC)/buffer.h \
-	$(SRC)/window.h
-
-$(BLD)/alloc.obj : \
-	$(SRC)/alloc.c \
-	$(EMACS_ROOT)/src/s/ms-w32.h \
-	$(EMACS_ROOT)/src/m/intel386.h \
-	$(EMACS_ROOT)/src/config.h \
-	$(SRC)/dispextern.h \
-	$(SRC)/intervals.h \
-	$(SRC)/composite.h \
-	$(SRC)/puresize.h \
-	$(SRC)/buffer.h \
-	$(SRC)/window.h \
-	$(SRC)/frame.h \
-	$(SRC)/blockinput.h \
-	$(SRC)/syssignal.h
-
-$(BLD)/alloca.obj : \
-	$(SRC)/alloca.c \
-	$(EMACS_ROOT)/src/s/ms-w32.h \
-	$(EMACS_ROOT)/src/m/intel386.h \
-	$(EMACS_ROOT)/src/config.h \
-	$(SRC)/s/ms-w32.h \
-	$(SRC)/m/intel386.h \
-	$(SRC)/config.h \
-	$(SRC)/blockinput.h
-
-$(BLD)/atimer.obj : \
-	$(SRC)/atimer.c \
-	$(EMACS_ROOT)/src/s/ms-w32.h \
-	$(EMACS_ROOT)/src/m/intel386.h \
-	$(EMACS_ROOT)/src/config.h \
-	$(SRC)/s/ms-w32.h \
-	$(SRC)/m/intel386.h \
-	$(SRC)/config.h \
-	$(SRC)/atimer.h \
-	$(SRC)/syssignal.h \
-	$(SRC)/systime.h \
-	$(SRC)/blockinput.h
-
-$(BLD)/buffer.obj : \
-	$(SRC)/buffer.c \
-	$(EMACS_ROOT)/nt/inc/sys/param.h \
-	$(EMACS_ROOT)/src/s/ms-w32.h \
-	$(EMACS_ROOT)/src/m/intel386.h \
-	$(EMACS_ROOT)/src/config.h \
-	$(SRC)/dispextern.h \
-	$(SRC)/intervals.h \
-	$(SRC)/composite.h \
-	$(SRC)/frame.h \
-	$(SRC)/window.h \
-	$(SRC)/commands.h \
-	$(SRC)/buffer.h \
-	$(SRC)/indent.h \
-	$(SRC)/blockinput.h \
-	$(SRC)/region-cache.h
-
-$(BLD)/bytecode.obj : \
-	$(SRC)/bytecode.c \
-	$(EMACS_ROOT)/src/s/ms-w32.h \
-	$(EMACS_ROOT)/src/m/intel386.h \
-	$(EMACS_ROOT)/src/config.h \
-	$(SRC)/buffer.h \
-	$(SRC)/syntax.h
-
-$(BLD)/callint.obj : \
-	$(SRC)/callint.c \
-	$(EMACS_ROOT)/src/s/ms-w32.h \
-	$(EMACS_ROOT)/src/m/intel386.h \
-	$(EMACS_ROOT)/src/config.h \
-	$(SRC)/buffer.h \
-	$(SRC)/commands.h \
-	$(SRC)/keyboard.h \
-	$(SRC)/window.h \
-	$(SRC)/mocklisp.h
-
-$(BLD)/callproc.obj : \
-	$(SRC)/callproc.c \
-	$(EMACS_ROOT)/src/s/ms-w32.h \
-	$(EMACS_ROOT)/src/m/intel386.h \
-	$(EMACS_ROOT)/src/config.h \
-	$(SRC)/msdos.h \
-	$(EMACS_ROOT)/nt/inc/sys/param.h \
-	$(SRC)/commands.h \
-	$(SRC)/buffer.h \
-	$(SRC)/process.h \
-	$(SRC)/syssignal.h \
-	$(EMACS_ROOT)/nt/inc/sys/ioctl.h \
-	$(EMACS_ROOT)/nt/inc/sys/file.h \
-	$(SRC)/systty.h
-
-$(BLD)/casefiddle.obj : \
-	$(SRC)/casefiddle.c \
-	$(EMACS_ROOT)/src/s/ms-w32.h \
-	$(EMACS_ROOT)/src/m/intel386.h \
-	$(EMACS_ROOT)/src/config.h \
-	$(SRC)/buffer.h \
-	$(SRC)/commands.h \
-	$(SRC)/syntax.h
-	$(CC) $(CFLAGS) -Fo$@ casefiddle.c
-
-$(BLD)/casetab.obj : \
-	$(SRC)/casetab.c \
-	$(EMACS_ROOT)/src/s/ms-w32.h \
-	$(EMACS_ROOT)/src/m/intel386.h \
-	$(EMACS_ROOT)/src/config.h \
-	$(SRC)/buffer.h
-
-$(BLD)/cm.obj : \
-	$(SRC)/cm.c \
-	$(EMACS_ROOT)/src/s/ms-w32.h \
-	$(EMACS_ROOT)/src/m/intel386.h \
-	$(EMACS_ROOT)/src/config.h \
-	$(SRC)/cm.h \
-	$(SRC)/termhooks.h
-
-$(BLD)/cmds.obj : \
-	$(SRC)/cmds.c \
-	$(EMACS_ROOT)/src/s/ms-w32.h \
-	$(EMACS_ROOT)/src/m/intel386.h \
-	$(EMACS_ROOT)/src/config.h \
-	$(SRC)/commands.h \
-	$(SRC)/buffer.h \
-	$(SRC)/syntax.h
-
-$(BLD)/composite.obj : \
-	$(SRC)/composite.c \
-	$(SRC)/buffer.h \
-	$(SRC)/charset.h \
-	$(SRC)/intervals.h \
-	$(SRC)/composite.h \
-	$(EMACS_ROOT)/src/s/ms-w32.h \
-	$(EMACS_ROOT)/src/m/intel386.h \
-	$(EMACS_ROOT)/src/config.h
-
-$(BLD)/data.obj : \
-	$(SRC)/data.c \
-	$(EMACS_ROOT)/src/s/ms-w32.h \
-	$(EMACS_ROOT)/src/m/intel386.h \
-	$(EMACS_ROOT)/src/config.h \
-	$(SRC)/puresize.h \
-	$(SRC)/buffer.h \
-	$(SRC)/syssignal.h
-
-$(BLD)/dired.obj : \
-	$(SRC)/dired.c \
-	$(EMACS_ROOT)/src/s/ms-w32.h \
-	$(EMACS_ROOT)/src/m/intel386.h \
-	$(EMACS_ROOT)/src/config.h \
-	$(SRC)/vmsdir.h \
-	$(SRC)/ndir.h \
-	$(SRC)/buffer.h \
-	$(SRC)/commands.h \
-	$(SRC)/regex.h
-
-$(BLD)/dispnew.obj : \
-	$(SRC)/dispnew.c \
-	$(EMACS_ROOT)/src/s/ms-w32.h \
-	$(EMACS_ROOT)/src/m/intel386.h \
-	$(EMACS_ROOT)/src/config.h \
-	$(SRC)/termchar.h \
-	$(SRC)/termopts.h \
-	$(SRC)/termhooks.h \
-	$(SRC)/cm.h \
-	$(SRC)/buffer.h \
-	$(SRC)/frame.h \
-	$(SRC)/window.h \
-	$(SRC)/commands.h \
-	$(SRC)/disptab.h \
-	$(SRC)/indent.h \
-	$(SRC)/dispextern.h \
-	$(SRC)/intervals.h \
-	$(SRC)/composite.h \
-	$(EMACS_ROOT)/nt/inc/sys/ioctl.h \
-	$(EMACS_ROOT)/nt/inc/sys/file.h \
-	$(SRC)/systty.h \
-	$(SRC)/w32term.h \
-	$(SRC)/xterm.h \
-	$(SRC)/vmstime.h \
-	$(SRC)/systime.h
-
-$(BLD)/doc.obj : \
-	$(SRC)/doc.c \
-	$(EMACS_ROOT)/src/s/ms-w32.h \
-	$(EMACS_ROOT)/src/m/intel386.h \
-	$(EMACS_ROOT)/src/config.h \
-	$(EMACS_ROOT)/nt/inc/sys/file.h \
-	$(SRC)/buffer.h \
-	$(SRC)/keyboard.h
-
-$(BLD)/doprnt.obj : \
-	$(SRC)/doprnt.c \
-	$(EMACS_ROOT)/src/s/ms-w32.h \
-	$(EMACS_ROOT)/src/m/intel386.h \
-	$(EMACS_ROOT)/src/config.h
-
-$(BLD)/dosfns.obj : \
-	$(SRC)/dosfns.c \
-	$(EMACS_ROOT)/src/s/ms-w32.h \
-	$(EMACS_ROOT)/src/m/intel386.h \
-	$(EMACS_ROOT)/src/config.h \
-	$(SRC)/buffer.h \
-	$(SRC)/termchar.h \
-	$(SRC)/termhooks.h \
-	$(SRC)/frame.h \
-	$(SRC)/dosfns.h \
-	$(SRC)/msdos.h
-
-$(BLD)/editfns.obj : \
-	$(SRC)/editfns.c \
-	$(EMACS_ROOT)/src/s/ms-w32.h \
-	$(EMACS_ROOT)/src/m/intel386.h \
-	$(EMACS_ROOT)/src/config.h \
-	$(SRC)/uaf.h \
-	$(SRC)/vms-pwd.h \
-	$(EMACS_ROOT)/nt/inc/pwd.h \
-	$(SRC)/dispextern.h \
-	$(SRC)/intervals.h \
-	$(SRC)/composite.h \
-	$(SRC)/buffer.h \
-	$(SRC)/window.h \
-	$(SRC)/vmstime.h \
-	$(SRC)/systime.h
-
-$(BLD)/emacs.obj : \
-	$(SRC)/emacs.c \
-	$(EMACS_ROOT)/src/s/ms-w32.h \
-	$(EMACS_ROOT)/src/m/intel386.h \
-	$(EMACS_ROOT)/src/config.h \
-	$(SRC)/commands.h \
-	$(SRC)/dispextern.h \
-	$(SRC)/intervals.h \
-	$(SRC)/composite.h \
-	$(EMACS_ROOT)/nt/inc/sys/ioctl.h \
-	$(EMACS_ROOT)/nt/inc/sys/file.h \
-	$(SRC)/systty.h \
-	$(SRC)/syssignal.h \
-	$(SRC)/process.h
-
-$(BLD)/eval.obj : \
-	$(SRC)/eval.c \
-	$(EMACS_ROOT)/src/s/ms-w32.h \
-	$(EMACS_ROOT)/src/m/intel386.h \
-	$(EMACS_ROOT)/src/config.h \
-	$(SRC)/blockinput.h \
-	$(SRC)/commands.h \
-	$(SRC)/keyboard.h
-
-$(BLD)/fileio.obj : \
-	$(SRC)/fileio.c \
-	$(EMACS_ROOT)/src/s/ms-w32.h \
-	$(EMACS_ROOT)/src/m/intel386.h \
-	$(EMACS_ROOT)/src/config.h \
-	$(SRC)/uaf.h \
-	$(SRC)/vms-pwd.h \
-	$(EMACS_ROOT)/nt/inc/pwd.h \
-	$(SRC)/msdos.h \
-	$(EMACS_ROOT)/nt/inc/sys/param.h \
-	$(SRC)/vmsdir.h \
-	$(SRC)/dispextern.h \
-	$(SRC)/intervals.h \
-	$(SRC)/composite.h \
-	$(SRC)/buffer.h \
-	$(SRC)/window.h \
-	$(EMACS_ROOT)/nt/inc/sys/file.h \
-	$(SRC)/vmstime.h \
-	$(SRC)/systime.h
-
-$(BLD)/filelock.obj : \
-	$(SRC)/filelock.c \
-	$(EMACS_ROOT)/src/s/ms-w32.h \
-	$(EMACS_ROOT)/src/m/intel386.h \
-	$(EMACS_ROOT)/src/config.h \
-	$(SRC)/uaf.h \
-	$(SRC)/vms-pwd.h \
-	$(EMACS_ROOT)/nt/inc/pwd.h \
-	$(EMACS_ROOT)/nt/inc/sys/file.h \
-	$(EMACS_ROOT)/src/epaths.h \
-	$(SRC)/buffer.h \
-	$(SRC)/vmsdir.h \
-	$(SRC)/ndir.h
-
-$(BLD)/filemode.obj : \
-	$(SRC)/filemode.c \
-	$(EMACS_ROOT)/src/s/ms-w32.h \
-	$(EMACS_ROOT)/src/m/intel386.h \
-	$(EMACS_ROOT)/src/config.h \
-	$(SRC)/s/ms-w32.h \
-	$(SRC)/m/intel386.h \
-	$(SRC)/config.h
-
-$(BLD)/firstfile.obj : \
-	$(SRC)/firstfile.c \
-	$(EMACS_ROOT)/src/s/ms-w32.h \
-	$(EMACS_ROOT)/src/m/intel386.h \
-	$(EMACS_ROOT)/src/config.h
-
-$(BLD)/floatfns.obj : \
-	$(SRC)/floatfns.c \
-	$(EMACS_ROOT)/src/s/ms-w32.h \
-	$(EMACS_ROOT)/src/m/intel386.h \
-	$(EMACS_ROOT)/src/config.h \
-	$(SRC)/syssignal.h
-
-$(BLD)/fns.obj : \
-	$(SRC)/fns.c \
-	$(EMACS_ROOT)/src/s/ms-w32.h \
-	$(EMACS_ROOT)/src/m/intel386.h \
-	$(EMACS_ROOT)/src/config.h \
-	$(SRC)/commands.h \
-	$(SRC)/buffer.h \
-	$(SRC)/keyboard.h \
-	$(SRC)/dispextern.h \
-	$(SRC)/intervals.h \
-	$(SRC)/composite.h
-
-$(BLD)/frame.obj : \
-	$(SRC)/frame.c \
-	$(EMACS_ROOT)/src/s/ms-w32.h \
-	$(EMACS_ROOT)/src/m/intel386.h \
-	$(EMACS_ROOT)/src/config.h \
-	$(SRC)/frame.h \
-	$(SRC)/termhooks.h \
-	$(SRC)/window.h \
-	$(SRC)/buffer.h \
-	$(SRC)/commands.h \
-	$(SRC)/keyboard.h
-
-$(BLD)/getloadavg.obj : \
-	$(SRC)/getloadavg.c \
-	$(EMACS_ROOT)/nt/inc/sys/param.h \
-	$(EMACS_ROOT)/src/s/ms-w32.h \
-	$(EMACS_ROOT)/src/m/intel386.h \
-	$(EMACS_ROOT)/src/config.h \
-	$(SRC)/s/ms-w32.h \
-	$(SRC)/m/intel386.h \
-	$(SRC)/config.h \
-	$(EMACS_ROOT)/nt/inc/sys/file.h
-
-$(BLD)/gmalloc.obj : \
-	$(SRC)/gmalloc.c \
-	$(EMACS_ROOT)/src/s/ms-w32.h \
-	$(EMACS_ROOT)/src/m/intel386.h \
-	$(EMACS_ROOT)/src/config.h \
-	$(EMACS_ROOT)/nt/inc/sys/param.h \
-	$(SRC)/getpagesize.h
-	$(CC) $(CFLAGS) -D__STDC__ -Fo$@ gmalloc.c
-
-$(BLD)/hftctl.obj : \
-	$(SRC)/hftctl.c \
-	$(EMACS_ROOT)/src/s/ms-w32.h \
-	$(EMACS_ROOT)/src/m/intel386.h \
-	$(EMACS_ROOT)/src/config.h \
-	$(EMACS_ROOT)/nt/inc/sys/ioctl.h
-
-$(BLD)/indent.obj : \
-	$(SRC)/indent.c \
-	$(EMACS_ROOT)/src/s/ms-w32.h \
-	$(EMACS_ROOT)/src/m/intel386.h \
-	$(EMACS_ROOT)/src/config.h \
-	$(SRC)/buffer.h \
-	$(SRC)/indent.h \
-	$(SRC)/frame.h \
-	$(SRC)/window.h \
-	$(SRC)/termchar.h \
-	$(SRC)/termopts.h \
-	$(SRC)/disptab.h \
-	$(SRC)/dispextern.h \
-	$(SRC)/intervals.h \
-	$(SRC)/region-cache.h \
-	$(SRC)/composite.h
-
-$(BLD)/insdel.obj : \
-	$(SRC)/insdel.c \
-	$(EMACS_ROOT)/src/s/ms-w32.h \
-	$(EMACS_ROOT)/src/m/intel386.h \
-	$(EMACS_ROOT)/src/config.h \
-	$(SRC)/dispextern.h \
-	$(SRC)/intervals.h \
-	$(SRC)/composite.h \
-	$(SRC)/buffer.h \
-	$(SRC)/window.h \
-	$(SRC)/blockinput.h
-
-$(BLD)/intervals.obj : \
-	$(SRC)/intervals.c \
-	$(EMACS_ROOT)/src/s/ms-w32.h \
-	$(EMACS_ROOT)/src/m/intel386.h \
-	$(EMACS_ROOT)/src/config.h \
-	$(SRC)/dispextern.h \
-	$(SRC)/intervals.h \
-	$(SRC)/composite.h \
-	$(SRC)/keyboard.h \
-	$(SRC)/buffer.h \
-	$(SRC)/puresize.h
-
-$(BLD)/keyboard.obj : \
-	$(SRC)/keyboard.c \
-	$(EMACS_ROOT)/src/s/ms-w32.h \
-	$(EMACS_ROOT)/src/m/intel386.h \
-	$(EMACS_ROOT)/src/config.h \
-	$(SRC)/termchar.h \
-	$(SRC)/termopts.h \
-	$(SRC)/termhooks.h \
-	$(SRC)/macros.h \
-	$(SRC)/frame.h \
-	$(SRC)/window.h \
-	$(SRC)/commands.h \
-	$(SRC)/buffer.h \
-	$(SRC)/disptab.h \
-	$(SRC)/keyboard.h \
-	$(SRC)/dispextern.h \
-	$(SRC)/intervals.h \
-	$(SRC)/composite.h \
-	$(SRC)/blockinput.h \
-	$(SRC)/msdos.h \
-	$(SRC)/syssignal.h \
-	$(EMACS_ROOT)/nt/inc/sys/ioctl.h \
-	$(EMACS_ROOT)/nt/inc/sys/file.h \
-	$(SRC)/systty.h \
-	$(SRC)/w32term.h \
-	$(SRC)/xterm.h \
-	$(SRC)/vmstime.h \
-	$(SRC)/systime.h \
-	$(SRC)/atimer.h
-
-$(BLD)/keymap.obj : \
-	$(SRC)/keymap.c \
-	$(EMACS_ROOT)/src/s/ms-w32.h \
-	$(EMACS_ROOT)/src/m/intel386.h \
-	$(EMACS_ROOT)/src/config.h \
-	$(SRC)/commands.h \
-	$(SRC)/buffer.h \
-	$(SRC)/keyboard.h \
-	$(SRC)/termhooks.h \
-	$(SRC)/blockinput.h
-
-$(BLD)/lastfile.obj : \
-	$(SRC)/lastfile.c \
-	$(EMACS_ROOT)/src/s/ms-w32.h \
-	$(EMACS_ROOT)/src/m/intel386.h \
-	$(EMACS_ROOT)/src/config.h
-
-$(BLD)/lread.obj : \
-	$(SRC)/lread.c \
-	$(EMACS_ROOT)/src/s/ms-w32.h \
-	$(EMACS_ROOT)/src/m/intel386.h \
-	$(EMACS_ROOT)/src/config.h \
-	$(EMACS_ROOT)/nt/inc/sys/file.h \
-	$(SRC)/buffer.h \
-	$(EMACS_ROOT)/src/epaths.h \
-	$(SRC)/commands.h \
-	$(SRC)/keyboard.h \
-	$(SRC)/termhooks.h \
-	$(SRC)/msdos.h
-
-$(BLD)/macros.obj : \
-	$(SRC)/macros.c \
-	$(EMACS_ROOT)/src/s/ms-w32.h \
-	$(EMACS_ROOT)/src/m/intel386.h \
-	$(EMACS_ROOT)/src/config.h \
-	$(SRC)/macros.h \
-	$(SRC)/commands.h \
-	$(SRC)/buffer.h \
-	$(SRC)/window.h
-
-$(BLD)/marker.obj : \
-	$(SRC)/marker.c \
-	$(EMACS_ROOT)/src/s/ms-w32.h \
-	$(EMACS_ROOT)/src/m/intel386.h \
-	$(EMACS_ROOT)/src/config.h \
-	$(SRC)/buffer.h
-
-$(BLD)/minibuf.obj : \
-	$(SRC)/minibuf.c \
-	$(EMACS_ROOT)/src/s/ms-w32.h \
-	$(EMACS_ROOT)/src/m/intel386.h \
-	$(EMACS_ROOT)/src/config.h \
-	$(SRC)/commands.h \
-	$(SRC)/buffer.h \
-	$(SRC)/dispextern.h \
-	$(SRC)/frame.h \
-	$(SRC)/window.h \
-	$(SRC)/syntax.h
-
-$(BLD)/mocklisp.obj : \
-	$(SRC)/mocklisp.c \
-	$(EMACS_ROOT)/src/s/ms-w32.h \
-	$(EMACS_ROOT)/src/m/intel386.h \
-	$(EMACS_ROOT)/src/config.h \
-	$(SRC)/buffer.h
-
-$(BLD)/w32.obj : \
-	$(SRC)/w32.c \
-	$(SRC)/w32.h \
-	$(SRC)/s/ms-w32.h \
-	$(SRC)/m/intel386.h \
-	$(SRC)/config.h \
-	$(EMACS_ROOT)/nt/inc/pwd.h \
-	$(SRC)/w32heap.h
-
-$(BLD)/w32heap.obj : \
-	$(SRC)/w32heap.c \
-	$(SRC)/w32heap.h \
-	$(SRC)/s/ms-w32.h \
-	$(SRC)/m/intel386.h \
-	$(SRC)/config.h
-
-$(BLD)/w32inevt.obj : \
-	$(SRC)/w32inevt.c \
-	$(SRC)/s/ms-w32.h \
-	$(SRC)/m/intel386.h \
-	$(SRC)/config.h \
-	$(SRC)/frame.h \
-	$(SRC)/blockinput.h \
-	$(SRC)/termhooks.h \
-	$(SRC)/w32heap.h \
-	$(SRC)/w32term.h
-
-$(BLD)/w32proc.obj : \
-	$(SRC)/w32proc.c \
-	$(SRC)/s/ms-w32.h \
-	$(SRC)/m/intel386.h \
-	$(SRC)/config.h \
-	$(SRC)/w32.h \
-	$(SRC)/w32heap.h \
-	$(SRC)/vmstime.h \
-	$(SRC)/systime.h
-
-$(BLD)/w32console.obj : \
-	$(SRC)/w32console.c \
-	$(SRC)/s/ms-w32.h \
-	$(SRC)/m/intel386.h \
-	$(SRC)/config.h \
-	$(SRC)/frame.h \
-	$(SRC)/disptab.h \
-	$(SRC)/termhooks.h \
-	$(SRC)/w32inevt.h
-
-$(BLD)/prefix-args.obj : \
-	$(SRC)/prefix-args.c
-
-$(BLD)/print.obj : \
-	$(SRC)/print.c \
-	$(EMACS_ROOT)/src/s/ms-w32.h \
-	$(EMACS_ROOT)/src/m/intel386.h \
-	$(EMACS_ROOT)/src/config.h \
-	$(SRC)/buffer.h \
-	$(SRC)/frame.h \
-	$(SRC)/window.h \
-	$(SRC)/process.h \
-	$(SRC)/termchar.h \
-	$(SRC)/dispextern.h \
-	$(SRC)/intervals.h \
-	$(SRC)/composite.h
-
-$(BLD)/process.obj : \
-	$(SRC)/process.c \
-	$(EMACS_ROOT)/src/s/ms-w32.h \
-	$(EMACS_ROOT)/src/m/intel386.h \
-	$(EMACS_ROOT)/src/config.h \
-	$(EMACS_ROOT)/nt/inc/sys/ioctl.h \
-	$(EMACS_ROOT)/nt/inc/sys/file.h \
-	$(SRC)/systty.h \
-	$(SRC)/window.h \
-	$(SRC)/buffer.h \
-	$(SRC)/process.h \
-	$(SRC)/termhooks.h \
-	$(SRC)/commands.h \
-	$(SRC)/frame.h \
-	$(SRC)/syssignal.h \
-	$(SRC)/vmsproc.h \
-	$(SRC)/syswait.h \
-	$(SRC)/vmstime.h \
-	$(SRC)/systime.h \
-	$(SRC)/termopts.h \
-	$(SRC)/composite.h \
-	$(SRC)/atimer.h
-
-$(BLD)/ralloc.obj : \
-	$(SRC)/ralloc.c \
-	$(EMACS_ROOT)/src/s/ms-w32.h \
-	$(EMACS_ROOT)/src/m/intel386.h \
-	$(EMACS_ROOT)/src/config.h \
-	$(SRC)/s/ms-w32.h \
-	$(SRC)/m/intel386.h \
-	$(SRC)/config.h \
-	$(EMACS_ROOT)/nt/inc/sys/param.h \
-	$(SRC)/getpagesize.h
-
-$(BLD)/regex.obj : \
-	$(SRC)/regex.c \
-	$(EMACS_ROOT)/src/s/ms-w32.h \
-	$(EMACS_ROOT)/src/m/intel386.h \
-	$(EMACS_ROOT)/src/config.h \
-	$(SRC)/s/ms-w32.h \
-	$(SRC)/m/intel386.h \
-	$(SRC)/config.h \
-	$(SRC)/buffer.h \
-	$(SRC)/syntax.h \
-	$(SRC)/regex.h
-
-$(BLD)/region-cache.obj : \
-	$(SRC)/region-cache.c \
-	$(EMACS_ROOT)/src/s/ms-w32.h \
-	$(EMACS_ROOT)/src/m/intel386.h \
-	$(EMACS_ROOT)/src/config.h \
-	$(SRC)/buffer.h \
-	$(SRC)/region-cache.h
-
-$(BLD)/scroll.obj : \
-	$(SRC)/scroll.c \
-	$(EMACS_ROOT)/src/s/ms-w32.h \
-	$(EMACS_ROOT)/src/m/intel386.h \
-	$(EMACS_ROOT)/src/config.h \
-	$(SRC)/termchar.h \
-	$(SRC)/dispextern.h \
-	$(SRC)/frame.h
-
-$(BLD)/search.obj : \
-	$(SRC)/search.c \
-	$(EMACS_ROOT)/src/s/ms-w32.h \
-	$(EMACS_ROOT)/src/m/intel386.h \
-	$(EMACS_ROOT)/src/config.h \
-	$(SRC)/syntax.h \
-	$(SRC)/buffer.h \
-	$(SRC)/commands.h \
-	$(SRC)/blockinput.h \
-	$(SRC)/regex.h \
-	$(SRC)/region-cache.h \
-	$(SRC)/composite.h
-
-$(BLD)/strftime.obj : \
-	$(SRC)/strftime.c \
-	$(EMACS_ROOT)/src/s/ms-w32.h \
-	$(EMACS_ROOT)/src/m/intel386.h \
-	$(EMACS_ROOT)/src/config.h
-
-$(BLD)/sunfns.obj : \
-	$(SRC)/sunfns.c \
-	$(EMACS_ROOT)/src/s/ms-w32.h \
-	$(EMACS_ROOT)/src/m/intel386.h \
-	$(EMACS_ROOT)/src/config.h \
-	$(SRC)/window.h \
-	$(SRC)/buffer.h \
-	$(SRC)/termhooks.h
-
-$(BLD)/syntax.obj : \
-	$(SRC)/syntax.c \
-	$(EMACS_ROOT)/src/s/ms-w32.h \
-	$(EMACS_ROOT)/src/m/intel386.h \
-	$(EMACS_ROOT)/src/config.h \
-	$(SRC)/commands.h \
-	$(SRC)/buffer.h \
-	$(SRC)/syntax.h \
-	$(SRC)/composite.h
-
-$(BLD)/sysdep.obj : \
-	$(SRC)/sysdep.c \
-	$(EMACS_ROOT)/src/s/ms-w32.h \
-	$(EMACS_ROOT)/src/m/intel386.h \
-	$(EMACS_ROOT)/src/config.h \
-	$(SRC)/blockinput.h \
-	$(SRC)/dosfns.h \
-	$(SRC)/msdos.h \
-	$(EMACS_ROOT)/nt/inc/sys/param.h \
-	$(EMACS_ROOT)/nt/inc/sys/file.h \
-	$(EMACS_ROOT)/nt/inc/sys/ioctl.h \
-	$(EMACS_ROOT)/nt/inc/sys/file.h \
-	$(SRC)/systty.h \
-	$(SRC)/vmsproc.h \
-	$(SRC)/syswait.h \
-	$(SRC)/frame.h \
-	$(SRC)/window.h \
-	$(SRC)/termhooks.h \
-	$(SRC)/termchar.h \
-	$(SRC)/termopts.h \
-	$(SRC)/dispextern.h \
-	$(SRC)/process.h \
-	$(SRC)/vmsdir.h \
-	$(SRC)/ndir.h \
-	$(SRC)/syssignal.h \
-	$(SRC)/vmstime.h \
-	$(SRC)/systime.h \
-	$(SRC)/uaf.h \
-	$(SRC)/vms-pwd.h \
-	$(EMACS_ROOT)/src/acldef.h \
-	$(EMACS_ROOT)/src/chpdef.h
-
-$(BLD)/term.obj : \
-	$(SRC)/term.c \
-	$(EMACS_ROOT)/src/s/ms-w32.h \
-	$(EMACS_ROOT)/src/m/intel386.h \
-	$(EMACS_ROOT)/src/config.h \
-	$(SRC)/termchar.h \
-	$(SRC)/termopts.h \
-	$(SRC)/cm.h \
-	$(SRC)/frame.h \
-	$(SRC)/disptab.h \
-	$(SRC)/termhooks.h \
-	$(SRC)/keyboard.h
-
-$(BLD)/termcap.obj : \
-	$(SRC)/termcap.c \
-	$(EMACS_ROOT)/src/s/ms-w32.h \
-	$(EMACS_ROOT)/src/m/intel386.h \
-	$(EMACS_ROOT)/src/config.h \
-	$(EMACS_ROOT)/nt/inc/sys/file.h
-
-$(BLD)/terminfo.obj : \
-	$(SRC)/terminfo.c
-
-$(BLD)/textprop.obj : \
-	$(SRC)/textprop.c \
-	$(EMACS_ROOT)/src/s/ms-w32.h \
-	$(EMACS_ROOT)/src/m/intel386.h \
-	$(EMACS_ROOT)/src/config.h \
-	$(SRC)/dispextern.h \
-	$(SRC)/intervals.h \
-	$(SRC)/composite.h \
-	$(SRC)/buffer.h \
-	$(SRC)/window.h
-
-$(BLD)/tparam.obj : \
-	$(SRC)/tparam.c \
-	$(EMACS_ROOT)/src/s/ms-w32.h \
-	$(EMACS_ROOT)/src/m/intel386.h \
-	$(EMACS_ROOT)/src/config.h
-
-$(BLD)/undo.obj : \
-	$(SRC)/undo.c \
-	$(EMACS_ROOT)/src/s/ms-w32.h \
-	$(EMACS_ROOT)/src/m/intel386.h \
-	$(EMACS_ROOT)/src/config.h \
-	$(SRC)/buffer.h \
-	$(SRC)/commands.h
-
-$(BLD)/unexw32.obj : \
-	$(SRC)/unexw32.c \
-	$(EMACS_ROOT)/src/s/ms-w32.h \
-	$(EMACS_ROOT)/src/m/intel386.h \
-	$(EMACS_ROOT)/src/config.h \
-	$(SRC)/w32heap.h
-
-$(BLD)/vm-limit.obj : \
-	$(SRC)/vm-limit.c \
-	$(EMACS_ROOT)/src/s/ms-w32.h \
-	$(EMACS_ROOT)/src/m/intel386.h \
-	$(EMACS_ROOT)/src/config.h \
-	$(SRC)/mem-limits.h	
-
-$(BLD)/widget.obj : \
-	$(SRC)/widget.c \
-	$(EMACS_ROOT)/src/s/ms-w32.h \
-	$(EMACS_ROOT)/src/m/intel386.h \
-	$(EMACS_ROOT)/src/config.h \
-	$(SRC)/xterm.h \
-	$(SRC)/frame.h \
-	$(SRC)/dispextern.h \
-	$(SRC)/widget.h \
-	$(SRC)/widgetprv.h
-
-$(BLD)/window.obj : \
-	$(SRC)/window.c \
-	$(EMACS_ROOT)/src/s/ms-w32.h \
-	$(EMACS_ROOT)/src/m/intel386.h \
-	$(EMACS_ROOT)/src/config.h \
-	$(SRC)/buffer.h \
-	$(SRC)/frame.h \
-	$(SRC)/window.h \
-	$(SRC)/commands.h \
-	$(SRC)/indent.h \
-	$(SRC)/termchar.h \
-	$(SRC)/disptab.h \
-	$(SRC)/keyboard.h \
-	$(SRC)/composite.h
-
-$(BLD)/xdisp.obj : \
-	$(SRC)/xdisp.c \
-	$(EMACS_ROOT)/src/s/ms-w32.h \
-	$(EMACS_ROOT)/src/m/intel386.h \
-	$(EMACS_ROOT)/src/config.h \
-	$(SRC)/frame.h \
-	$(SRC)/window.h \
-	$(SRC)/termchar.h \
-	$(SRC)/buffer.h \
-	$(SRC)/indent.h \
-	$(SRC)/commands.h \
-	$(SRC)/macros.h \
-	$(SRC)/disptab.h \
-	$(SRC)/termhooks.h \
-	$(SRC)/dispextern.h \
-	$(SRC)/intervals.h \
-	$(SRC)/composite.h
-
-$(BLD)/xfaces.obj: \
-	$(EMACS_ROOT)/src/s/ms-w32.h \
-	$(EMACS_ROOT)/src/m/intel386.h \
-	$(EMACS_ROOT)/src/config.h \
-	$(SRC)/xfaces.c \
-	$(SRC)/charset.h \
-	$(SRC)/fontset.h \
-	$(SRC)/w32term.h \
-	$(SRC)/w32gui.h \
-	$(SRC)/buffer.h \
-	$(SRC)/dispextern.h \
-	$(SRC)/frame.h \
-	$(SRC)/blockinput.h \
-	$(SRC)/window.h \
-	$(SRC)/intervals.h \
-	$(SRC)/composite.h
-
-$(BLD)/w32fns.obj: \
-	$(EMACS_ROOT)/src/s/ms-w32.h \
-	$(EMACS_ROOT)/src/m/intel386.h \
-	$(EMACS_ROOT)/src/config.h \
-	$(SRC)/w32fns.c \
-	$(SRC)/x-list-font.c \
-	$(SRC)/w32term.h \
-	$(SRC)/w32gui.h \
-	$(SRC)/frame.h \
-	$(SRC)/window.h \
-	$(SRC)/buffer.h \
-	$(SRC)/charset.h \
-	$(SRC)/coding.h \
-	$(SRC)/dispextern.h \
-	$(SRC)/keyboard.h \
-	$(SRC)/blockinput.h \
-	$(SRC)/epaths.h \
-	$(SRC)/w32heap.h \
-	$(SRC)/termhooks.h
-
-$(BLD)/w32menu.obj: \
-	$(EMACS_ROOT)/src/s/ms-w32.h \
-	$(EMACS_ROOT)/src/m/intel386.h \
-	$(EMACS_ROOT)/src/config.h \
-	$(SRC)/w32menu.c \
-	$(SRC)/termhooks.h \
-	$(SRC)/frame.h \
-	$(SRC)/window.h \
-	$(SRC)/keyboard.h \
-	$(SRC)/blockinput.h \
-	$(SRC)/buffer.h \
-	$(SRC)/charset.h \
-	$(SRC)/coding.h
-
-$(BLD)/w32term.obj: \
-	$(EMACS_ROOT)/src/s/ms-w32.h \
-	$(EMACS_ROOT)/src/m/intel386.h \
-	$(EMACS_ROOT)/src/config.h \
-	$(SRC)/w32term.c \
-	$(SRC)/blockinput.h \
-	$(SRC)/w32heap.h \
-	$(SRC)/w32term.h \
-	$(SRC)/w32gui.h \
-	$(SRC)/systty.h \
-	$(SRC)/systime.h \
-	$(SRC)/frame.h \
-	$(SRC)/dispextern.h \
-	$(SRC)/termhooks.h \
-	$(SRC)/termopts.h \
-	$(SRC)/termchar.h \
-	$(SRC)/gnu.h \
-	$(SRC)/disptab.h \
-	$(SRC)/buffer.h \
-	$(SRC)/window.h \
-	$(SRC)/keyboard.h \
-	$(SRC)/intervals.h \
-	$(SRC)/composite.h \
-	$(SRC)/atimer.h
-
-$(BLD)/w32select.obj: \
-	$(EMACS_ROOT)/src/s/ms-w32.h \
-	$(EMACS_ROOT)/src/m/intel386.h \
-	$(EMACS_ROOT)/src/config.h \
-	$(SRC)/w32select.c \
-	$(SRC)/w32term.h \
-	$(SRC)/w32gui.h \
-	$(SRC)/dispextern.h \
-	$(SRC)/frame.h \
-	$(SRC)/blockinput.h
-
-$(BLD)/w32reg.obj: \
-	$(EMACS_ROOT)/src/s/ms-w32.h \
-	$(EMACS_ROOT)/src/m/intel386.h \
-	$(EMACS_ROOT)/src/config.h \
-	$(SRC)/w32reg.c \
-	$(SRC)/w32term.h \
-	$(SRC)/w32gui.h \
-	$(SRC)/blockinput.h
-
-$(BLD)/w32xfns.obj: \
-	$(EMACS_ROOT)/src/s/ms-w32.h \
-	$(EMACS_ROOT)/src/m/intel386.h \
-	$(EMACS_ROOT)/src/config.h \
-	$(SRC)/w32xfns.c \
-
-$(BLD)/w32bdf.obj: \
-	$(EMACS_ROOT)/src/s/ms-w32.h \
-	$(EMACS_ROOT)/src/m/intel386.h \
-	$(EMACS_ROOT)/src/config.h \
-	$(SRC)/w32bdf.c \
-	$(SRC)/charset.h \
-	$(SRC)/frame.h \
-	$(SRC)/dispextern.h \
-	$(SRC)/fontset.h \
-	$(SRC)/blockinput.h \
-	$(SRC)/w32gui.h \
-	$(SRC)/w32term.h \
-	$(SRC)/w32bdf.h \
-	$(SRC)/w32.h \
-	$(SRC)/frame.h \
-	$(SRC)/blockinput.h
+#  Makefile for GNU Emacs on the Microsoft W32 API.
+#  Copyright (c) 1992-2000 Free Software Foundation, Inc.
+#
+#  This file is part of GNU Emacs.
+#  
+#  GNU Emacs is free software; you can redistribute it and/or modify
+#  it under the terms of the GNU General Public License as published by
+#  the Free Software Foundation; either version 2, or (at your option)
+#  any later version.
+#  
+#  GNU Emacs is distributed in the hope that it will be useful,
+#  but WITHOUT ANY WARRANTY; without even the implied warranty of
+#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+#  GNU General Public License for more details.
+#  
+#  You should have received a copy of the GNU General Public License
+#  along with GNU Emacs; see the file COPYING.  If not, write to the
+#  Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+#  Boston, MA 02111-1307, USA.
+#
+
+ALL = emacs
+
+.PHONY: $(ALL)
+
+#
+# HAVE_CONFIG_H is required by some generic gnu sources stuck into
+# the emacs source tree.
+#
+LOCAL_FLAGS     = -Demacs=1 -DWINDOWSNT -DDOS_NT -DHAVE_CONFIG_H -I../nt/inc -D_UCHAR_T -DHAVE_NTGUI=1 $(EMACS_EXTRA_C_FLAGS)
+
+EMACS           = $(BLD)/emacs.exe
+TEMACS          = $(BLD)/temacs.exe
+TEMACS_TMP      = $(BLD)/temacs.bin
+TLIB0           = $(BLD)/temacs0.$(A)
+TLIB1           = $(BLD)/temacs1.$(A)
+TLIBW32         = $(BLD)/temacw32.$(A)
+TOBJ            = $(BLD)/firstfile.$(O)
+TRES		= $(BLD)/emacs.res
+TLASTLIB	= $(BLD)/lastfile.$(A)
+
+FULL_LINK_FLAGS      = $(LINK_FLAGS) $(TEMACS_EXTRA_LINK)
+
+#
+# Split up the objects into two sets so that we don't run out of
+# command line space when we link them into a library.
+#
+# Put emacs.$(O) in a separate lib, since we need to have firstfile.$(O)
+# as the "main" object file when linking.
+#
+OBJ0 =  $(BLD)/emacs.$(O)
+
+OBJ1 =  $(BLD)/abbrev.$(O)			\
+	$(BLD)/alloc.$(O)			\
+	$(BLD)/alloca.$(O)			\
+	$(BLD)/atimer.$(O)			\
+	$(BLD)/buffer.$(O)			\
+	$(BLD)/bytecode.$(O)			\
+	$(BLD)/callint.$(O)			\
+	$(BLD)/callproc.$(O)			\
+	$(BLD)/casefiddle.$(O)			\
+	$(BLD)/cm.$(O)				\
+	$(BLD)/cmds.$(O)			\
+	$(BLD)/data.$(O)			\
+	$(BLD)/dired.$(O)			\
+	$(BLD)/dispnew.$(O)			\
+	$(BLD)/doc.$(O)				\
+	$(BLD)/doprnt.$(O)			\
+	$(BLD)/editfns.$(O)			\
+	$(BLD)/eval.$(O)			\
+	$(BLD)/fileio.$(O)			\
+	$(BLD)/filelock.$(O)			\
+	$(BLD)/filemode.$(O)			\
+	$(BLD)/fns.$(O)				\
+	$(BLD)/indent.$(O)			\
+	$(BLD)/insdel.$(O)			\
+	$(BLD)/keyboard.$(O)			\
+	$(BLD)/keymap.$(O)			\
+	$(BLD)/lread.$(O)			\
+	$(BLD)/macros.$(O)			\
+	$(BLD)/marker.$(O)			\
+	$(BLD)/minibuf.$(O)			\
+	$(BLD)/mocklisp.$(O)			\
+	$(BLD)/w32.$(O)				\
+	$(BLD)/w32heap.$(O)			\
+	$(BLD)/w32inevt.$(O)			\
+	$(BLD)/w32proc.$(O)			\
+	$(BLD)/w32console.$(O)			\
+	$(BLD)/print.$(O)			\
+	$(BLD)/process.$(O)			\
+	$(BLD)/regex.$(O)			\
+	$(BLD)/scroll.$(O)			\
+	$(BLD)/search.$(O)			\
+	$(BLD)/syntax.$(O)			\
+	$(BLD)/sysdep.$(O)			\
+	$(BLD)/term.$(O)			\
+	$(BLD)/termcap.$(O)			\
+	$(BLD)/tparam.$(O)			\
+	$(BLD)/undo.$(O)			\
+	$(BLD)/unexw32.$(O)			\
+	$(BLD)/window.$(O)			\
+	$(BLD)/xdisp.$(O)			\
+	$(BLD)/casetab.$(O)			\
+	$(BLD)/floatfns.$(O)			\
+	$(BLD)/frame.$(O)			\
+	$(BLD)/gmalloc.$(O)			\
+	$(BLD)/intervals.$(O)			\
+	$(BLD)/composite.$(O)			\
+	$(BLD)/ralloc.$(O)			\
+	$(BLD)/textprop.$(O)			\
+	$(BLD)/vm-limit.$(O)			\
+	$(BLD)/region-cache.$(O)		\
+	$(BLD)/strftime.$(O)			\
+	$(BLD)/charset.$(O)			\
+	$(BLD)/coding.$(O)			\
+	$(BLD)/category.$(O)			\
+	$(BLD)/ccl.$(O)				\
+	$(BLD)/fontset.$(O)
+
+WIN32OBJ = $(BLD)/w32term.$(O)			\
+	   $(BLD)/w32xfns.$(O)			\
+	   $(BLD)/w32fns.$(O)			\
+	   $(BLD)/xfaces.$(O)			\
+	   $(BLD)/w32select.$(O)		\
+	   $(BLD)/w32menu.$(O)			\
+	   $(BLD)/w32reg.$(O)			\
+	   $(BLD)/w32bdf.$(O)
+
+LIBS =  $(TLIB0)	\
+	$(TLIB1)	\
+	$(TLIBW32)	\
+	$(TLASTLIB)	\
+	$(ADVAPI32)	\
+	$(GDI32)	\
+	$(COMDLG32)	\
+	$(USER32)	\
+	$(MPR)		\
+	$(SHELL32)	\
+	$(libc)
+
+#
+# Build the executable and dump it.
+#
+all:            $(ALL)
+
+#
+# The dumped executable
+#
+emacs:          $(BLD) $(EMACS)
+$(EMACS):       $(DOC) $(TEMACS)
+	"./$(BLD)/temacs.exe" -batch -l loadup dump
+
+#
+# The undumped executable
+# Note the extra post-link step to insert a static preload heap section.
+# If preload runs out of memory, increase the last argument to addsection
+# (it is the preload heap size in MB).
+#
+temacs:         $(BLD) $(TEMACS)
+$(TEMACS):      $(TLIB0) $(TLIB1) $(TLIBW32) $(TLASTLIB) $(TOBJ) $(TRES)
+	$(LINK) $(LINK_OUT)$(TEMACS_TMP) $(FULL_LINK_FLAGS) $(TOBJ) $(TRES) $(LIBS)
+	"../nt/$(BLD)/addsection" "$(TEMACS_TMP)" "$(TEMACS)" EMHEAP 16
+
+bootstrap: bootstrap-emacs
+
+#
+# Build a temacs with a sufficiently large PURESIZE to load the
+# Lisp files from loadup.el in source form.
+#
+bootstrap-temacs: bootstrap-clean
+	$(MAKE) $(MFLAGS) temacs CFLAGS=$(ARGQUOTE)$(CFLAGS) -DPURESIZE=5000000$(ARGQUOTE)
+
+#
+# Dump an Emacs executable named bootstrap-emacs containing the 
+# files from loadup.el in source form.
+#
+bootstrap-emacs: bootstrap-temacs
+	"./$(BLD)/temacs.exe" -batch -l loadup bootstrap
+	- mkdir "../bin"
+	$(CP) $(EMACS) ../bin
+
+#
+# Force recompile of files that depend on PURESIZE
+#
+bootstrap-clean:
+	- $(DEL) $(BLD)/alloc.$(O)
+	- $(DEL) $(BLD)/data.$(O)
+	- $(DEL) $(BLD)/intervals.$(O)
+	- $(DEL) $(BLD)/keyboard.$(O)
+	- $(DEL) $(BLD)/keymap.$(O)
+
+#
+# The resource file.  NT 3.10 requires the use of cvtres; even though
+# it is not necessary on later versions, it is still ok to use it.
+#
+$(TRES): ../nt/emacs.rc
+	$(RC) $(RC_INCLUDE)../nt $(RC_OUT)$@ $(ALL_DEPS)
+
+#
+# Build the library.  Split up the build into two phases...otherwise we 
+# run out of command line space.
+#
+$(TLIB0):       $(OBJ0)
+	- $(DEL) $@
+	$(AR) $(AR_OUT)$@ $(ALL_DEPS)
+$(TLIB1):       $(OBJ1)
+	- $(DEL) $@
+	$(AR) $(AR_OUT)$@ $(ALL_DEPS)
+$(TLIBW32):	$(WIN32OBJ)
+	- $(DEL) $@
+	$(AR) $(AR_OUT)$@ $(ALL_DEPS)
+
+#
+# Place lastfile.$(O) in its own library so that it can be loaded after
+# the source libraries but before any system libraries.  Doing so defines
+# the end of Emacs' data section portably across compilers and systems.
+#
+$(TLASTLIB):	$(BLD)/lastfile.$(O)
+	- $(DEL) $@
+	$(AR) $(AR_OUT)$@ $(ALL_DEPS)
+
+#
+# Assuming INSTALL_DIR is defined, build and install emacs in it.
+#
+install:        $(ALL)
+	- mkdir "$(INSTALL_DIR)/bin"
+	$(CP) $(EMACS) $(INSTALL_DIR)/bin
+
+#
+# Maintenance
+# 
+clean:
+	- $(DEL) *~ "s/*~" "m/*~"
+	- $(DEL) *.pdb
+	- $(DEL_TREE) $(OBJDIR)
+
+distclean:	clean
+	- $(DEL) config.h epaths.h
+
+cleanall:	clean
+	- $(DEL_TREE) obj
+	- $(DEL_TREE) obj-spd
+	- $(DEL_TREE) oo
+	- $(DEL_TREE) oo-spd
+
+### DEPENDENCIES ###
+
+EMACS_ROOT	= ..
+SRC		= .
+
+$(BLD)/abbrev.obj : \
+	$(SRC)/abbrev.c \
+	$(EMACS_ROOT)/src/s/ms-w32.h \
+	$(EMACS_ROOT)/src/m/intel386.h \
+	$(EMACS_ROOT)/src/config.h \
+	$(SRC)/commands.h \
+	$(SRC)/buffer.h \
+	$(SRC)/window.h
+
+$(BLD)/alloc.obj : \
+	$(SRC)/alloc.c \
+	$(EMACS_ROOT)/src/s/ms-w32.h \
+	$(EMACS_ROOT)/src/m/intel386.h \
+	$(EMACS_ROOT)/src/config.h \
+	$(SRC)/dispextern.h \
+	$(SRC)/intervals.h \
+	$(SRC)/composite.h \
+	$(SRC)/puresize.h \
+	$(SRC)/buffer.h \
+	$(SRC)/window.h \
+	$(SRC)/frame.h \
+	$(SRC)/blockinput.h \
+	$(SRC)/syssignal.h
+
+$(BLD)/alloca.obj : \
+	$(SRC)/alloca.c \
+	$(EMACS_ROOT)/src/s/ms-w32.h \
+	$(EMACS_ROOT)/src/m/intel386.h \
+	$(EMACS_ROOT)/src/config.h \
+	$(SRC)/s/ms-w32.h \
+	$(SRC)/m/intel386.h \
+	$(SRC)/config.h \
+	$(SRC)/blockinput.h
+
+$(BLD)/atimer.obj : \
+	$(SRC)/atimer.c \
+	$(EMACS_ROOT)/src/s/ms-w32.h \
+	$(EMACS_ROOT)/src/m/intel386.h \
+	$(EMACS_ROOT)/src/config.h \
+	$(SRC)/s/ms-w32.h \
+	$(SRC)/m/intel386.h \
+	$(SRC)/config.h \
+	$(SRC)/atimer.h \
+	$(SRC)/syssignal.h \
+	$(SRC)/systime.h \
+	$(SRC)/blockinput.h
+
+$(BLD)/buffer.obj : \
+	$(SRC)/buffer.c \
+	$(EMACS_ROOT)/nt/inc/sys/param.h \
+	$(EMACS_ROOT)/src/s/ms-w32.h \
+	$(EMACS_ROOT)/src/m/intel386.h \
+	$(EMACS_ROOT)/src/config.h \
+	$(SRC)/dispextern.h \
+	$(SRC)/intervals.h \
+	$(SRC)/composite.h \
+	$(SRC)/frame.h \
+	$(SRC)/window.h \
+	$(SRC)/commands.h \
+	$(SRC)/buffer.h \
+	$(SRC)/indent.h \
+	$(SRC)/blockinput.h \
+	$(SRC)/region-cache.h
+
+$(BLD)/bytecode.obj : \
+	$(SRC)/bytecode.c \
+	$(EMACS_ROOT)/src/s/ms-w32.h \
+	$(EMACS_ROOT)/src/m/intel386.h \
+	$(EMACS_ROOT)/src/config.h \
+	$(SRC)/buffer.h \
+	$(SRC)/syntax.h
+
+$(BLD)/callint.obj : \
+	$(SRC)/callint.c \
+	$(EMACS_ROOT)/src/s/ms-w32.h \
+	$(EMACS_ROOT)/src/m/intel386.h \
+	$(EMACS_ROOT)/src/config.h \
+	$(SRC)/buffer.h \
+	$(SRC)/commands.h \
+	$(SRC)/keyboard.h \
+	$(SRC)/window.h \
+	$(SRC)/mocklisp.h
+
+$(BLD)/callproc.obj : \
+	$(SRC)/callproc.c \
+	$(EMACS_ROOT)/src/s/ms-w32.h \
+	$(EMACS_ROOT)/src/m/intel386.h \
+	$(EMACS_ROOT)/src/config.h \
+	$(SRC)/msdos.h \
+	$(EMACS_ROOT)/nt/inc/sys/param.h \
+	$(SRC)/commands.h \
+	$(SRC)/buffer.h \
+	$(SRC)/process.h \
+	$(SRC)/syssignal.h \
+	$(EMACS_ROOT)/nt/inc/sys/ioctl.h \
+	$(EMACS_ROOT)/nt/inc/sys/file.h \
+	$(SRC)/systty.h
+
+$(BLD)/casefiddle.obj : \
+	$(SRC)/casefiddle.c \
+	$(EMACS_ROOT)/src/s/ms-w32.h \
+	$(EMACS_ROOT)/src/m/intel386.h \
+	$(EMACS_ROOT)/src/config.h \
+	$(SRC)/buffer.h \
+	$(SRC)/commands.h \
+	$(SRC)/syntax.h
+	$(CC) $(CFLAGS) -Fo$@ casefiddle.c
+
+$(BLD)/casetab.obj : \
+	$(SRC)/casetab.c \
+	$(EMACS_ROOT)/src/s/ms-w32.h \
+	$(EMACS_ROOT)/src/m/intel386.h \
+	$(EMACS_ROOT)/src/config.h \
+	$(SRC)/buffer.h
+
+$(BLD)/cm.obj : \
+	$(SRC)/cm.c \
+	$(EMACS_ROOT)/src/s/ms-w32.h \
+	$(EMACS_ROOT)/src/m/intel386.h \
+	$(EMACS_ROOT)/src/config.h \
+	$(SRC)/cm.h \
+	$(SRC)/termhooks.h
+
+$(BLD)/cmds.obj : \
+	$(SRC)/cmds.c \
+	$(EMACS_ROOT)/src/s/ms-w32.h \
+	$(EMACS_ROOT)/src/m/intel386.h \
+	$(EMACS_ROOT)/src/config.h \
+	$(SRC)/commands.h \
+	$(SRC)/buffer.h \
+	$(SRC)/syntax.h
+
+$(BLD)/composite.obj : \
+	$(SRC)/composite.c \
+	$(SRC)/buffer.h \
+	$(SRC)/charset.h \
+	$(SRC)/intervals.h \
+	$(SRC)/composite.h \
+	$(EMACS_ROOT)/src/s/ms-w32.h \
+	$(EMACS_ROOT)/src/m/intel386.h \
+	$(EMACS_ROOT)/src/config.h
+
+$(BLD)/data.obj : \
+	$(SRC)/data.c \
+	$(EMACS_ROOT)/src/s/ms-w32.h \
+	$(EMACS_ROOT)/src/m/intel386.h \
+	$(EMACS_ROOT)/src/config.h \
+	$(SRC)/puresize.h \
+	$(SRC)/buffer.h \
+	$(SRC)/syssignal.h
+
+$(BLD)/dired.obj : \
+	$(SRC)/dired.c \
+	$(EMACS_ROOT)/src/s/ms-w32.h \
+	$(EMACS_ROOT)/src/m/intel386.h \
+	$(EMACS_ROOT)/src/config.h \
+	$(SRC)/vmsdir.h \
+	$(SRC)/ndir.h \
+	$(SRC)/buffer.h \
+	$(SRC)/commands.h \
+	$(SRC)/regex.h
+
+$(BLD)/dispnew.obj : \
+	$(SRC)/dispnew.c \
+	$(EMACS_ROOT)/src/s/ms-w32.h \
+	$(EMACS_ROOT)/src/m/intel386.h \
+	$(EMACS_ROOT)/src/config.h \
+	$(SRC)/termchar.h \
+	$(SRC)/termopts.h \
+	$(SRC)/termhooks.h \
+	$(SRC)/cm.h \
+	$(SRC)/buffer.h \
+	$(SRC)/frame.h \
+	$(SRC)/window.h \
+	$(SRC)/commands.h \
+	$(SRC)/disptab.h \
+	$(SRC)/indent.h \
+	$(SRC)/dispextern.h \
+	$(SRC)/intervals.h \
+	$(SRC)/composite.h \
+	$(EMACS_ROOT)/nt/inc/sys/ioctl.h \
+	$(EMACS_ROOT)/nt/inc/sys/file.h \
+	$(SRC)/systty.h \
+	$(SRC)/w32term.h \
+	$(SRC)/xterm.h \
+	$(SRC)/vmstime.h \
+	$(SRC)/systime.h
+
+$(BLD)/doc.obj : \
+	$(SRC)/doc.c \
+	$(EMACS_ROOT)/src/s/ms-w32.h \
+	$(EMACS_ROOT)/src/m/intel386.h \
+	$(EMACS_ROOT)/src/config.h \
+	$(EMACS_ROOT)/nt/inc/sys/file.h \
+	$(SRC)/buffer.h \
+	$(SRC)/keyboard.h
+
+$(BLD)/doprnt.obj : \
+	$(SRC)/doprnt.c \
+	$(EMACS_ROOT)/src/s/ms-w32.h \
+	$(EMACS_ROOT)/src/m/intel386.h \
+	$(EMACS_ROOT)/src/config.h
+
+$(BLD)/dosfns.obj : \
+	$(SRC)/dosfns.c \
+	$(EMACS_ROOT)/src/s/ms-w32.h \
+	$(EMACS_ROOT)/src/m/intel386.h \
+	$(EMACS_ROOT)/src/config.h \
+	$(SRC)/buffer.h \
+	$(SRC)/termchar.h \
+	$(SRC)/termhooks.h \
+	$(SRC)/frame.h \
+	$(SRC)/dosfns.h \
+	$(SRC)/msdos.h
+
+$(BLD)/editfns.obj : \
+	$(SRC)/editfns.c \
+	$(EMACS_ROOT)/src/s/ms-w32.h \
+	$(EMACS_ROOT)/src/m/intel386.h \
+	$(EMACS_ROOT)/src/config.h \
+	$(SRC)/uaf.h \
+	$(SRC)/vms-pwd.h \
+	$(EMACS_ROOT)/nt/inc/pwd.h \
+	$(SRC)/dispextern.h \
+	$(SRC)/intervals.h \
+	$(SRC)/composite.h \
+	$(SRC)/buffer.h \
+	$(SRC)/window.h \
+	$(SRC)/vmstime.h \
+	$(SRC)/systime.h
+
+$(BLD)/emacs.obj : \
+	$(SRC)/emacs.c \
+	$(EMACS_ROOT)/src/s/ms-w32.h \
+	$(EMACS_ROOT)/src/m/intel386.h \
+	$(EMACS_ROOT)/src/config.h \
+	$(SRC)/commands.h \
+	$(SRC)/dispextern.h \
+	$(SRC)/intervals.h \
+	$(SRC)/composite.h \
+	$(EMACS_ROOT)/nt/inc/sys/ioctl.h \
+	$(EMACS_ROOT)/nt/inc/sys/file.h \
+	$(SRC)/systty.h \
+	$(SRC)/syssignal.h \
+	$(SRC)/process.h
+
+$(BLD)/eval.obj : \
+	$(SRC)/eval.c \
+	$(EMACS_ROOT)/src/s/ms-w32.h \
+	$(EMACS_ROOT)/src/m/intel386.h \
+	$(EMACS_ROOT)/src/config.h \
+	$(SRC)/blockinput.h \
+	$(SRC)/commands.h \
+	$(SRC)/keyboard.h
+
+$(BLD)/fileio.obj : \
+	$(SRC)/fileio.c \
+	$(EMACS_ROOT)/src/s/ms-w32.h \
+	$(EMACS_ROOT)/src/m/intel386.h \
+	$(EMACS_ROOT)/src/config.h \
+	$(SRC)/uaf.h \
+	$(SRC)/vms-pwd.h \
+	$(EMACS_ROOT)/nt/inc/pwd.h \
+	$(SRC)/msdos.h \
+	$(EMACS_ROOT)/nt/inc/sys/param.h \
+	$(SRC)/vmsdir.h \
+	$(SRC)/dispextern.h \
+	$(SRC)/intervals.h \
+	$(SRC)/composite.h \
+	$(SRC)/buffer.h \
+	$(SRC)/window.h \
+	$(EMACS_ROOT)/nt/inc/sys/file.h \
+	$(SRC)/vmstime.h \
+	$(SRC)/systime.h
+
+$(BLD)/filelock.obj : \
+	$(SRC)/filelock.c \
+	$(EMACS_ROOT)/src/s/ms-w32.h \
+	$(EMACS_ROOT)/src/m/intel386.h \
+	$(EMACS_ROOT)/src/config.h \
+	$(SRC)/uaf.h \
+	$(SRC)/vms-pwd.h \
+	$(EMACS_ROOT)/nt/inc/pwd.h \
+	$(EMACS_ROOT)/nt/inc/sys/file.h \
+	$(EMACS_ROOT)/src/epaths.h \
+	$(SRC)/buffer.h \
+	$(SRC)/vmsdir.h \
+	$(SRC)/ndir.h
+
+$(BLD)/filemode.obj : \
+	$(SRC)/filemode.c \
+	$(EMACS_ROOT)/src/s/ms-w32.h \
+	$(EMACS_ROOT)/src/m/intel386.h \
+	$(EMACS_ROOT)/src/config.h \
+	$(SRC)/s/ms-w32.h \
+	$(SRC)/m/intel386.h \
+	$(SRC)/config.h
+
+$(BLD)/firstfile.obj : \
+	$(SRC)/firstfile.c \
+	$(EMACS_ROOT)/src/s/ms-w32.h \
+	$(EMACS_ROOT)/src/m/intel386.h \
+	$(EMACS_ROOT)/src/config.h
+
+$(BLD)/floatfns.obj : \
+	$(SRC)/floatfns.c \
+	$(EMACS_ROOT)/src/s/ms-w32.h \
+	$(EMACS_ROOT)/src/m/intel386.h \
+	$(EMACS_ROOT)/src/config.h \
+	$(SRC)/syssignal.h
+
+$(BLD)/fns.obj : \
+	$(SRC)/fns.c \
+	$(EMACS_ROOT)/src/s/ms-w32.h \
+	$(EMACS_ROOT)/src/m/intel386.h \
+	$(EMACS_ROOT)/src/config.h \
+	$(SRC)/commands.h \
+	$(SRC)/buffer.h \
+	$(SRC)/keyboard.h \
+	$(SRC)/dispextern.h \
+	$(SRC)/intervals.h \
+	$(SRC)/composite.h
+
+$(BLD)/frame.obj : \
+	$(SRC)/frame.c \
+	$(EMACS_ROOT)/src/s/ms-w32.h \
+	$(EMACS_ROOT)/src/m/intel386.h \
+	$(EMACS_ROOT)/src/config.h \
+	$(SRC)/frame.h \
+	$(SRC)/termhooks.h \
+	$(SRC)/window.h \
+	$(SRC)/buffer.h \
+	$(SRC)/commands.h \
+	$(SRC)/keyboard.h
+
+$(BLD)/getloadavg.obj : \
+	$(SRC)/getloadavg.c \
+	$(EMACS_ROOT)/nt/inc/sys/param.h \
+	$(EMACS_ROOT)/src/s/ms-w32.h \
+	$(EMACS_ROOT)/src/m/intel386.h \
+	$(EMACS_ROOT)/src/config.h \
+	$(SRC)/s/ms-w32.h \
+	$(SRC)/m/intel386.h \
+	$(SRC)/config.h \
+	$(EMACS_ROOT)/nt/inc/sys/file.h
+
+$(BLD)/gmalloc.obj : \
+	$(SRC)/gmalloc.c \
+	$(EMACS_ROOT)/src/s/ms-w32.h \
+	$(EMACS_ROOT)/src/m/intel386.h \
+	$(EMACS_ROOT)/src/config.h \
+	$(EMACS_ROOT)/nt/inc/sys/param.h \
+	$(SRC)/getpagesize.h
+	$(CC) $(CFLAGS) -D__STDC__ -Fo$@ gmalloc.c
+
+$(BLD)/hftctl.obj : \
+	$(SRC)/hftctl.c \
+	$(EMACS_ROOT)/src/s/ms-w32.h \
+	$(EMACS_ROOT)/src/m/intel386.h \
+	$(EMACS_ROOT)/src/config.h \
+	$(EMACS_ROOT)/nt/inc/sys/ioctl.h
+
+$(BLD)/indent.obj : \
+	$(SRC)/indent.c \
+	$(EMACS_ROOT)/src/s/ms-w32.h \
+	$(EMACS_ROOT)/src/m/intel386.h \
+	$(EMACS_ROOT)/src/config.h \
+	$(SRC)/buffer.h \
+	$(SRC)/indent.h \
+	$(SRC)/frame.h \
+	$(SRC)/window.h \
+	$(SRC)/termchar.h \
+	$(SRC)/termopts.h \
+	$(SRC)/disptab.h \
+	$(SRC)/dispextern.h \
+	$(SRC)/intervals.h \
+	$(SRC)/region-cache.h \
+	$(SRC)/composite.h
+
+$(BLD)/insdel.obj : \
+	$(SRC)/insdel.c \
+	$(EMACS_ROOT)/src/s/ms-w32.h \
+	$(EMACS_ROOT)/src/m/intel386.h \
+	$(EMACS_ROOT)/src/config.h \
+	$(SRC)/dispextern.h \
+	$(SRC)/intervals.h \
+	$(SRC)/composite.h \
+	$(SRC)/buffer.h \
+	$(SRC)/window.h \
+	$(SRC)/blockinput.h
+
+$(BLD)/intervals.obj : \
+	$(SRC)/intervals.c \
+	$(EMACS_ROOT)/src/s/ms-w32.h \
+	$(EMACS_ROOT)/src/m/intel386.h \
+	$(EMACS_ROOT)/src/config.h \
+	$(SRC)/dispextern.h \
+	$(SRC)/intervals.h \
+	$(SRC)/composite.h \
+	$(SRC)/keyboard.h \
+	$(SRC)/buffer.h \
+	$(SRC)/puresize.h
+
+$(BLD)/keyboard.obj : \
+	$(SRC)/keyboard.c \
+	$(EMACS_ROOT)/src/s/ms-w32.h \
+	$(EMACS_ROOT)/src/m/intel386.h \
+	$(EMACS_ROOT)/src/config.h \
+	$(SRC)/termchar.h \
+	$(SRC)/termopts.h \
+	$(SRC)/termhooks.h \
+	$(SRC)/macros.h \
+	$(SRC)/frame.h \
+	$(SRC)/window.h \
+	$(SRC)/commands.h \
+	$(SRC)/buffer.h \
+	$(SRC)/disptab.h \
+	$(SRC)/keyboard.h \
+	$(SRC)/dispextern.h \
+	$(SRC)/intervals.h \
+	$(SRC)/composite.h \
+	$(SRC)/blockinput.h \
+	$(SRC)/msdos.h \
+	$(SRC)/syssignal.h \
+	$(EMACS_ROOT)/nt/inc/sys/ioctl.h \
+	$(EMACS_ROOT)/nt/inc/sys/file.h \
+	$(SRC)/systty.h \
+	$(SRC)/w32term.h \
+	$(SRC)/xterm.h \
+	$(SRC)/vmstime.h \
+	$(SRC)/systime.h \
+	$(SRC)/atimer.h
+
+$(BLD)/keymap.obj : \
+	$(SRC)/keymap.c \
+	$(EMACS_ROOT)/src/s/ms-w32.h \
+	$(EMACS_ROOT)/src/m/intel386.h \
+	$(EMACS_ROOT)/src/config.h \
+	$(SRC)/commands.h \
+	$(SRC)/buffer.h \
+	$(SRC)/keyboard.h \
+	$(SRC)/termhooks.h \
+	$(SRC)/blockinput.h
+
+$(BLD)/lastfile.obj : \
+	$(SRC)/lastfile.c \
+	$(EMACS_ROOT)/src/s/ms-w32.h \
+	$(EMACS_ROOT)/src/m/intel386.h \
+	$(EMACS_ROOT)/src/config.h
+
+$(BLD)/lread.obj : \
+	$(SRC)/lread.c \
+	$(EMACS_ROOT)/src/s/ms-w32.h \
+	$(EMACS_ROOT)/src/m/intel386.h \
+	$(EMACS_ROOT)/src/config.h \
+	$(EMACS_ROOT)/nt/inc/sys/file.h \
+	$(SRC)/buffer.h \
+	$(EMACS_ROOT)/src/epaths.h \
+	$(SRC)/commands.h \
+	$(SRC)/keyboard.h \
+	$(SRC)/termhooks.h \
+	$(SRC)/msdos.h
+
+$(BLD)/macros.obj : \
+	$(SRC)/macros.c \
+	$(EMACS_ROOT)/src/s/ms-w32.h \
+	$(EMACS_ROOT)/src/m/intel386.h \
+	$(EMACS_ROOT)/src/config.h \
+	$(SRC)/macros.h \
+	$(SRC)/commands.h \
+	$(SRC)/buffer.h \
+	$(SRC)/window.h
+
+$(BLD)/marker.obj : \
+	$(SRC)/marker.c \
+	$(EMACS_ROOT)/src/s/ms-w32.h \
+	$(EMACS_ROOT)/src/m/intel386.h \
+	$(EMACS_ROOT)/src/config.h \
+	$(SRC)/buffer.h
+
+$(BLD)/minibuf.obj : \
+	$(SRC)/minibuf.c \
+	$(EMACS_ROOT)/src/s/ms-w32.h \
+	$(EMACS_ROOT)/src/m/intel386.h \
+	$(EMACS_ROOT)/src/config.h \
+	$(SRC)/commands.h \
+	$(SRC)/buffer.h \
+	$(SRC)/dispextern.h \
+	$(SRC)/frame.h \
+	$(SRC)/window.h \
+	$(SRC)/syntax.h
+
+$(BLD)/mocklisp.obj : \
+	$(SRC)/mocklisp.c \
+	$(EMACS_ROOT)/src/s/ms-w32.h \
+	$(EMACS_ROOT)/src/m/intel386.h \
+	$(EMACS_ROOT)/src/config.h \
+	$(SRC)/buffer.h
+
+$(BLD)/w32.obj : \
+	$(SRC)/w32.c \
+	$(SRC)/w32.h \
+	$(SRC)/s/ms-w32.h \
+	$(SRC)/m/intel386.h \
+	$(SRC)/config.h \
+	$(EMACS_ROOT)/nt/inc/pwd.h \
+	$(SRC)/w32heap.h
+
+$(BLD)/w32heap.obj : \
+	$(SRC)/w32heap.c \
+	$(SRC)/w32heap.h \
+	$(SRC)/s/ms-w32.h \
+	$(SRC)/m/intel386.h \
+	$(SRC)/config.h
+
+$(BLD)/w32inevt.obj : \
+	$(SRC)/w32inevt.c \
+	$(SRC)/s/ms-w32.h \
+	$(SRC)/m/intel386.h \
+	$(SRC)/config.h \
+	$(SRC)/frame.h \
+	$(SRC)/blockinput.h \
+	$(SRC)/termhooks.h \
+	$(SRC)/w32heap.h \
+	$(SRC)/w32term.h
+
+$(BLD)/w32proc.obj : \
+	$(SRC)/w32proc.c \
+	$(SRC)/s/ms-w32.h \
+	$(SRC)/m/intel386.h \
+	$(SRC)/config.h \
+	$(SRC)/w32.h \
+	$(SRC)/w32heap.h \
+	$(SRC)/vmstime.h \
+	$(SRC)/systime.h
+
+$(BLD)/w32console.obj : \
+	$(SRC)/w32console.c \
+	$(SRC)/s/ms-w32.h \
+	$(SRC)/m/intel386.h \
+	$(SRC)/config.h \
+	$(SRC)/frame.h \
+	$(SRC)/disptab.h \
+	$(SRC)/termhooks.h \
+	$(SRC)/w32inevt.h
+
+$(BLD)/prefix-args.obj : \
+	$(SRC)/prefix-args.c
+
+$(BLD)/print.obj : \
+	$(SRC)/print.c \
+	$(EMACS_ROOT)/src/s/ms-w32.h \
+	$(EMACS_ROOT)/src/m/intel386.h \
+	$(EMACS_ROOT)/src/config.h \
+	$(SRC)/buffer.h \
+	$(SRC)/frame.h \
+	$(SRC)/window.h \
+	$(SRC)/process.h \
+	$(SRC)/termchar.h \
+	$(SRC)/dispextern.h \
+	$(SRC)/intervals.h \
+	$(SRC)/composite.h
+
+$(BLD)/process.obj : \
+	$(SRC)/process.c \
+	$(EMACS_ROOT)/src/s/ms-w32.h \
+	$(EMACS_ROOT)/src/m/intel386.h \
+	$(EMACS_ROOT)/src/config.h \
+	$(EMACS_ROOT)/nt/inc/sys/ioctl.h \
+	$(EMACS_ROOT)/nt/inc/sys/file.h \
+	$(SRC)/systty.h \
+	$(SRC)/window.h \
+	$(SRC)/buffer.h \
+	$(SRC)/process.h \
+	$(SRC)/termhooks.h \
+	$(SRC)/commands.h \
+	$(SRC)/frame.h \
+	$(SRC)/syssignal.h \
+	$(SRC)/vmsproc.h \
+	$(SRC)/syswait.h \
+	$(SRC)/vmstime.h \
+	$(SRC)/systime.h \
+	$(SRC)/termopts.h \
+	$(SRC)/composite.h \
+	$(SRC)/atimer.h
+
+$(BLD)/ralloc.obj : \
+	$(SRC)/ralloc.c \
+	$(EMACS_ROOT)/src/s/ms-w32.h \
+	$(EMACS_ROOT)/src/m/intel386.h \
+	$(EMACS_ROOT)/src/config.h \
+	$(SRC)/s/ms-w32.h \
+	$(SRC)/m/intel386.h \
+	$(SRC)/config.h \
+	$(EMACS_ROOT)/nt/inc/sys/param.h \
+	$(SRC)/getpagesize.h
+
+$(BLD)/regex.obj : \
+	$(SRC)/regex.c \
+	$(EMACS_ROOT)/src/s/ms-w32.h \
+	$(EMACS_ROOT)/src/m/intel386.h \
+	$(EMACS_ROOT)/src/config.h \
+	$(SRC)/s/ms-w32.h \
+	$(SRC)/m/intel386.h \
+	$(SRC)/config.h \
+	$(SRC)/buffer.h \
+	$(SRC)/syntax.h \
+	$(SRC)/regex.h
+
+$(BLD)/region-cache.obj : \
+	$(SRC)/region-cache.c \
+	$(EMACS_ROOT)/src/s/ms-w32.h \
+	$(EMACS_ROOT)/src/m/intel386.h \
+	$(EMACS_ROOT)/src/config.h \
+	$(SRC)/buffer.h \
+	$(SRC)/region-cache.h
+
+$(BLD)/scroll.obj : \
+	$(SRC)/scroll.c \
+	$(EMACS_ROOT)/src/s/ms-w32.h \
+	$(EMACS_ROOT)/src/m/intel386.h \
+	$(EMACS_ROOT)/src/config.h \
+	$(SRC)/termchar.h \
+	$(SRC)/dispextern.h \
+	$(SRC)/frame.h
+
+$(BLD)/search.obj : \
+	$(SRC)/search.c \
+	$(EMACS_ROOT)/src/s/ms-w32.h \
+	$(EMACS_ROOT)/src/m/intel386.h \
+	$(EMACS_ROOT)/src/config.h \
+	$(SRC)/syntax.h \
+	$(SRC)/buffer.h \
+	$(SRC)/commands.h \
+	$(SRC)/blockinput.h \
+	$(SRC)/regex.h \
+	$(SRC)/region-cache.h \
+	$(SRC)/composite.h
+
+$(BLD)/strftime.obj : \
+	$(SRC)/strftime.c \
+	$(EMACS_ROOT)/src/s/ms-w32.h \
+	$(EMACS_ROOT)/src/m/intel386.h \
+	$(EMACS_ROOT)/src/config.h
+
+$(BLD)/sunfns.obj : \
+	$(SRC)/sunfns.c \
+	$(EMACS_ROOT)/src/s/ms-w32.h \
+	$(EMACS_ROOT)/src/m/intel386.h \
+	$(EMACS_ROOT)/src/config.h \
+	$(SRC)/window.h \
+	$(SRC)/buffer.h \
+	$(SRC)/termhooks.h
+
+$(BLD)/syntax.obj : \
+	$(SRC)/syntax.c \
+	$(EMACS_ROOT)/src/s/ms-w32.h \
+	$(EMACS_ROOT)/src/m/intel386.h \
+	$(EMACS_ROOT)/src/config.h \
+	$(SRC)/commands.h \
+	$(SRC)/buffer.h \
+	$(SRC)/syntax.h \
+	$(SRC)/composite.h
+
+$(BLD)/sysdep.obj : \
+	$(SRC)/sysdep.c \
+	$(EMACS_ROOT)/src/s/ms-w32.h \
+	$(EMACS_ROOT)/src/m/intel386.h \
+	$(EMACS_ROOT)/src/config.h \
+	$(SRC)/blockinput.h \
+	$(SRC)/dosfns.h \
+	$(SRC)/msdos.h \
+	$(EMACS_ROOT)/nt/inc/sys/param.h \
+	$(EMACS_ROOT)/nt/inc/sys/file.h \
+	$(EMACS_ROOT)/nt/inc/sys/ioctl.h \
+	$(EMACS_ROOT)/nt/inc/sys/file.h \
+	$(SRC)/systty.h \
+	$(SRC)/vmsproc.h \
+	$(SRC)/syswait.h \
+	$(SRC)/frame.h \
+	$(SRC)/window.h \
+	$(SRC)/termhooks.h \
+	$(SRC)/termchar.h \
+	$(SRC)/termopts.h \
+	$(SRC)/dispextern.h \
+	$(SRC)/process.h \
+	$(SRC)/vmsdir.h \
+	$(SRC)/ndir.h \
+	$(SRC)/syssignal.h \
+	$(SRC)/vmstime.h \
+	$(SRC)/systime.h \
+	$(SRC)/uaf.h \
+	$(SRC)/vms-pwd.h \
+	$(EMACS_ROOT)/src/acldef.h \
+	$(EMACS_ROOT)/src/chpdef.h
+
+$(BLD)/term.obj : \
+	$(SRC)/term.c \
+	$(EMACS_ROOT)/src/s/ms-w32.h \
+	$(EMACS_ROOT)/src/m/intel386.h \
+	$(EMACS_ROOT)/src/config.h \
+	$(SRC)/termchar.h \
+	$(SRC)/termopts.h \
+	$(SRC)/cm.h \
+	$(SRC)/frame.h \
+	$(SRC)/disptab.h \
+	$(SRC)/termhooks.h \
+	$(SRC)/keyboard.h
+
+$(BLD)/termcap.obj : \
+	$(SRC)/termcap.c \
+	$(EMACS_ROOT)/src/s/ms-w32.h \
+	$(EMACS_ROOT)/src/m/intel386.h \
+	$(EMACS_ROOT)/src/config.h \
+	$(EMACS_ROOT)/nt/inc/sys/file.h
+
+$(BLD)/terminfo.obj : \
+	$(SRC)/terminfo.c
+
+$(BLD)/textprop.obj : \
+	$(SRC)/textprop.c \
+	$(EMACS_ROOT)/src/s/ms-w32.h \
+	$(EMACS_ROOT)/src/m/intel386.h \
+	$(EMACS_ROOT)/src/config.h \
+	$(SRC)/dispextern.h \
+	$(SRC)/intervals.h \
+	$(SRC)/composite.h \
+	$(SRC)/buffer.h \
+	$(SRC)/window.h
+
+$(BLD)/tparam.obj : \
+	$(SRC)/tparam.c \
+	$(EMACS_ROOT)/src/s/ms-w32.h \
+	$(EMACS_ROOT)/src/m/intel386.h \
+	$(EMACS_ROOT)/src/config.h
+
+$(BLD)/undo.obj : \
+	$(SRC)/undo.c \
+	$(EMACS_ROOT)/src/s/ms-w32.h \
+	$(EMACS_ROOT)/src/m/intel386.h \
+	$(EMACS_ROOT)/src/config.h \
+	$(SRC)/buffer.h \
+	$(SRC)/commands.h
+
+$(BLD)/unexw32.obj : \
+	$(SRC)/unexw32.c \
+	$(EMACS_ROOT)/src/s/ms-w32.h \
+	$(EMACS_ROOT)/src/m/intel386.h \
+	$(EMACS_ROOT)/src/config.h \
+	$(SRC)/w32heap.h
+
+$(BLD)/vm-limit.obj : \
+	$(SRC)/vm-limit.c \
+	$(EMACS_ROOT)/src/s/ms-w32.h \
+	$(EMACS_ROOT)/src/m/intel386.h \
+	$(EMACS_ROOT)/src/config.h \
+	$(SRC)/mem-limits.h	
+
+$(BLD)/widget.obj : \
+	$(SRC)/widget.c \
+	$(EMACS_ROOT)/src/s/ms-w32.h \
+	$(EMACS_ROOT)/src/m/intel386.h \
+	$(EMACS_ROOT)/src/config.h \
+	$(SRC)/xterm.h \
+	$(SRC)/frame.h \
+	$(SRC)/dispextern.h \
+	$(SRC)/widget.h \
+	$(SRC)/widgetprv.h
+
+$(BLD)/window.obj : \
+	$(SRC)/window.c \
+	$(EMACS_ROOT)/src/s/ms-w32.h \
+	$(EMACS_ROOT)/src/m/intel386.h \
+	$(EMACS_ROOT)/src/config.h \
+	$(SRC)/buffer.h \
+	$(SRC)/frame.h \
+	$(SRC)/window.h \
+	$(SRC)/commands.h \
+	$(SRC)/indent.h \
+	$(SRC)/termchar.h \
+	$(SRC)/disptab.h \
+	$(SRC)/keyboard.h \
+	$(SRC)/composite.h
+
+$(BLD)/xdisp.obj : \
+	$(SRC)/xdisp.c \
+	$(EMACS_ROOT)/src/s/ms-w32.h \
+	$(EMACS_ROOT)/src/m/intel386.h \
+	$(EMACS_ROOT)/src/config.h \
+	$(SRC)/frame.h \
+	$(SRC)/window.h \
+	$(SRC)/termchar.h \
+	$(SRC)/buffer.h \
+	$(SRC)/indent.h \
+	$(SRC)/commands.h \
+	$(SRC)/macros.h \
+	$(SRC)/disptab.h \
+	$(SRC)/termhooks.h \
+	$(SRC)/dispextern.h \
+	$(SRC)/intervals.h \
+	$(SRC)/composite.h
+
+$(BLD)/xfaces.obj: \
+	$(EMACS_ROOT)/src/s/ms-w32.h \
+	$(EMACS_ROOT)/src/m/intel386.h \
+	$(EMACS_ROOT)/src/config.h \
+	$(SRC)/xfaces.c \
+	$(SRC)/charset.h \
+	$(SRC)/fontset.h \
+	$(SRC)/w32term.h \
+	$(SRC)/w32gui.h \
+	$(SRC)/buffer.h \
+	$(SRC)/dispextern.h \
+	$(SRC)/frame.h \
+	$(SRC)/blockinput.h \
+	$(SRC)/window.h \
+	$(SRC)/intervals.h \
+	$(SRC)/composite.h
+
+$(BLD)/w32fns.obj: \
+	$(EMACS_ROOT)/src/s/ms-w32.h \
+	$(EMACS_ROOT)/src/m/intel386.h \
+	$(EMACS_ROOT)/src/config.h \
+	$(SRC)/w32fns.c \
+	$(SRC)/x-list-font.c \
+	$(SRC)/w32term.h \
+	$(SRC)/w32gui.h \
+	$(SRC)/frame.h \
+	$(SRC)/window.h \
+	$(SRC)/buffer.h \
+	$(SRC)/charset.h \
+	$(SRC)/coding.h \
+	$(SRC)/dispextern.h \
+	$(SRC)/keyboard.h \
+	$(SRC)/blockinput.h \
+	$(SRC)/epaths.h \
+	$(SRC)/w32heap.h \
+	$(SRC)/termhooks.h
+
+$(BLD)/w32menu.obj: \
+	$(EMACS_ROOT)/src/s/ms-w32.h \
+	$(EMACS_ROOT)/src/m/intel386.h \
+	$(EMACS_ROOT)/src/config.h \
+	$(SRC)/w32menu.c \
+	$(SRC)/termhooks.h \
+	$(SRC)/frame.h \
+	$(SRC)/window.h \
+	$(SRC)/keyboard.h \
+	$(SRC)/blockinput.h \
+	$(SRC)/buffer.h \
+	$(SRC)/charset.h \
+	$(SRC)/coding.h
+
+$(BLD)/w32term.obj: \
+	$(EMACS_ROOT)/src/s/ms-w32.h \
+	$(EMACS_ROOT)/src/m/intel386.h \
+	$(EMACS_ROOT)/src/config.h \
+	$(SRC)/w32term.c \
+	$(SRC)/blockinput.h \
+	$(SRC)/w32heap.h \
+	$(SRC)/w32term.h \
+	$(SRC)/w32gui.h \
+	$(SRC)/systty.h \
+	$(SRC)/systime.h \
+	$(SRC)/frame.h \
+	$(SRC)/dispextern.h \
+	$(SRC)/termhooks.h \
+	$(SRC)/termopts.h \
+	$(SRC)/termchar.h \
+	$(SRC)/gnu.h \
+	$(SRC)/disptab.h \
+	$(SRC)/buffer.h \
+	$(SRC)/window.h \
+	$(SRC)/keyboard.h \
+	$(SRC)/intervals.h \
+	$(SRC)/composite.h \
+	$(SRC)/atimer.h
+
+$(BLD)/w32select.obj: \
+	$(EMACS_ROOT)/src/s/ms-w32.h \
+	$(EMACS_ROOT)/src/m/intel386.h \
+	$(EMACS_ROOT)/src/config.h \
+	$(SRC)/w32select.c \
+	$(SRC)/w32term.h \
+	$(SRC)/w32gui.h \
+	$(SRC)/dispextern.h \
+	$(SRC)/frame.h \
+	$(SRC)/blockinput.h
+
+$(BLD)/w32reg.obj: \
+	$(EMACS_ROOT)/src/s/ms-w32.h \
+	$(EMACS_ROOT)/src/m/intel386.h \
+	$(EMACS_ROOT)/src/config.h \
+	$(SRC)/w32reg.c \
+	$(SRC)/w32term.h \
+	$(SRC)/w32gui.h \
+	$(SRC)/blockinput.h
+
+$(BLD)/w32xfns.obj: \
+	$(EMACS_ROOT)/src/s/ms-w32.h \
+	$(EMACS_ROOT)/src/m/intel386.h \
+	$(EMACS_ROOT)/src/config.h \
+	$(SRC)/w32xfns.c \
+
+$(BLD)/w32bdf.obj: \
+	$(EMACS_ROOT)/src/s/ms-w32.h \
+	$(EMACS_ROOT)/src/m/intel386.h \
+	$(EMACS_ROOT)/src/config.h \
+	$(SRC)/w32bdf.c \
+	$(SRC)/charset.h \
+	$(SRC)/frame.h \
+	$(SRC)/dispextern.h \
+	$(SRC)/fontset.h \
+	$(SRC)/blockinput.h \
+	$(SRC)/w32gui.h \
+	$(SRC)/w32term.h \
+	$(SRC)/w32bdf.h \
+	$(SRC)/w32.h \
+	$(SRC)/frame.h \
+	$(SRC)/blockinput.h