summaryrefslogtreecommitdiff
path: root/src/makefile.nt
diff options
context:
space:
mode:
authorKarl Heuer <kwzh@gnu.org>1995-04-12 02:08:22 +0000
committerKarl Heuer <kwzh@gnu.org>1995-04-12 02:08:22 +0000
commit0b793db7ff5e324299b5eefdeea42892288d8ea4 (patch)
treea9241ff911949e73ad28d743d1e72cb3a500db2b /src/makefile.nt
parent1d72bd19f2d5d52fd7d2cc3f83085cbb4c52a12a (diff)
downloademacs-0b793db7ff5e324299b5eefdeea42892288d8ea4.tar.gz
(DOC): Defined.
(TEMACS): Add dependence on $(BLD). (all): Use COMPAT_LIB in library list. Use DEL_TREE instead of delnode.
Diffstat (limited to 'src/makefile.nt')
-rw-r--r--src/makefile.nt43
1 files changed, 28 insertions, 15 deletions
diff --git a/src/makefile.nt b/src/makefile.nt
index d0ad9fa3deb..7e801394ba3 100644
--- a/src/makefile.nt
+++ b/src/makefile.nt
@@ -1,7 +1,7 @@
# Makefile for GNU Emacs on Windows NT
-# Copyright (c) 1992, 1993, 1994 Free Software Foundation, Inc.
-# Tim Fleehart (apollo@online.com)
-# Geoff Voelker (voelker@cs.washington.edu)
+# Copyright (c) 1992, 1993, 1994, 1995 Free Software Foundation, Inc.
+# Tim Fleehart (apollo@online.com) 17-Apr-92
+# Geoff Voelker (voelker@cs.washington.edu) 11-20-93
#
# This file is part of GNU Emacs.
#
@@ -29,7 +29,7 @@
# 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 -Zi
+LOCAL_FLAGS = -Demacs=1 -DWINDOWSNT -DDOS_NT -DHAVE_CONFIG_H -I..\nt\inc
EMACS = $(BLD)\emacs.exe
TEMACS = $(BLD)\temacs.exe
@@ -103,13 +103,17 @@ OBJ2 = $(BLD)\nt.obj \
$(BLD)\intervals.obj \
$(BLD)\ralloc.obj \
$(BLD)\textprop.obj \
- $(BLD)\vm-limit.obj
+ $(BLD)\vm-limit.obj \
+ $(BLD)\region-cache.obj \
+ $(BLD)\strftime.obj
LIBS = $(TLIB) \
$(SYS_LIB_DIR)\setargv.obj \
$(SYS_LIB_DIR)\kernel32.lib \
$(SYS_LIB_DIR)\advapi32.lib \
- $(SYS_LIB_DIR)\libc.lib
+ $(SYS_LIB_DIR)\user32.lib \
+ $(SYS_LIB_DIR)\libc.lib \
+ $(COMPAT_LIB)
#
# Build the executable and dump it.
@@ -120,16 +124,25 @@ all: $(BLD) $(EMACS)
# Headers we would preprocess if we could.
#
PREPARED_HEADERS = config.h paths.h
-config.h: ..\nt\src\config.h
- cp ..\nt\src\config.h config.h
-paths.h: ..\nt\src\paths.h
- cp ..\nt\src\paths.h paths.h
+config.h: ..\nt\config.h
+ cp ..\nt\config.h config.h
+paths.h: ..\nt\paths.h
+ cp ..\nt\paths.h paths.h
+
+#
+# Make sure we have the DOC file in the right place.
+#
+DOC = obj\etc\DOC
+$(DOC):; cd ..\lib-src
+ - del /q DOC
+ $(MAKE) -f makefile.nt all
+ cd ..\src
#
# The dumped executable
#
emacs: $(EMACS)
-$(EMACS): $(PREPARED_HEADERS) $(TEMACS)
+$(EMACS): $(PREPARED_HEADERS) $(DOC) $(TEMACS)
cd $(BLD)
temacs.exe -batch -l loadup dump
cd ..\..
@@ -137,8 +150,8 @@ $(EMACS): $(PREPARED_HEADERS) $(TEMACS)
#
# The undumped executable
#
-temacs: $(BLD) $(TEMACS)
-$(TEMACS): $(LIBS) $(TOBJ)
+temacs: $(TEMACS)
+$(TEMACS): $(BLD) $(TLIB) $(TOBJ)
$(LINK) -out:$(TEMACS) $(LINK_FLAGS) $(TOBJ) $(LIBS)
#
@@ -166,8 +179,8 @@ install: all
# Maintenance
#
clean:; - del /q *~
- - delnode /q deleted
- - delnode /q obj
+ - $(DEL_TREE) deleted
+ - $(DEL_TREE) obj
#
# These files are the ones that compile conditionally on CANNOT_DUMP...