aboutsummaryrefslogtreecommitdiffstats
path: root/src/makefile.nt
diff options
context:
space:
mode:
authorKarl Heuer1995-04-12 02:08:22 +0000
committerKarl Heuer1995-04-12 02:08:22 +0000
commitee215c7b3757bfdf42dc0a3f1da26ae656150377 (patch)
treecb702b26da36d36aa7baf6352aaea89b53eccd09 /src/makefile.nt
parent6f4961ebbef05f23f8556babef64479efa7cc8e5 (diff)
downloademacs-ee215c7b3757bfdf42dc0a3f1da26ae656150377.tar.gz
emacs-ee215c7b3757bfdf42dc0a3f1da26ae656150377.zip
(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 @@
1# Makefile for GNU Emacs on Windows NT 1# Makefile for GNU Emacs on Windows NT
2# Copyright (c) 1992, 1993, 1994 Free Software Foundation, Inc. 2# Copyright (c) 1992, 1993, 1994, 1995 Free Software Foundation, Inc.
3# Tim Fleehart (apollo@online.com) 3# Tim Fleehart (apollo@online.com) 17-Apr-92
4# Geoff Voelker (voelker@cs.washington.edu) 4# Geoff Voelker (voelker@cs.washington.edu) 11-20-93
5# 5#
6# This file is part of GNU Emacs. 6# This file is part of GNU Emacs.
7# 7#
@@ -29,7 +29,7 @@
29# HAVE_CONFIG_H is required by some generic gnu sources stuck into 29# HAVE_CONFIG_H is required by some generic gnu sources stuck into
30# the emacs source tree. 30# the emacs source tree.
31# 31#
32LOCAL_FLAGS = -Demacs=1 -DWINDOWSNT -DDOS_NT -DHAVE_CONFIG_H -I..\nt\inc -Zi 32LOCAL_FLAGS = -Demacs=1 -DWINDOWSNT -DDOS_NT -DHAVE_CONFIG_H -I..\nt\inc
33 33
34EMACS = $(BLD)\emacs.exe 34EMACS = $(BLD)\emacs.exe
35TEMACS = $(BLD)\temacs.exe 35TEMACS = $(BLD)\temacs.exe
@@ -103,13 +103,17 @@ OBJ2 = $(BLD)\nt.obj \
103 $(BLD)\intervals.obj \ 103 $(BLD)\intervals.obj \
104 $(BLD)\ralloc.obj \ 104 $(BLD)\ralloc.obj \
105 $(BLD)\textprop.obj \ 105 $(BLD)\textprop.obj \
106 $(BLD)\vm-limit.obj 106 $(BLD)\vm-limit.obj \
107 $(BLD)\region-cache.obj \
108 $(BLD)\strftime.obj
107 109
108LIBS = $(TLIB) \ 110LIBS = $(TLIB) \
109 $(SYS_LIB_DIR)\setargv.obj \ 111 $(SYS_LIB_DIR)\setargv.obj \
110 $(SYS_LIB_DIR)\kernel32.lib \ 112 $(SYS_LIB_DIR)\kernel32.lib \
111 $(SYS_LIB_DIR)\advapi32.lib \ 113 $(SYS_LIB_DIR)\advapi32.lib \
112 $(SYS_LIB_DIR)\libc.lib 114 $(SYS_LIB_DIR)\user32.lib \
115 $(SYS_LIB_DIR)\libc.lib \
116 $(COMPAT_LIB)
113 117
114# 118#
115# Build the executable and dump it. 119# Build the executable and dump it.
@@ -120,16 +124,25 @@ all: $(BLD) $(EMACS)
120# Headers we would preprocess if we could. 124# Headers we would preprocess if we could.
121# 125#
122PREPARED_HEADERS = config.h paths.h 126PREPARED_HEADERS = config.h paths.h
123config.h: ..\nt\src\config.h 127config.h: ..\nt\config.h
124 cp ..\nt\src\config.h config.h 128 cp ..\nt\config.h config.h
125paths.h: ..\nt\src\paths.h 129paths.h: ..\nt\paths.h
126 cp ..\nt\src\paths.h paths.h 130 cp ..\nt\paths.h paths.h
131
132#
133# Make sure we have the DOC file in the right place.
134#
135DOC = obj\etc\DOC
136$(DOC):; cd ..\lib-src
137 - del /q DOC
138 $(MAKE) -f makefile.nt all
139 cd ..\src
127 140
128# 141#
129# The dumped executable 142# The dumped executable
130# 143#
131emacs: $(EMACS) 144emacs: $(EMACS)
132$(EMACS): $(PREPARED_HEADERS) $(TEMACS) 145$(EMACS): $(PREPARED_HEADERS) $(DOC) $(TEMACS)
133 cd $(BLD) 146 cd $(BLD)
134 temacs.exe -batch -l loadup dump 147 temacs.exe -batch -l loadup dump
135 cd ..\.. 148 cd ..\..
@@ -137,8 +150,8 @@ $(EMACS): $(PREPARED_HEADERS) $(TEMACS)
137# 150#
138# The undumped executable 151# The undumped executable
139# 152#
140temacs: $(BLD) $(TEMACS) 153temacs: $(TEMACS)
141$(TEMACS): $(LIBS) $(TOBJ) 154$(TEMACS): $(BLD) $(TLIB) $(TOBJ)
142 $(LINK) -out:$(TEMACS) $(LINK_FLAGS) $(TOBJ) $(LIBS) 155 $(LINK) -out:$(TEMACS) $(LINK_FLAGS) $(TOBJ) $(LIBS)
143 156
144# 157#
@@ -166,8 +179,8 @@ install: all
166# Maintenance 179# Maintenance
167# 180#
168clean:; - del /q *~ 181clean:; - del /q *~
169 - delnode /q deleted 182 - $(DEL_TREE) deleted
170 - delnode /q obj 183 - $(DEL_TREE) obj
171 184
172# 185#
173# These files are the ones that compile conditionally on CANNOT_DUMP... 186# These files are the ones that compile conditionally on CANNOT_DUMP...