aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGeoff Voelker1995-06-30 21:14:56 +0000
committerGeoff Voelker1995-06-30 21:14:56 +0000
commit783d52920c8f225a2d1974f4a50b6ddc519587a4 (patch)
tree04c8752820eaf7c5d80ea9dccacffa484ca7debd /src
parent3bbabc43d815e100b1c99d62ce7571e601c86ccb (diff)
downloademacs-783d52920c8f225a2d1974f4a50b6ddc519587a4.tar.gz
emacs-783d52920c8f225a2d1974f4a50b6ddc519587a4.zip
(EMACS) [win95]: Removed.
(TLASTLIB): Defined. (TEMACS): Use TLASTLIB.
Diffstat (limited to 'src')
-rw-r--r--src/makefile.nt16
1 files changed, 10 insertions, 6 deletions
diff --git a/src/makefile.nt b/src/makefile.nt
index d7118391c12..27fed2d6b40 100644
--- a/src/makefile.nt
+++ b/src/makefile.nt
@@ -41,6 +41,7 @@ TRES = $(BLD)\emacs.res
41!else 41!else
42TRES = $(BLD)\emacs.rbj 42TRES = $(BLD)\emacs.rbj
43!endif 43!endif
44TLASTLIB = $(BLD)\lastfile.lib
44 45
45LINK_FLAGS = $(ARCH_LDFLAGS) -stack:0x1000000 -base:0xD00000 -debug:full -debugtype:cv -machine:$(ARCH) -subsystem:console -entry:_start 46LINK_FLAGS = $(ARCH_LDFLAGS) -stack:0x1000000 -base:0xD00000 -debug:full -debugtype:cv -machine:$(ARCH) -subsystem:console -entry:_start
46 47
@@ -73,7 +74,6 @@ OBJ1 = $(BLD)\abbrev.obj \
73 $(BLD)\insdel.obj \ 74 $(BLD)\insdel.obj \
74 $(BLD)\keyboard.obj \ 75 $(BLD)\keyboard.obj \
75 $(BLD)\keymap.obj \ 76 $(BLD)\keymap.obj \
76 $(BLD)\lastfile.obj \
77 $(BLD)\lread.obj \ 77 $(BLD)\lread.obj \
78 $(BLD)\macros.obj \ 78 $(BLD)\macros.obj \
79 $(BLD)\marker.obj \ 79 $(BLD)\marker.obj \
@@ -112,6 +112,7 @@ OBJ2 = $(BLD)\nt.obj \
112 112
113LIBS = $(TLIB1) \ 113LIBS = $(TLIB1) \
114 $(TLIB2) \ 114 $(TLIB2) \
115 $(TLASTLIB) \
115 $(BASE_LIBS) \ 116 $(BASE_LIBS) \
116 $(ADVAPI32) \ 117 $(ADVAPI32) \
117 user32.lib 118 user32.lib
@@ -144,19 +145,15 @@ $(DOC):; cd ..\lib-src
144# 145#
145emacs: $(EMACS) 146emacs: $(EMACS)
146$(EMACS): $(PREPARED_HEADERS) $(DOC) $(TEMACS) 147$(EMACS): $(PREPARED_HEADERS) $(DOC) $(TEMACS)
147!if "$(OS_TYPE)" == "win95"
148 move $(BLD)\temacs.exe $(BLD)\emacs.exe
149!else
150 cd $(BLD) 148 cd $(BLD)
151 temacs.exe -batch -l loadup dump 149 temacs.exe -batch -l loadup dump
152 cd ..\.. 150 cd ..\..
153!endif
154 151
155# 152#
156# The undumped executable 153# The undumped executable
157# 154#
158temacs: $(BLD) $(TEMACS) 155temacs: $(BLD) $(TEMACS)
159$(TEMACS): $(TLIB1) $(TLIB2) $(TOBJ) $(TRES) 156$(TEMACS): $(TLIB1) $(TLIB2) $(TLASTLIB) $(TOBJ) $(TRES)
160 $(LINK) -out:$(TEMACS) $(LINK_FLAGS) $(TOBJ) $(TRES) $(LIBS) 157 $(LINK) -out:$(TEMACS) $(LINK_FLAGS) $(TOBJ) $(TRES) $(LIBS)
161 158
162# 159#
@@ -177,6 +174,13 @@ $(TLIB1): $(OBJ1)
177 @- $(AR) -out:$@ $** 174 @- $(AR) -out:$@ $**
178$(TLIB2): $(OBJ2) 175$(TLIB2): $(OBJ2)
179 @- $(AR) -out:$@ $** 176 @- $(AR) -out:$@ $**
177#
178# Place lastfile.obj in it's own library so that it can be loaded after
179# the source libraries but before any system libraries. Doing so defines
180# the end of Emacs' data section portably across compilers.
181#
182$(TLASTLIB): $(BLD)\lastfile.obj
183 @- $(AR) -out:$@ $**
180 184
181# 185#
182# Object files. 186# Object files.