$(BLD)/eval.$(O) \
$(BLD)/fileio.$(O) \
$(BLD)/filelock.$(O) \
- $(BLD)/filemode.$(O) \
$(BLD)/fns.$(O) \
$(BLD)/indent.$(O) \
$(BLD)/insdel.$(O) \
$(BLD)/lread.$(O) \
$(BLD)/macros.$(O) \
$(BLD)/marker.$(O) \
- $(BLD)/md5.$(O) \
$(BLD)/minibuf.$(O) \
$(BLD)/w32.$(O) \
$(BLD)/w32heap.$(O) \
$(BLD)/floatfns.$(O) \
$(BLD)/frame.$(O) \
$(BLD)/gmalloc.$(O) \
+ $(BLD)/gnutls.$(O) \
$(BLD)/intervals.$(O) \
$(BLD)/composite.$(O) \
$(BLD)/ralloc.$(O) \
$(OLE32) \
$(COMCTL32) \
$(UNISCRIBE) \
+ $(USER_LIBS) \
$(libc)
#
echo $(OBJ2) '\' >> buildobj.h
echo '$(DQUOTE)' >> buildobj.h
+GLOBAL_SOURCES = dosfns.c msdos.c \
+ xterm.c xfns.c xmenu.c xselect.c xrdb.c xsmfns.c fringe.c image.c \
+ fontset.c menu.c dbusbind.c \
+ w32.c w32console.c w32fns.c w32heap.c w32inevt.c \
+ w32menu.c w32proc.c w32reg.c w32select.c w32term.c w32xfns.c \
+ font.c w32font.c w32uniscribe.c \
+ dispnew.c frame.c scroll.c xdisp.c window.c bidi.c \
+ charset.c coding.c category.c ccl.c character.c chartab.c \
+ cm.c term.c terminal.c xfaces.c \
+ emacs.c keyboard.c macros.c keymap.c sysdep.c \
+ buffer.c filelock.c insdel.c marker.c \
+ minibuf.c fileio.c dired.c \
+ cmds.c casetab.c casefiddle.c indent.c search.c regex.c undo.c \
+ alloc.c data.c doc.c editfns.c callint.c \
+ eval.c floatfns.c fns.c print.c lread.c \
+ syntax.c bytecode.c \
+ process.c callproc.c unexw32.c \
+ region-cache.c sound.c atimer.c \
+ doprnt.c intervals.c textprop.c composite.c
+SOME_MACHINE_OBJECTS = dosfns.o msdos.o \
+ xterm.o xfns.o xmenu.o xselect.o xrdb.o xsmfns.o dbusbind.o
+obj = $(GLOBAL_SOURCES:.c=.o)
+
+globals.h: gl-stamp
+ @cmd /c rem true
+
+gl-stamp: ../lib-src/$(BLD)/make-docfile.exe $(GLOBAL_SOURCES)
+ - $(DEL) gl-tmp
+ "../lib-src/$(BLD)/make-docfile" -d . -g $(SOME_MACHINE_OBJECTS) $(obj) > gl-tmp
+ cmd /c "fc /b gl-tmp globals.h >nul 2>&1 || $(CP) gl-tmp globals.h"
+ - $(DEL) gl-tmp
+ echo timestamp > $@
+
bootstrap: bootstrap-emacs
#
#
# WARNING: Do NOT split the part inside $(ARGQUOTE)s into multiple lines as
# this can break with GNU Make 3.81 and later if sh.exe is used.
-bootstrap-temacs:
+bootstrap-temacs-CMD:
+ $(MAKE) $(MFLAGS) $(XMFLAGS) temacs CFLAGS=$(ARGQUOTE)$(ESC_CFLAGS) -DPURESIZE=5000000$(ARGQUOTE)
+
+bootstrap-temacs-SH:
$(MAKE) $(MFLAGS) $(XMFLAGS) temacs CFLAGS=$(ARGQUOTE)$(CFLAGS) -DPURESIZE=5000000$(ARGQUOTE)
+bootstrap-temacs:
+ $(MAKE) $(MFLAGS) bootstrap-temacs-$(SHELLTYPE)
+
#
# Dump an Emacs executable named bootstrap-emacs containing the
# files from loadup.el in source form.
- $(DEL) "s/*.h~" "m/*.h~"
- $(DEL) $(COMPILER_TEMP_FILES)
- $(DEL_TREE) $(OBJDIR)
- - $(DEL) stamp_BLD
+ - $(DEL) stamp_BLD gl-stamp globals.h
- $(DEL) buildobj.h
distclean: cleanall
##
## This works only with GNU Make.
-TAGS: $(OBJ0) $(OBJ1) $(OBJ2)
+TAGS: $(OBJ0) $(OBJ1) $(OBJ2) $(CURDIR)/m/intel386.h $(CURDIR)/s/ms-w32.h
$(MAKE) $(MFLAGS) TAGS-$(MAKETYPE)
TAGS-LISP: $(OBJ0) $(OBJ1) $(OBJ2)
$(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
+ $(CURDIR)/*.h $(CURDIR)/m/intel386.h $(CURDIR)/s/ms-w32.h
TAGS-nmake:
echo This target is not supported with NMake
$(EMACS_ROOT)/src/m/intel386.h \
$(EMACS_ROOT)/src/config.h \
$(EMACS_ROOT)/nt/inc/sys/stat.h
-LISP_H = $(SRC)/lisp.h $(SRC)/globals.h
-PROCESS_H = $(SRC)/process.h $(SRC)/gnutls.h
+LISP_H = $(SRC)/lisp.h \
+ $(SRC)/globals.h \
+ $(EMACS_ROOT)/nt/inc/inttypes.h \
+ $(EMACS_ROOT)/nt/inc/stdint.h
+PROCESS_H = $(SRC)/process.h \
+ $(EMACS_ROOT)/nt/inc/unistd.h \
+ $(SRC)/gnutls.h
$(BLD)/alloc.$(O) : \
$(SRC)/alloc.c \
$(EMACS_ROOT)/nt/inc/unistd.h \
$(EMACS_ROOT)/nt/inc/sys/time.h \
$(LISP_H) \
+ $(PROCESS_H) \
$(SRC)/atimer.h \
$(SRC)/blockinput.h \
$(SRC)/buffer.h \
$(SRC)/frame.h \
$(SRC)/intervals.h \
$(SRC)/keyboard.h \
- $(PROCESS_H) \
$(SRC)/puresize.h \
$(SRC)/syssignal.h \
$(SRC)/systime.h \
$(BLD)/bidi.$(O) : \
$(SRC)/bidi.c \
$(CONFIG_H) \
+ $(EMACS_ROOT)/nt/inc/sys/time.h \
$(LISP_H) \
$(SRC)/bidimirror.h \
$(SRC)/biditype.h \
$(SRC)/buffer.h \
$(SRC)/character.h \
$(SRC)/dispextern.h \
+ $(SRC)/systime.h \
$(SRC)/w32gui.h
$(BLD)/buffer.$(O) : \
$(BLD)/bytecode.$(O) : \
$(SRC)/bytecode.c \
$(CONFIG_H) \
+ $(EMACS_ROOT)/nt/inc/sys/time.h \
$(LISP_H) \
$(SRC)/buffer.h \
$(SRC)/character.h \
$(SRC)/dispextern.h \
$(SRC)/syntax.h \
+ $(SRC)/systime.h \
$(SRC)/w32gui.h \
$(SRC)/window.h
$(EMACS_ROOT)/nt/inc/sys/time.h \
$(LISP_H) \
$(SRC)/buffer.h \
+ $(SRC)/character.h \
$(SRC)/coding.h \
$(SRC)/commands.h \
$(SRC)/composite.h \
$(CONFIG_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/time.h \
$(LISP_H) \
+ $(PROCESS_H) \
$(SRC)/atimer.h \
$(SRC)/blockinput.h \
$(SRC)/buffer.h \
$(SRC)/dispextern.h \
$(SRC)/epaths.h \
$(SRC)/frame.h \
- $(PROCESS_H) \
$(SRC)/syssignal.h \
$(SRC)/systime.h \
$(SRC)/systty.h \
$(BLD)/character.$(O) : \
$(SRC)/character.c \
$(CONFIG_H) \
+ $(EMACS_ROOT)/lib/intprops.h \
$(LISP_H) \
$(SRC)/buffer.h \
$(SRC)/character.h \
$(BLD)/coding.$(O) : \
$(SRC)/coding.c \
$(CONFIG_H) \
+ $(EMACS_ROOT)/nt/inc/sys/time.h \
$(LISP_H) \
$(SRC)/buffer.h \
$(SRC)/ccl.h \
$(SRC)/composite.h \
$(SRC)/dispextern.h \
$(SRC)/frame.h \
+ $(SRC)/systime.h \
$(SRC)/termhooks.h \
$(SRC)/w32gui.h \
$(SRC)/window.h
$(BLD)/composite.$(O) : \
$(SRC)/composite.c \
$(CONFIG_H) \
+ $(EMACS_ROOT)/nt/inc/sys/time.h \
$(LISP_H) \
$(SRC)/buffer.h \
$(SRC)/ccl.h \
$(SRC)/font.h \
$(SRC)/frame.h \
$(SRC)/intervals.h \
+ $(SRC)/systime.h \
$(SRC)/termhooks.h \
$(SRC)/w32gui.h \
$(SRC)/window.h
$(SRC)/data.c \
$(CONFIG_H) \
$(EMACS_ROOT)/nt/inc/sys/time.h \
+ $(EMACS_ROOT)/lib/intprops.h \
$(LISP_H) \
$(SRC)/buffer.h \
$(SRC)/ccl.h \
$(EMACS_ROOT)/nt/inc/unistd.h \
$(EMACS_ROOT)/nt/inc/sys/dir.h \
$(EMACS_ROOT)/nt/inc/sys/time.h \
+ $(EMACS_ROOT)/lib/filemode.h \
$(LISP_H) \
$(SRC)/atimer.h \
$(SRC)/blockinput.h \
$(EMACS_ROOT)/nt/inc/unistd.h \
$(EMACS_ROOT)/nt/inc/sys/time.h \
$(LISP_H) \
+ $(PROCESS_H) \
$(SRC)/atimer.h \
$(SRC)/blockinput.h \
$(SRC)/buffer.h \
$(SRC)/indent.h \
$(SRC)/intervals.h \
$(SRC)/keyboard.h \
- $(PROCESS_H) \
$(SRC)/syssignal.h \
$(SRC)/systime.h \
$(SRC)/termchar.h \
$(EMACS_ROOT)/nt/inc/pwd.h \
$(EMACS_ROOT)/nt/inc/unistd.h \
$(EMACS_ROOT)/nt/inc/sys/time.h \
+ $(EMACS_ROOT)/lib/intprops.h \
$(EMACS_ROOT)/lib/strftime.h \
+ $(EMACS_ROOT)/lib/verify.h \
$(LISP_H) \
$(SRC)/atimer.h \
$(SRC)/blockinput.h \
$(CONFIG_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/time.h \
$(LISP_H) \
+ $(PROCESS_H) \
$(SRC)/atimer.h \
$(SRC)/blockinput.h \
$(SRC)/buffer.h \
$(SRC)/composite.h \
$(SRC)/dispextern.h \
$(SRC)/frame.h \
- $(SRC)/gnutls.h \
$(SRC)/intervals.h \
$(SRC)/keyboard.h \
$(SRC)/keymap.h \
- $(PROCESS_H) \
$(SRC)/syssignal.h \
$(SRC)/systime.h \
$(SRC)/systty.h \
$(SRC)/termhooks.h \
+ $(SRC)/unexec.h \
$(SRC)/w32.h \
$(SRC)/w32gui.h \
$(SRC)/w32heap.h \
$(SRC)/composite.h \
$(SRC)/systime.h
-$(BLD)/filemode.$(O) : \
- $(SRC)/filemode.c \
- $(CONFIG_H)
-
$(BLD)/firstfile.$(O) : \
$(SRC)/firstfile.c \
$(CONFIG_H)
$(EMACS_ROOT)/nt/inc/nl_types.h \
$(EMACS_ROOT)/nt/inc/unistd.h \
$(EMACS_ROOT)/nt/inc/sys/time.h \
+ $(EMACS_ROOT)/lib/md5.h \
+ $(EMACS_ROOT)/lib/sha1.h \
$(LISP_H) \
$(SRC)/atimer.h \
$(SRC)/blockinput.h \
$(SRC)/intervals.h \
$(SRC)/keyboard.h \
$(SRC)/keymap.h \
- $(SRC)/md5.h \
$(SRC)/systime.h \
$(SRC)/w32gui.h \
$(SRC)/window.h
$(BLD)/font.$(O) : \
$(SRC)/font.c \
$(CONFIG_H) \
+ $(EMACS_ROOT)/nt/inc/sys/time.h \
$(LISP_H) \
$(SRC)/buffer.h \
$(SRC)/ccl.h \
$(SRC)/font.h \
$(SRC)/fontset.h \
$(SRC)/frame.h \
+ $(SRC)/systime.h \
$(SRC)/w32gui.h \
$(SRC)/w32term.h \
$(SRC)/window.h
$(EMACS_ROOT)/nt/inc/unistd.h \
$(SRC)/getpagesize.h
+$(BLD)/gnutls.$(O) : \
+ $(SRC)/gnutls.c \
+ $(CONFIG_H) \
+ $(EMACS_ROOT)/nt/inc/unistd.h \
+ $(LISP_H) \
+ $(PROCESS_H) \
+ $(SRC)/w32.h
+
$(BLD)/image.$(O) : \
$(SRC)/image.c \
$(CONFIG_H) \
$(SRC)/frame.h \
$(SRC)/systime.h \
$(SRC)/termhooks.h \
+ $(SRC)/w32.h \
$(SRC)/w32gui.h \
$(SRC)/w32term.h \
$(SRC)/window.h
$(SRC)/insdel.c \
$(CONFIG_H) \
$(EMACS_ROOT)/nt/inc/sys/time.h \
+ $(EMACS_ROOT)/lib/intprops.h \
$(LISP_H) \
$(SRC)/atimer.h \
$(SRC)/blockinput.h \
$(SRC)/intervals.c \
$(CONFIG_H) \
$(EMACS_ROOT)/nt/inc/sys/time.h \
+ $(EMACS_ROOT)/lib/intprops.h \
$(LISP_H) \
$(SRC)/buffer.h \
$(SRC)/coding.h \
$(EMACS_ROOT)/nt/inc/sys/ioctl.h \
$(EMACS_ROOT)/nt/inc/sys/time.h \
$(LISP_H) \
+ $(PROCESS_H) \
$(SRC)/atimer.h \
$(SRC)/blockinput.h \
$(SRC)/buffer.h \
$(SRC)/keyboard.h \
$(SRC)/keymap.h \
$(SRC)/macros.h \
- $(PROCESS_H) \
$(SRC)/puresize.h \
$(SRC)/syntax.h \
$(SRC)/syssignal.h \
$(SRC)/buffer.h \
$(SRC)/character.h
-$(BLD)/md5.$(O) : \
- $(SRC)/md5.c \
- $(CONFIG_H) \
- $(SRC)/md5.h
-
$(BLD)/menu.$(O) : \
$(SRC)/menu.c \
$(CONFIG_H) \
$(EMACS_ROOT)/nt/inc/sys/file.h \
$(EMACS_ROOT)/nt/inc/sys/socket.h \
$(EMACS_ROOT)/nt/inc/sys/time.h \
+ $(EMACS_ROOT)/lib/allocator.h \
+ $(EMACS_ROOT)/lib/careadlinkat.h \
$(LISP_H) \
+ $(PROCESS_H) \
$(SRC)/coding.h \
$(SRC)/composite.h \
$(SRC)/dispextern.h \
$(SRC)/ndir.h \
- $(PROCESS_H) \
$(SRC)/systime.h \
$(SRC)/w32.h \
$(SRC)/w32gui.h \
$(EMACS_ROOT)/nt/inc/sys/file.h \
$(EMACS_ROOT)/nt/inc/sys/time.h \
$(LISP_H) \
+ $(PROCESS_H) \
$(SRC)/character.h \
$(SRC)/coding.h \
$(SRC)/composite.h \
$(SRC)/dispextern.h \
- $(PROCESS_H) \
$(SRC)/syssignal.h \
$(SRC)/systime.h \
$(SRC)/syswait.h \
$(BLD)/w32console.$(O) : \
$(SRC)/w32console.c \
$(CONFIG_H) \
+ $(EMACS_ROOT)/nt/inc/sys/time.h \
$(LISP_H) \
$(SRC)/character.h \
$(SRC)/coding.h \
$(SRC)/dispextern.h \
$(SRC)/disptab.h \
$(SRC)/frame.h \
+ $(SRC)/systime.h \
$(SRC)/termchar.h \
$(SRC)/termhooks.h \
$(SRC)/w32gui.h \
$(EMACS_ROOT)/lib/ftoastr.h \
$(EMACS_ROOT)/lib/intprops.h \
$(LISP_H) \
+ $(PROCESS_H) \
$(SRC)/atimer.h \
$(SRC)/blockinput.h \
$(SRC)/buffer.h \
$(SRC)/frame.h \
$(SRC)/intervals.h \
$(SRC)/keyboard.h \
- $(PROCESS_H) \
$(SRC)/systime.h \
$(SRC)/termchar.h \
$(SRC)/termhooks.h \
$(EMACS_ROOT)/nt/inc/arpa/inet.h \
$(EMACS_ROOT)/nt/inc/netinet/in.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 \
$(LISP_H) \
+ $(PROCESS_H) \
$(SRC)/atimer.h \
$(SRC)/blockinput.h \
$(SRC)/buffer.h \
$(SRC)/dispextern.h \
$(SRC)/frame.h \
$(SRC)/keyboard.h \
- $(PROCESS_H) \
$(SRC)/sysselect.h \
$(SRC)/syssignal.h \
$(SRC)/systime.h \
$(BLD)/syntax.$(O) : \
$(SRC)/syntax.c \
$(CONFIG_H) \
+ $(EMACS_ROOT)/nt/inc/sys/time.h \
$(LISP_H) \
$(SRC)/buffer.h \
$(SRC)/category.h \
$(SRC)/keymap.h \
$(SRC)/regex.h \
$(SRC)/syntax.h \
+ $(SRC)/systime.h \
$(SRC)/w32gui.h
$(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 \
+ $(EMACS_ROOT)/lib/allocator.h \
+ $(EMACS_ROOT)/lib/careadlinkat.h \
$(EMACS_ROOT)/lib/ignore-value.h \
$(LISP_H) \
+ $(PROCESS_H) \
$(SRC)/atimer.h \
$(SRC)/blockinput.h \
$(SRC)/cm.h \
$(SRC)/dispextern.h \
$(SRC)/frame.h \
$(SRC)/keyboard.h \
- $(PROCESS_H) \
$(SRC)/sysselect.h \
$(SRC)/syssignal.h \
$(SRC)/systime.h \
$(CONFIG_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/time.h \
$(LISP_H) \
$(SRC)/atimer.h \
$(SRC)/termchar.h \
$(SRC)/termhooks.h \
$(SRC)/termopts.h \
+ $(SRC)/tparam.h \
$(SRC)/w32gui.h \
$(SRC)/window.h
$(BLD)/textprop.$(O) : \
$(SRC)/textprop.c \
$(CONFIG_H) \
+ $(EMACS_ROOT)/nt/inc/sys/time.h \
$(LISP_H) \
$(SRC)/buffer.h \
$(SRC)/composite.h \
$(SRC)/dispextern.h \
$(SRC)/intervals.h \
+ $(SRC)/systime.h \
$(SRC)/w32gui.h \
$(SRC)/window.h
$(BLD)/tparam.$(O) : \
$(SRC)/tparam.c \
$(CONFIG_H) \
- $(LISP_H)
+ $(LISP_H) \
+ $(SRC)/tparam.h
$(BLD)/undo.$(O) : \
$(SRC)/undo.c \
$(CONFIG_H) \
+ $(EMACS_ROOT)/nt/inc/sys/time.h \
$(LISP_H) \
$(SRC)/buffer.h \
$(SRC)/commands.h \
$(SRC)/dispextern.h \
+ $(SRC)/systime.h \
$(SRC)/w32gui.h \
$(SRC)/window.h
$(BLD)/unexw32.$(O) : \
$(SRC)/unexw32.c \
$(CONFIG_H) \
+ $(SRC)/unexec.h \
$(SRC)/w32heap.h
$(BLD)/vm-limit.$(O) : \
$(EMACS_ROOT)/nt/inc/unistd.h \
$(EMACS_ROOT)/nt/inc/sys/time.h \
$(LISP_H) \
+ $(PROCESS_H) \
$(SRC)/atimer.h \
$(SRC)/blockinput.h \
$(SRC)/buffer.h \
$(SRC)/keyboard.h \
$(SRC)/keymap.h \
$(SRC)/macros.h \
- $(PROCESS_H) \
$(SRC)/region-cache.h \
$(SRC)/systime.h \
$(SRC)/termchar.h \
$(SRC)/w32term.c \
$(CONFIG_H) \
$(EMACS_ROOT)/nt/inc/unistd.h \
+ $(EMACS_ROOT)/nt/inc/sys/ioctl.h \
$(EMACS_ROOT)/nt/inc/sys/time.h \
$(LISP_H) \
+ $(PROCESS_H) \
$(SRC)/atimer.h \
$(SRC)/blockinput.h \
$(SRC)/buffer.h \
$(SRC)/intervals.h \
$(SRC)/keyboard.h \
$(SRC)/keymap.h \
- $(PROCESS_H) \
$(SRC)/systime.h \
$(SRC)/systty.h \
$(SRC)/termchar.h \
$(SRC)/charset.h \
$(SRC)/coding.h \
$(SRC)/composite.h \
- $(SRC)/keyboard.h \
$(SRC)/systime.h \
$(SRC)/w32gui.h \
$(SRC)/w32heap.h \
$(BLD)/w32font.$(O) : \
$(SRC)/w32font.c \
$(CONFIG_H) \
+ $(EMACS_ROOT)/nt/inc/sys/time.h \
$(LISP_H) \
$(SRC)/ccl.h \
$(SRC)/character.h \
$(SRC)/font.h \
$(SRC)/fontset.h \
$(SRC)/frame.h \
+ $(SRC)/systime.h \
$(SRC)/w32font.h \
$(SRC)/w32gui.h \
$(SRC)/w32term.h
$(BLD)/w32uniscribe.$(O) : \
$(SRC)/w32uniscribe.c \
$(CONFIG_H) \
+ $(EMACS_ROOT)/nt/inc/sys/time.h \
$(LISP_H) \
$(SRC)/ccl.h \
$(SRC)/character.h \
$(SRC)/font.h \
$(SRC)/fontset.h \
$(SRC)/frame.h \
+ $(SRC)/systime.h \
$(SRC)/w32font.h \
$(SRC)/w32gui.h \
$(SRC)/w32term.h