Promote SSDATA macro from gtkutil.c and xsmfns.c to lisp.h.
[bpt/emacs.git] / src / makefile.w32-in
index fd32a68..9d0f7df 100644 (file)
@@ -1,6 +1,6 @@
 # -*- Makefile -*- for GNU Emacs on the Microsoft W32 API.
 # Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007,
-#   2008, 2009  Free Software Foundation, Inc.
+#   2008, 2009, 2010, 2011  Free Software Foundation, Inc.
 
 # This file is part of GNU Emacs.
 
@@ -37,7 +37,7 @@ TEMACS          = $(BLD)/temacs.exe
 TEMACS_TMP      = $(BLD)/temacs.bin
 TLIB0           = $(BLD)/temacs0.$(A)
 TLIB1           = $(BLD)/temacs1.$(A)
-TLIBW32         = $(BLD)/temacw32.$(A)
+TLIB2           = $(BLD)/temacs2.$(A)
 TOBJ            = $(BLD)/firstfile.$(O)
 TRES           = $(BLD)/emacs.res
 TLASTLIB       = $(BLD)/lastfile.$(A)
@@ -62,7 +62,6 @@ OBJ1 =  $(BLD)/alloc.$(O)             \
        $(BLD)/callint.$(O)             \
        $(BLD)/callproc.$(O)            \
        $(BLD)/casefiddle.$(O)          \
-       $(BLD)/cm.$(O)                  \
        $(BLD)/cmds.$(O)                \
        $(BLD)/data.$(O)                \
        $(BLD)/dired.$(O)               \
@@ -95,10 +94,10 @@ OBJ1 =  $(BLD)/alloc.$(O)           \
        $(BLD)/scroll.$(O)              \
        $(BLD)/search.$(O)              \
        $(BLD)/sound.$(O)               \
-       $(BLD)/syntax.$(O)              \
-       $(BLD)/sysdep.$(O)              \
+       $(BLD)/syntax.$(O)
+
+OBJ2 =  $(BLD)/sysdep.$(O)             \
        $(BLD)/term.$(O)                \
-       $(BLD)/termcap.$(O)             \
        $(BLD)/tparam.$(O)              \
        $(BLD)/undo.$(O)                \
        $(BLD)/unexw32.$(O)             \
@@ -115,6 +114,7 @@ OBJ1 =  $(BLD)/alloc.$(O)           \
        $(BLD)/vm-limit.$(O)            \
        $(BLD)/region-cache.$(O)        \
        $(BLD)/strftime.$(O)            \
+       $(BLD)/bidi.$(O)                \
        $(BLD)/charset.$(O)             \
        $(BLD)/character.$(O)           \
        $(BLD)/chartab.$(O)             \
@@ -126,28 +126,27 @@ OBJ1 =  $(BLD)/alloc.$(O)         \
        $(BLD)/fringe.$(O)              \
        $(BLD)/image.$(O)               \
        $(BLD)/terminal.$(O)            \
-        $(BLD)/menu.$(O)
-
-WIN32OBJ = $(BLD)/w32term.$(O)         \
-          $(BLD)/w32xfns.$(O)          \
-          $(BLD)/w32fns.$(O)           \
-          $(BLD)/xfaces.$(O)           \
-          $(BLD)/w32select.$(O)        \
-          $(BLD)/w32menu.$(O)          \
-          $(BLD)/w32reg.$(O)
-
-FONTOBJ = $(BLD)/w32font.$(O) $(BLD)/w32uniscribe.$(O)
+       $(BLD)/menu.$(O)                \
+       $(BLD)/w32term.$(O)             \
+       $(BLD)/w32xfns.$(O)             \
+       $(BLD)/w32fns.$(O)              \
+       $(BLD)/xfaces.$(O)              \
+       $(BLD)/w32select.$(O)           \
+       $(BLD)/w32menu.$(O)             \
+       $(BLD)/w32reg.$(O)              \
+       $(BLD)/w32font.$(O)             \
+       $(BLD)/w32uniscribe.$(O)
 
 LIBS =  $(TLIB0)       \
        $(TLIB1)        \
-       $(TLIBW32)      \
+       $(TLIB2)        \
        $(TLASTLIB)     \
        $(WINMM)        \
        $(ADVAPI32)     \
        $(GDI32)        \
        $(COMDLG32)     \
        $(USER32)       \
-       $(MPR)  \
+       $(MPR)          \
        $(SHELL32)      \
        $(WINSPOOL)     \
        $(OLE32)        \
@@ -166,7 +165,7 @@ all:            $(ALL)
 emacs:          stamp_BLD $(EMACS)
 $(EMACS):       $(DOC) $(TEMACS)
        "$(THISDIR)/$(BLD)/temacs.exe" -batch -l loadup dump
-       -"$(THISDIR)/$(BLD)/emacs.exe" -q -batch -f list-load-path-shadows
+       -"$(THISDIR)/$(BLD)/emacs.exe" -batch -f list-load-path-shadows
 
 #
 # The undumped executable
@@ -175,7 +174,7 @@ $(EMACS):       $(DOC) $(TEMACS)
 # (it is the preload heap size in MB).
 #
 temacs:         stamp_BLD $(TEMACS)
-$(TEMACS):      $(TLIB0) $(TLIB1) $(TLIBW32) $(TLASTLIB) $(TOBJ) $(TRES) \
+$(TEMACS):      $(TLIB0) $(TLIB1) $(TLIB2) $(TLASTLIB) $(TOBJ) $(TRES) \
                  ../nt/$(BLD)/addsection.exe
        $(LINK) $(LINK_OUT)$(TEMACS_TMP) $(FULL_LINK_FLAGS) $(TOBJ) $(TRES) $(LIBS)
        "../nt/$(BLD)/addsection" "$(TEMACS_TMP)" "$(TEMACS)" EMHEAP 21
@@ -191,16 +190,14 @@ make-buildobj-CMD:
        echo #define BUILDOBJ ^"\> buildobj.h
        echo $(OBJ0)            \>> buildobj.h
        echo $(OBJ1)            \>> buildobj.h
-       echo $(WIN32OBJ)        \>> buildobj.h
-       echo $(FONTOBJ)         \>> buildobj.h
+       echo $(OBJ2)            \>> buildobj.h
        echo ^">> buildobj.h
 
 make-buildobj-SH:
        echo '#define BUILDOBJ $(DQUOTE)\'  > buildobj.h
        echo $(OBJ0)                   '\' >> buildobj.h
        echo $(OBJ1)                   '\' >> buildobj.h
-       echo $(WIN32OBJ)               '\' >> buildobj.h
-       echo $(FONTOBJ)                '\' >> buildobj.h
+       echo $(OBJ2)                   '\' >> buildobj.h
        echo '$(DQUOTE)'                   >> buildobj.h
 
 bootstrap: bootstrap-emacs
@@ -250,7 +247,7 @@ $(TLIB0):       $(OBJ0)
 $(TLIB1):       $(OBJ1)
        - $(DEL) $@
        $(AR) $(AR_OUT)$@ $(ALL_DEPS)
-$(TLIBW32):    $(WIN32OBJ) $(FONTOBJ)
+$(TLIB2):      $(OBJ2)
        - $(DEL) $@
        $(AR) $(AR_OUT)$@ $(ALL_DEPS)
 
@@ -294,6 +291,52 @@ cleanall:  clean
        - $(DEL_TREE) oo
        - $(DEL_TREE) oo-spd
 
+## Arrange to make a tags table TAGS-LISP for ../lisp,
+## plus TAGS for the C files, which includes ../lisp/TAGS by reference.
+##
+## This works only with GNU Make.
+
+TAGS: $(OBJ0) $(OBJ1) $(OBJ2)
+       $(MAKE) $(MFLAGS) TAGS-$(MAKETYPE)
+
+TAGS-LISP: $(OBJ0) $(OBJ1) $(OBJ2)
+       $(MAKE) $(MFLAGS) TAGS-LISP-$(MAKETYPE)
+
+TAGS-gmake:
+       ../lib-src/$(BLD)/etags.exe --include=TAGS-LISP --include=../nt/TAGS \
+         --regex=@../nt/emacs-src.tags \
+         $(patsubst $(BLD)%.$(O),$(CURDIR)%.c,$(OBJ0))
+       ../lib-src/$(BLD)/etags.exe -a --regex=@../nt/emacs-src.tags \
+         $(patsubst $(BLD)%.$(O),$(CURDIR)%.c,$(OBJ1))
+       ../lib-src/$(BLD)/etags.exe -a --regex=@../nt/emacs-src.tags \
+         $(patsubst $(BLD)%.$(O),$(CURDIR)%.c,$(OBJ2)) \
+         $(CURDIR)/*.h
+
+TAGS-nmake:
+       echo This target is not supported with NMake
+       exit -1
+
+frc:
+TAGS-LISP-gmake: frc
+       $(MAKE) $(MFLAGS) -C ../lisp TAGS-LISP DEST=../src
+
+TAGS-LISP-nmake:
+       echo This target is not supported with NMake
+       exit -1
+
+../nt/TAGS: frc
+       $(MAKE) $(MFLAGS) nt-TAGS-$(MAKETYPE)
+
+nt-TAGS-gmake:
+       $(MAKE) $(MFLAGS) -C ../nt TAGS
+
+nt-TAGS-nmake:
+       echo This target is not supported with NMake
+       exit -1
+
+full-tags: TAGS TAGS-LISP ../nt/TAGS
+.PHONY: full-tags
+
 ### DEPENDENCIES ###
 
 EMACS_ROOT = ..
@@ -307,6 +350,7 @@ $(BLD)/alloc.$(O) : \
        $(CONFIG_H) \
        $(EMACS_ROOT)/nt/inc/unistd.h \
        $(EMACS_ROOT)/nt/inc/sys/time.h \
+       $(SRC)/lisp.h \
        $(SRC)/atimer.h \
        $(SRC)/blockinput.h \
        $(SRC)/buffer.h \
@@ -331,17 +375,30 @@ $(BLD)/atimer.$(O) : \
        $(CONFIG_H) \
        $(EMACS_ROOT)/nt/inc/unistd.h \
        $(EMACS_ROOT)/nt/inc/sys/time.h \
+       $(SRC)/lisp.h \
        $(SRC)/atimer.h \
        $(SRC)/blockinput.h \
        $(SRC)/syssignal.h \
        $(SRC)/systime.h
 
+$(BLD)/bidi.$(O) : \
+       $(SRC)/bidi.c \
+       $(CONFIG_H) \
+       $(SRC)/lisp.h \
+       $(SRC)/bidimirror.h \
+       $(SRC)/biditype.h \
+       $(SRC)/buffer.h \
+       $(SRC)/character.h \
+       $(SRC)/dispextern.h \
+       $(SRC)/w32gui.h
+
 $(BLD)/buffer.$(O) : \
        $(SRC)/buffer.c \
        $(CONFIG_H) \
        $(EMACS_ROOT)/nt/inc/unistd.h \
        $(EMACS_ROOT)/nt/inc/sys/param.h \
        $(EMACS_ROOT)/nt/inc/sys/time.h \
+       $(SRC)/lisp.h \
        $(SRC)/atimer.h \
        $(SRC)/blockinput.h \
        $(SRC)/buffer.h \
@@ -363,6 +420,7 @@ $(BLD)/buffer.$(O) : \
 $(BLD)/bytecode.$(O) : \
        $(SRC)/bytecode.c \
        $(CONFIG_H) \
+       $(SRC)/lisp.h \
        $(SRC)/buffer.h \
        $(SRC)/character.h \
        $(SRC)/dispextern.h \
@@ -374,6 +432,7 @@ $(BLD)/callint.$(O) : \
        $(SRC)/callint.c \
        $(CONFIG_H) \
        $(EMACS_ROOT)/nt/inc/sys/time.h \
+       $(SRC)/lisp.h \
        $(SRC)/buffer.h \
        $(SRC)/coding.h \
        $(SRC)/commands.h \
@@ -391,6 +450,7 @@ $(BLD)/callproc.$(O) : \
        $(EMACS_ROOT)/nt/inc/unistd.h \
        $(EMACS_ROOT)/nt/inc/sys/file.h \
        $(EMACS_ROOT)/nt/inc/sys/time.h \
+       $(SRC)/lisp.h \
        $(SRC)/atimer.h \
        $(SRC)/blockinput.h \
        $(SRC)/buffer.h \
@@ -413,6 +473,7 @@ $(BLD)/callproc.$(O) : \
 $(BLD)/casefiddle.$(O) : \
        $(SRC)/casefiddle.c \
        $(CONFIG_H) \
+       $(SRC)/lisp.h \
        $(SRC)/buffer.h \
        $(SRC)/character.h \
        $(SRC)/commands.h \
@@ -423,12 +484,14 @@ $(BLD)/casefiddle.$(O) : \
 $(BLD)/casetab.$(O) : \
        $(SRC)/casetab.c \
        $(CONFIG_H) \
+       $(SRC)/lisp.h \
        $(SRC)/buffer.h \
        $(SRC)/character.h
 
 $(BLD)/category.$(O) : \
        $(SRC)/category.c \
        $(CONFIG_H) \
+       $(SRC)/lisp.h \
        $(SRC)/buffer.h \
        $(SRC)/category.h \
        $(SRC)/character.h \
@@ -438,6 +501,7 @@ $(BLD)/category.$(O) : \
 $(BLD)/ccl.$(O) : \
        $(SRC)/ccl.c \
        $(CONFIG_H) \
+       $(SRC)/lisp.h \
        $(SRC)/ccl.h \
        $(SRC)/character.h \
        $(SRC)/charset.h \
@@ -447,6 +511,7 @@ $(BLD)/ccl.$(O) : \
 $(BLD)/character.$(O) : \
        $(SRC)/character.c \
        $(CONFIG_H) \
+       $(SRC)/lisp.h \
        $(SRC)/buffer.h \
        $(SRC)/character.h \
        $(SRC)/charset.h \
@@ -457,6 +522,7 @@ $(BLD)/charset.$(O) : \
        $(SRC)/charset.c \
        $(CONFIG_H) \
        $(EMACS_ROOT)/nt/inc/unistd.h \
+       $(SRC)/lisp.h \
        $(SRC)/buffer.h \
        $(SRC)/character.h \
        $(SRC)/charset.h \
@@ -467,30 +533,23 @@ $(BLD)/charset.$(O) : \
 $(BLD)/chartab.$(O) : \
        $(SRC)/chartab.c \
        $(CONFIG_H) \
+       $(SRC)/lisp.h \
        $(SRC)/ccl.h \
        $(SRC)/character.h \
        $(SRC)/charset.h
 
-$(BLD)/cm.$(O) : \
-       $(SRC)/cm.c \
-       $(CONFIG_H) \
-       $(SRC)/cm.h \
-       $(SRC)/dispextern.h \
-       $(SRC)/frame.h \
-       $(SRC)/termchar.h \
-       $(SRC)/termhooks.h \
-       $(SRC)/w32gui.h
-
 $(BLD)/cmds.$(O) : \
        $(SRC)/cmds.c \
        $(CONFIG_H) \
        $(EMACS_ROOT)/nt/inc/sys/time.h \
+       $(SRC)/lisp.h \
        $(SRC)/buffer.h \
        $(SRC)/character.h \
        $(SRC)/coding.h \
        $(SRC)/commands.h \
        $(SRC)/composite.h \
        $(SRC)/dispextern.h \
+       $(SRC)/frame.h \
        $(SRC)/keyboard.h \
        $(SRC)/keymap.h \
        $(SRC)/syntax.h \
@@ -501,6 +560,7 @@ $(BLD)/cmds.$(O) : \
 $(BLD)/coding.$(O) : \
        $(SRC)/coding.c \
        $(CONFIG_H) \
+       $(SRC)/lisp.h \
        $(SRC)/buffer.h \
        $(SRC)/ccl.h \
        $(SRC)/character.h \
@@ -516,6 +576,7 @@ $(BLD)/coding.$(O) : \
 $(BLD)/composite.$(O) : \
        $(SRC)/composite.c \
        $(CONFIG_H) \
+       $(SRC)/lisp.h \
        $(SRC)/buffer.h \
        $(SRC)/ccl.h \
        $(SRC)/character.h \
@@ -533,6 +594,7 @@ $(BLD)/data.$(O) : \
        $(SRC)/data.c \
        $(CONFIG_H) \
        $(EMACS_ROOT)/nt/inc/sys/time.h \
+       $(SRC)/lisp.h \
        $(SRC)/buffer.h \
        $(SRC)/ccl.h \
        $(SRC)/character.h \
@@ -556,6 +618,7 @@ $(BLD)/dired.$(O) : \
        $(EMACS_ROOT)/nt/inc/unistd.h \
        $(EMACS_ROOT)/nt/inc/sys/dir.h \
        $(EMACS_ROOT)/nt/inc/sys/time.h \
+       $(SRC)/lisp.h \
        $(SRC)/atimer.h \
        $(SRC)/blockinput.h \
        $(SRC)/buffer.h \
@@ -573,6 +636,7 @@ $(BLD)/dispnew.$(O) : \
        $(CONFIG_H) \
        $(EMACS_ROOT)/nt/inc/unistd.h \
        $(EMACS_ROOT)/nt/inc/sys/time.h \
+       $(SRC)/lisp.h \
        $(SRC)/atimer.h \
        $(SRC)/blockinput.h \
        $(SRC)/buffer.h \
@@ -604,6 +668,7 @@ $(BLD)/doc.$(O) : \
        $(EMACS_ROOT)/nt/inc/unistd.h \
        $(EMACS_ROOT)/nt/inc/sys/file.h \
        $(EMACS_ROOT)/nt/inc/sys/time.h \
+       $(SRC)/lisp.h \
        $(SRC)/buffer.h \
        $(SRC)/character.h \
        $(SRC)/coding.h \
@@ -616,6 +681,7 @@ $(BLD)/doprnt.$(O) : \
        $(SRC)/doprnt.c \
        $(CONFIG_H) \
        $(EMACS_ROOT)/nt/inc/unistd.h \
+       $(SRC)/lisp.h \
        $(SRC)/character.h
 
 $(BLD)/editfns.$(O) : \
@@ -624,6 +690,7 @@ $(BLD)/editfns.$(O) : \
        $(EMACS_ROOT)/nt/inc/pwd.h \
        $(EMACS_ROOT)/nt/inc/unistd.h \
        $(EMACS_ROOT)/nt/inc/sys/time.h \
+       $(SRC)/lisp.h \
        $(SRC)/atimer.h \
        $(SRC)/blockinput.h \
        $(SRC)/buffer.h \
@@ -643,6 +710,7 @@ $(BLD)/emacs.$(O) : \
        $(EMACS_ROOT)/nt/inc/unistd.h \
        $(EMACS_ROOT)/nt/inc/sys/file.h \
        $(EMACS_ROOT)/nt/inc/sys/time.h \
+       $(SRC)/lisp.h \
        $(SRC)/atimer.h \
        $(SRC)/blockinput.h \
        $(SRC)/buffer.h \
@@ -668,12 +736,14 @@ $(BLD)/eval.$(O) : \
        $(SRC)/eval.c \
        $(CONFIG_H) \
        $(EMACS_ROOT)/nt/inc/sys/time.h \
+       $(SRC)/lisp.h \
        $(SRC)/atimer.h \
        $(SRC)/blockinput.h \
        $(SRC)/coding.h \
        $(SRC)/commands.h \
        $(SRC)/composite.h \
        $(SRC)/dispextern.h \
+       $(SRC)/frame.h \
        $(SRC)/keyboard.h \
        $(SRC)/systime.h \
        $(SRC)/w32gui.h
@@ -684,6 +754,7 @@ $(BLD)/fileio.$(O) : \
        $(EMACS_ROOT)/nt/inc/pwd.h \
        $(EMACS_ROOT)/nt/inc/unistd.h \
        $(EMACS_ROOT)/nt/inc/sys/time.h \
+       $(SRC)/lisp.h \
        $(SRC)/atimer.h \
        $(SRC)/blockinput.h \
        $(SRC)/buffer.h \
@@ -705,6 +776,7 @@ $(BLD)/filelock.$(O) : \
        $(EMACS_ROOT)/nt/inc/unistd.h \
        $(EMACS_ROOT)/nt/inc/sys/file.h \
        $(EMACS_ROOT)/nt/inc/sys/time.h \
+       $(SRC)/lisp.h \
        $(SRC)/buffer.h \
        $(SRC)/character.h \
        $(SRC)/coding.h \
@@ -722,6 +794,7 @@ $(BLD)/firstfile.$(O) : \
 $(BLD)/floatfns.$(O) : \
        $(SRC)/floatfns.c \
        $(CONFIG_H) \
+       $(SRC)/lisp.h \
        $(SRC)/syssignal.h
 
 $(BLD)/fns.$(O) : \
@@ -731,6 +804,7 @@ $(BLD)/fns.$(O) : \
        $(EMACS_ROOT)/nt/inc/nl_types.h \
        $(EMACS_ROOT)/nt/inc/unistd.h \
        $(EMACS_ROOT)/nt/inc/sys/time.h \
+       $(SRC)/lisp.h \
        $(SRC)/atimer.h \
        $(SRC)/blockinput.h \
        $(SRC)/buffer.h \
@@ -751,6 +825,7 @@ $(BLD)/fns.$(O) : \
 $(BLD)/font.$(O) : \
        $(SRC)/font.c \
        $(CONFIG_H) \
+       $(SRC)/lisp.h \
        $(SRC)/buffer.h \
        $(SRC)/ccl.h \
        $(SRC)/character.h \
@@ -768,6 +843,7 @@ $(BLD)/fontset.$(O) : \
        $(SRC)/fontset.c \
        $(CONFIG_H) \
        $(EMACS_ROOT)/nt/inc/sys/time.h \
+       $(SRC)/lisp.h \
        $(SRC)/atimer.h \
        $(SRC)/blockinput.h \
        $(SRC)/buffer.h \
@@ -792,6 +868,7 @@ $(BLD)/frame.$(O) : \
        $(SRC)/frame.c \
        $(CONFIG_H) \
        $(EMACS_ROOT)/nt/inc/sys/time.h \
+       $(SRC)/lisp.h \
        $(SRC)/atimer.h \
        $(SRC)/blockinput.h \
        $(SRC)/buffer.h \
@@ -816,6 +893,7 @@ $(BLD)/fringe.$(O) : \
        $(SRC)/fringe.c \
        $(CONFIG_H) \
        $(EMACS_ROOT)/nt/inc/sys/time.h \
+       $(SRC)/lisp.h \
        $(SRC)/atimer.h \
        $(SRC)/blockinput.h \
        $(SRC)/buffer.h \
@@ -837,6 +915,7 @@ $(BLD)/image.$(O) : \
        $(CONFIG_H) \
        $(EMACS_ROOT)/nt/inc/unistd.h \
        $(EMACS_ROOT)/nt/inc/sys/time.h \
+       $(SRC)/lisp.h \
        $(SRC)/atimer.h \
        $(SRC)/blockinput.h \
        $(SRC)/ccl.h \
@@ -857,6 +936,7 @@ $(BLD)/indent.$(O) : \
        $(SRC)/indent.c \
        $(CONFIG_H) \
        $(EMACS_ROOT)/nt/inc/sys/time.h \
+       $(SRC)/lisp.h \
        $(SRC)/buffer.h \
        $(SRC)/category.h \
        $(SRC)/character.h \
@@ -879,6 +959,7 @@ $(BLD)/insdel.$(O) : \
        $(SRC)/insdel.c \
        $(CONFIG_H) \
        $(EMACS_ROOT)/nt/inc/sys/time.h \
+       $(SRC)/lisp.h \
        $(SRC)/atimer.h \
        $(SRC)/blockinput.h \
        $(SRC)/buffer.h \
@@ -895,6 +976,7 @@ $(BLD)/intervals.$(O) : \
        $(SRC)/intervals.c \
        $(CONFIG_H) \
        $(EMACS_ROOT)/nt/inc/sys/time.h \
+       $(SRC)/lisp.h \
        $(SRC)/buffer.h \
        $(SRC)/coding.h \
        $(SRC)/composite.h \
@@ -912,6 +994,7 @@ $(BLD)/keyboard.$(O) : \
        $(EMACS_ROOT)/nt/inc/unistd.h \
        $(EMACS_ROOT)/nt/inc/sys/ioctl.h \
        $(EMACS_ROOT)/nt/inc/sys/time.h \
+       $(SRC)/lisp.h \
        $(SRC)/atimer.h \
        $(SRC)/blockinput.h \
        $(SRC)/buffer.h \
@@ -926,6 +1009,7 @@ $(BLD)/keyboard.$(O) : \
        $(SRC)/keyboard.h \
        $(SRC)/keymap.h \
        $(SRC)/macros.h \
+       $(SRC)/process.h \
        $(SRC)/puresize.h \
        $(SRC)/syntax.h \
        $(SRC)/syssignal.h \
@@ -941,6 +1025,7 @@ $(BLD)/keymap.$(O) : \
        $(SRC)/keymap.c \
        $(CONFIG_H) \
        $(EMACS_ROOT)/nt/inc/sys/time.h \
+       $(SRC)/lisp.h \
        $(SRC)/atimer.h \
        $(SRC)/blockinput.h \
        $(SRC)/buffer.h \
@@ -970,6 +1055,7 @@ $(BLD)/lread.$(O) : \
        $(EMACS_ROOT)/nt/inc/unistd.h \
        $(EMACS_ROOT)/nt/inc/sys/file.h \
        $(EMACS_ROOT)/nt/inc/sys/time.h \
+       $(SRC)/lisp.h \
        $(SRC)/atimer.h \
        $(SRC)/blockinput.h \
        $(SRC)/buffer.h \
@@ -991,6 +1077,7 @@ $(BLD)/macros.$(O) : \
        $(SRC)/macros.c \
        $(CONFIG_H) \
        $(EMACS_ROOT)/nt/inc/sys/time.h \
+       $(SRC)/lisp.h \
        $(SRC)/buffer.h \
        $(SRC)/coding.h \
        $(SRC)/commands.h \
@@ -1005,6 +1092,7 @@ $(BLD)/macros.$(O) : \
 $(BLD)/marker.$(O) : \
        $(SRC)/marker.c \
        $(CONFIG_H) \
+       $(SRC)/lisp.h \
        $(SRC)/buffer.h \
        $(SRC)/character.h
 
@@ -1017,6 +1105,7 @@ $(BLD)/menu.$(O) : \
        $(SRC)/menu.c \
        $(CONFIG_H) \
        $(EMACS_ROOT)/nt/inc/sys/time.h \
+       $(SRC)/lisp.h \
        $(SRC)/atimer.h \
        $(SRC)/blockinput.h \
        $(SRC)/coding.h \
@@ -1029,12 +1118,14 @@ $(BLD)/menu.$(O) : \
        $(SRC)/systime.h \
        $(SRC)/termhooks.h \
        $(SRC)/w32gui.h \
-       $(SRC)/w32term.h
+       $(SRC)/w32term.h \
+       $(SRC)/window.h
 
 $(BLD)/minibuf.$(O) : \
        $(SRC)/minibuf.c \
        $(CONFIG_H) \
        $(EMACS_ROOT)/nt/inc/sys/time.h \
+       $(SRC)/lisp.h \
        $(SRC)/buffer.h \
        $(SRC)/character.h \
        $(SRC)/coding.h \
@@ -1060,6 +1151,7 @@ $(BLD)/w32.$(O) : \
        $(EMACS_ROOT)/nt/inc/sys/file.h \
        $(EMACS_ROOT)/nt/inc/sys/socket.h \
        $(EMACS_ROOT)/nt/inc/sys/time.h \
+       $(SRC)/lisp.h \
        $(SRC)/coding.h \
        $(SRC)/composite.h \
        $(SRC)/dispextern.h \
@@ -1073,12 +1165,14 @@ $(BLD)/w32.$(O) : \
 $(BLD)/w32heap.$(O) : \
        $(SRC)/w32heap.c \
        $(CONFIG_H) \
+       $(SRC)/lisp.h \
        $(SRC)/w32heap.h
 
 $(BLD)/w32inevt.$(O) : \
        $(SRC)/w32inevt.c \
        $(CONFIG_H) \
        $(EMACS_ROOT)/nt/inc/sys/time.h \
+       $(SRC)/lisp.h \
        $(SRC)/atimer.h \
        $(SRC)/blockinput.h \
        $(SRC)/coding.h \
@@ -1100,6 +1194,7 @@ $(BLD)/w32proc.$(O) : \
        $(EMACS_ROOT)/nt/inc/unistd.h \
        $(EMACS_ROOT)/nt/inc/sys/file.h \
        $(EMACS_ROOT)/nt/inc/sys/time.h \
+       $(SRC)/lisp.h \
        $(SRC)/character.h \
        $(SRC)/coding.h \
        $(SRC)/composite.h \
@@ -1116,6 +1211,7 @@ $(BLD)/w32proc.$(O) : \
 $(BLD)/w32console.$(O) : \
        $(SRC)/w32console.c \
        $(CONFIG_H) \
+       $(SRC)/lisp.h \
        $(SRC)/character.h \
        $(SRC)/coding.h \
        $(SRC)/composite.h \
@@ -1132,6 +1228,7 @@ $(BLD)/print.$(O) : \
        $(CONFIG_H) \
        $(EMACS_ROOT)/nt/inc/unistd.h \
        $(EMACS_ROOT)/nt/inc/sys/time.h \
+       $(SRC)/lisp.h \
        $(SRC)/atimer.h \
        $(SRC)/blockinput.h \
        $(SRC)/buffer.h \
@@ -1162,6 +1259,7 @@ $(BLD)/process.$(O) : \
        $(EMACS_ROOT)/nt/inc/sys/file.h \
        $(EMACS_ROOT)/nt/inc/sys/socket.h \
        $(EMACS_ROOT)/nt/inc/sys/time.h \
+       $(SRC)/lisp.h \
        $(SRC)/atimer.h \
        $(SRC)/blockinput.h \
        $(SRC)/buffer.h \
@@ -1189,6 +1287,7 @@ $(BLD)/ralloc.$(O) : \
        $(CONFIG_H) \
        $(EMACS_ROOT)/nt/inc/unistd.h \
        $(EMACS_ROOT)/nt/inc/sys/time.h \
+       $(SRC)/lisp.h \
        $(SRC)/atimer.h \
        $(SRC)/blockinput.h \
        $(SRC)/getpagesize.h \
@@ -1197,6 +1296,7 @@ $(BLD)/ralloc.$(O) : \
 $(BLD)/regex.$(O) : \
        $(SRC)/regex.c \
        $(CONFIG_H) \
+       $(SRC)/lisp.h \
        $(SRC)/buffer.h \
        $(SRC)/category.h \
        $(SRC)/character.h \
@@ -1206,6 +1306,7 @@ $(BLD)/regex.$(O) : \
 $(BLD)/region-cache.$(O) : \
        $(SRC)/region-cache.c \
        $(CONFIG_H) \
+       $(SRC)/lisp.h \
        $(SRC)/buffer.h \
        $(SRC)/region-cache.h
 
@@ -1213,6 +1314,7 @@ $(BLD)/scroll.$(O) : \
        $(SRC)/scroll.c \
        $(CONFIG_H) \
        $(EMACS_ROOT)/nt/inc/sys/time.h \
+       $(SRC)/lisp.h \
        $(SRC)/coding.h \
        $(SRC)/composite.h \
        $(SRC)/dispextern.h \
@@ -1228,6 +1330,7 @@ $(BLD)/search.$(O) : \
        $(SRC)/search.c \
        $(CONFIG_H) \
        $(EMACS_ROOT)/nt/inc/sys/time.h \
+       $(SRC)/lisp.h \
        $(SRC)/atimer.h \
        $(SRC)/blockinput.h \
        $(SRC)/buffer.h \
@@ -1249,6 +1352,7 @@ $(BLD)/sound.$(O) : \
        $(CONFIG_H) \
        $(EMACS_ROOT)/nt/inc/unistd.h \
        $(EMACS_ROOT)/nt/inc/sys/time.h \
+       $(SRC)/lisp.h \
        $(SRC)/atimer.h \
        $(SRC)/dispextern.h \
        $(SRC)/syssignal.h \
@@ -1263,6 +1367,7 @@ $(BLD)/strftime.$(O) : \
 $(BLD)/syntax.$(O) : \
        $(SRC)/syntax.c \
        $(CONFIG_H) \
+       $(SRC)/lisp.h \
        $(SRC)/buffer.h \
        $(SRC)/category.h \
        $(SRC)/character.h \
@@ -1283,9 +1388,9 @@ $(BLD)/sysdep.$(O) : \
        $(EMACS_ROOT)/nt/inc/pwd.h \
        $(EMACS_ROOT)/nt/inc/unistd.h \
        $(EMACS_ROOT)/nt/inc/sys/file.h \
-       $(EMACS_ROOT)/nt/inc/sys/ioctl.h \
        $(EMACS_ROOT)/nt/inc/sys/socket.h \
        $(EMACS_ROOT)/nt/inc/sys/time.h \
+       $(SRC)/lisp.h \
        $(SRC)/atimer.h \
        $(SRC)/blockinput.h \
        $(SRC)/cm.h \
@@ -1295,6 +1400,7 @@ $(BLD)/sysdep.$(O) : \
        $(SRC)/frame.h \
        $(SRC)/keyboard.h \
        $(SRC)/process.h \
+       $(SRC)/sysselect.h \
        $(SRC)/syssignal.h \
        $(SRC)/systime.h \
        $(SRC)/systty.h \
@@ -1312,6 +1418,7 @@ $(BLD)/term.$(O) : \
        $(EMACS_ROOT)/nt/inc/unistd.h \
        $(EMACS_ROOT)/nt/inc/sys/file.h \
        $(EMACS_ROOT)/nt/inc/sys/time.h \
+       $(SRC)/lisp.h \
        $(SRC)/atimer.h \
        $(SRC)/blockinput.h \
        $(SRC)/buffer.h \
@@ -1335,16 +1442,11 @@ $(BLD)/term.$(O) : \
        $(SRC)/w32gui.h \
        $(SRC)/window.h
 
-$(BLD)/termcap.$(O) : \
-       $(SRC)/termcap.c \
-       $(CONFIG_H) \
-       $(EMACS_ROOT)/nt/inc/unistd.h \
-       $(EMACS_ROOT)/nt/inc/sys/file.h
-
 $(BLD)/terminal.$(O) : \
        $(SRC)/terminal.c \
        $(CONFIG_H) \
        $(EMACS_ROOT)/nt/inc/sys/time.h \
+       $(SRC)/lisp.h \
        $(SRC)/charset.h \
        $(SRC)/coding.h \
        $(SRC)/composite.h \
@@ -1359,6 +1461,7 @@ $(BLD)/terminal.$(O) : \
 $(BLD)/textprop.$(O) : \
        $(SRC)/textprop.c \
        $(CONFIG_H) \
+       $(SRC)/lisp.h \
        $(SRC)/buffer.h \
        $(SRC)/composite.h \
        $(SRC)/dispextern.h \
@@ -1368,11 +1471,13 @@ $(BLD)/textprop.$(O) : \
 
 $(BLD)/tparam.$(O) : \
        $(SRC)/tparam.c \
-       $(CONFIG_H)
+       $(CONFIG_H) \
+       $(SRC)/lisp.h
 
 $(BLD)/undo.$(O) : \
        $(SRC)/undo.c \
        $(CONFIG_H) \
+       $(SRC)/lisp.h \
        $(SRC)/buffer.h \
        $(SRC)/commands.h \
        $(SRC)/dispextern.h \
@@ -1387,12 +1492,14 @@ $(BLD)/unexw32.$(O) : \
 $(BLD)/vm-limit.$(O) : \
        $(SRC)/vm-limit.c \
        $(CONFIG_H) \
+       $(SRC)/lisp.h \
        $(SRC)/mem-limits.h
 
 $(BLD)/window.$(O) : \
        $(SRC)/window.c \
        $(CONFIG_H) \
        $(EMACS_ROOT)/nt/inc/sys/time.h \
+       $(SRC)/lisp.h \
        $(SRC)/atimer.h \
        $(SRC)/blockinput.h \
        $(SRC)/buffer.h \
@@ -1418,6 +1525,7 @@ $(BLD)/xdisp.$(O) : \
        $(CONFIG_H) \
        $(EMACS_ROOT)/nt/inc/unistd.h \
        $(EMACS_ROOT)/nt/inc/sys/time.h \
+       $(SRC)/lisp.h \
        $(SRC)/atimer.h \
        $(SRC)/blockinput.h \
        $(SRC)/buffer.h \
@@ -1442,6 +1550,7 @@ $(BLD)/xdisp.$(O) : \
        $(SRC)/systime.h \
        $(SRC)/termchar.h \
        $(SRC)/termhooks.h \
+       $(SRC)/termopts.h \
        $(SRC)/w32gui.h \
        $(SRC)/w32term.h \
        $(SRC)/window.h
@@ -1450,6 +1559,7 @@ $(BLD)/xfaces.$(O) : \
        $(SRC)/xfaces.c \
        $(CONFIG_H) \
        $(EMACS_ROOT)/nt/inc/sys/time.h \
+       $(SRC)/lisp.h \
        $(SRC)/atimer.h \
        $(SRC)/blockinput.h \
        $(SRC)/buffer.h \
@@ -1475,6 +1585,7 @@ $(BLD)/w32fns.$(O) : \
        $(SRC)/w32fns.c \
        $(CONFIG_H) \
        $(EMACS_ROOT)/nt/inc/sys/time.h \
+       $(SRC)/lisp.h \
        $(SRC)/atimer.h \
        $(SRC)/blockinput.h \
        $(SRC)/buffer.h \
@@ -1492,6 +1603,7 @@ $(BLD)/w32fns.$(O) : \
        $(SRC)/keyboard.h \
        $(SRC)/systime.h \
        $(SRC)/termhooks.h \
+       $(SRC)/w32.h \
        $(SRC)/w32font.h \
        $(SRC)/w32gui.h \
        $(SRC)/w32heap.h \
@@ -1502,6 +1614,7 @@ $(BLD)/w32menu.$(O) : \
        $(SRC)/w32menu.c \
        $(CONFIG_H) \
        $(EMACS_ROOT)/nt/inc/sys/time.h \
+       $(SRC)/lisp.h \
        $(SRC)/atimer.h \
        $(SRC)/blockinput.h \
        $(SRC)/buffer.h \
@@ -1513,6 +1626,7 @@ $(BLD)/w32menu.$(O) : \
        $(SRC)/frame.h \
        $(SRC)/keyboard.h \
        $(SRC)/keymap.h \
+       $(SRC)/menu.h \
        $(SRC)/systime.h \
        $(SRC)/termhooks.h \
        $(SRC)/w32gui.h \
@@ -1524,6 +1638,7 @@ $(BLD)/w32term.$(O) : \
        $(CONFIG_H) \
        $(EMACS_ROOT)/nt/inc/unistd.h \
        $(EMACS_ROOT)/nt/inc/sys/time.h \
+       $(SRC)/lisp.h \
        $(SRC)/atimer.h \
        $(SRC)/blockinput.h \
        $(SRC)/buffer.h \
@@ -1556,6 +1671,7 @@ $(BLD)/w32select.$(O) : \
        $(SRC)/w32select.c \
        $(CONFIG_H) \
        $(EMACS_ROOT)/nt/inc/sys/time.h \
+       $(SRC)/lisp.h \
        $(SRC)/atimer.h \
        $(SRC)/blockinput.h \
        $(SRC)/character.h \
@@ -1572,6 +1688,7 @@ $(BLD)/w32reg.$(O) : \
        $(SRC)/w32reg.c \
        $(CONFIG_H) \
        $(EMACS_ROOT)/nt/inc/sys/time.h \
+       $(SRC)/lisp.h \
        $(SRC)/atimer.h \
        $(SRC)/blockinput.h \
        $(SRC)/systime.h \
@@ -1582,6 +1699,7 @@ $(BLD)/w32xfns.$(O) : \
        $(SRC)/w32xfns.c \
        $(CONFIG_H) \
        $(EMACS_ROOT)/nt/inc/sys/time.h \
+       $(SRC)/lisp.h \
        $(SRC)/atimer.h \
        $(SRC)/blockinput.h \
        $(SRC)/charset.h \
@@ -1598,6 +1716,7 @@ $(BLD)/w32xfns.$(O) : \
 $(BLD)/w32font.$(O) : \
        $(SRC)/w32font.c \
        $(CONFIG_H) \
+       $(SRC)/lisp.h \
        $(SRC)/ccl.h \
        $(SRC)/character.h \
        $(SRC)/charset.h \
@@ -1614,6 +1733,7 @@ $(BLD)/w32font.$(O) : \
 $(BLD)/w32uniscribe.$(O) : \
        $(SRC)/w32uniscribe.c \
        $(CONFIG_H) \
+       $(SRC)/lisp.h \
        $(SRC)/ccl.h \
        $(SRC)/character.h \
        $(SRC)/charset.h \
@@ -1629,4 +1749,4 @@ $(BLD)/w32uniscribe.$(O) : \
 # Each object file depends on stamp_BLD, because in parallel builds we must
 # make sure $(BLD) exists before starting compilations.
 #
-$(OBJ0) $(OBJ1) $(WIN32OBJ) $(FONTOBJ) $(BLD)/lastfile.$(O) $(BLD)/firstfile.$(O): stamp_BLD
+$(OBJ0) $(OBJ1) $(OBJ2) $(BLD)/lastfile.$(O) $(BLD)/firstfile.$(O): stamp_BLD