]> code.delx.au - gnu-emacs/blobdiff - src/makefile.w32-in
2002-08-10 Andrew Choi <akochoi@shaw.ca>
[gnu-emacs] / src / makefile.w32-in
index 9ab32fe3036601962836de086a68e456e1def395..b9b1b2a85ab72f2b2d17438acd841116efc3ac21 100644 (file)
@@ -1,5 +1,5 @@
 #  Makefile for GNU Emacs on the Microsoft W32 API.
-#  Copyright (c) 1992-2000 Free Software Foundation, Inc.
+#  Copyright (c) 2000-2001 Free Software Foundation, Inc.
 #
 #  This file is part of GNU Emacs.
 #
@@ -23,6 +23,9 @@ ALL = emacs
 
 .PHONY: $(ALL)
 
+# Set EMACSLOADPATH correctly (in case already defined in environment).
+EMACSLOADPATH=$(CURDIR)/../lisp
+
 #
 # HAVE_CONFIG_H is required by some generic gnu sources stuck into
 # the emacs source tree.
@@ -81,7 +84,6 @@ OBJ1 =  $(BLD)/abbrev.$(O)                    \
        $(BLD)/marker.$(O)                      \
         $(BLD)/md5.$(O)                         \
        $(BLD)/minibuf.$(O)                     \
-       $(BLD)/mocklisp.$(O)                    \
        $(BLD)/w32.$(O)                         \
        $(BLD)/w32heap.$(O)                     \
        $(BLD)/w32inevt.$(O)                    \
@@ -150,6 +152,7 @@ all:            $(ALL)
 emacs:          $(BLD) $(EMACS)
 $(EMACS):       $(DOC) $(TEMACS)
        "$(THISDIR)/$(BLD)/temacs.exe" -batch -l loadup dump
+       -"$(THISDIR)/$(BLD)/emacs.exe" -q -batch -f list-load-path-shadows
 
 #
 # The undumped executable
@@ -168,7 +171,7 @@ 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
+bootstrap-temacs:
        $(MAKE) $(MFLAGS) temacs CFLAGS=$(ARGQUOTE)$(CFLAGS) -DPURESIZE=5000000$(ARGQUOTE)
 
 #
@@ -331,8 +334,7 @@ $(BLD)/callint.$(O) : \
        $(SRC)/buffer.h \
        $(SRC)/commands.h \
        $(SRC)/keyboard.h \
-       $(SRC)/window.h \
-       $(SRC)/mocklisp.h
+       $(SRC)/window.h
 
 $(BLD)/callproc.$(O) : \
        $(SRC)/callproc.c \
@@ -406,7 +408,6 @@ $(BLD)/dired.$(O) : \
        $(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 \
@@ -436,7 +437,6 @@ $(BLD)/dispnew.$(O) : \
        $(SRC)/w32term.h \
        $(SRC)/w32gui.h \
        $(SRC)/xterm.h \
-       $(SRC)/vmstime.h \
        $(SRC)/systime.h
 
 $(BLD)/doc.$(O) : \
@@ -472,7 +472,6 @@ $(BLD)/editfns.$(O) : \
        $(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)/w32gui.h \
@@ -480,7 +479,6 @@ $(BLD)/editfns.$(O) : \
        $(SRC)/composite.h \
        $(SRC)/buffer.h \
        $(SRC)/window.h \
-       $(SRC)/vmstime.h \
        $(SRC)/systime.h
 
 $(BLD)/emacs.$(O) : \
@@ -514,11 +512,9 @@ $(BLD)/fileio.$(O) : \
        $(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)/w32gui.h \
        $(SRC)/intervals.h \
@@ -526,7 +522,6 @@ $(BLD)/fileio.$(O) : \
        $(SRC)/buffer.h \
        $(SRC)/window.h \
        $(EMACS_ROOT)/nt/inc/sys/file.h \
-       $(SRC)/vmstime.h \
        $(SRC)/systime.h
 
 $(BLD)/filelock.$(O) : \
@@ -535,12 +530,10 @@ $(BLD)/filelock.$(O) : \
        $(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.$(O) : \
@@ -688,7 +681,6 @@ $(BLD)/keyboard.$(O) : \
        $(SRC)/w32term.h \
        $(SRC)/w32gui.h \
        $(SRC)/xterm.h \
-       $(SRC)/vmstime.h \
        $(SRC)/systime.h \
        $(SRC)/atimer.h
 
@@ -756,13 +748,6 @@ $(BLD)/minibuf.$(O) : \
        $(SRC)/window.h \
        $(SRC)/syntax.h
 
-$(BLD)/mocklisp.$(O) : \
-       $(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.$(O) : \
        $(SRC)/w32.c \
        $(SRC)/w32.h \
@@ -798,7 +783,6 @@ $(BLD)/w32proc.$(O) : \
        $(SRC)/config.h \
        $(SRC)/w32.h \
        $(SRC)/w32heap.h \
-       $(SRC)/vmstime.h \
        $(SRC)/systime.h
 
 $(BLD)/w32console.$(O) : \
@@ -844,9 +828,7 @@ $(BLD)/process.$(O) : \
        $(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 \
@@ -935,7 +917,6 @@ $(BLD)/sysdep.$(O) : \
        $(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 \
@@ -945,13 +926,10 @@ $(BLD)/sysdep.$(O) : \
        $(SRC)/dispextern.h \
        $(SRC)/w32gui.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