# 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.
#
.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.
$(BLD)/marker.$(O) \
$(BLD)/md5.$(O) \
$(BLD)/minibuf.$(O) \
- $(BLD)/mocklisp.$(O) \
$(BLD)/w32.$(O) \
$(BLD)/w32heap.$(O) \
$(BLD)/w32inevt.$(O) \
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
# 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)
#
$(SRC)/buffer.h \
$(SRC)/commands.h \
$(SRC)/keyboard.h \
- $(SRC)/window.h \
- $(SRC)/mocklisp.h
+ $(SRC)/window.h
$(BLD)/callproc.$(O) : \
$(SRC)/callproc.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)/w32term.h \
$(SRC)/w32gui.h \
$(SRC)/xterm.h \
- $(SRC)/vmstime.h \
$(SRC)/systime.h
$(BLD)/doc.$(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 \
$(SRC)/composite.h \
$(SRC)/buffer.h \
$(SRC)/window.h \
- $(SRC)/vmstime.h \
$(SRC)/systime.h
$(BLD)/emacs.$(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 \
$(SRC)/buffer.h \
$(SRC)/window.h \
$(EMACS_ROOT)/nt/inc/sys/file.h \
- $(SRC)/vmstime.h \
$(SRC)/systime.h
$(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) : \
$(SRC)/w32term.h \
$(SRC)/w32gui.h \
$(SRC)/xterm.h \
- $(SRC)/vmstime.h \
$(SRC)/systime.h \
$(SRC)/atimer.h
$(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 \
$(SRC)/config.h \
$(SRC)/w32.h \
$(SRC)/w32heap.h \
- $(SRC)/vmstime.h \
$(SRC)/systime.h
$(BLD)/w32console.$(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 \
$(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)/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