aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman1995-05-07 20:18:55 +0000
committerRichard M. Stallman1995-05-07 20:18:55 +0000
commitdc2c399f0c33a525605cdb431db6b964d4e8e49d (patch)
tree1e7898a2eb0057b57ecfc372e51a597b808f7c47 /src
parent45fad0f1d74fbb7681817553b1b0bab1fe5b3342 (diff)
downloademacs-dc2c399f0c33a525605cdb431db6b964d4e8e49d.tar.gz
emacs-dc2c399f0c33a525605cdb431db6b964d4e8e49d.zip
(TRES): Defined.
(TLIB1,TLIB2): Created out of TLIB. (TLIB): Split to reduce time to do library updates. (DOC): Use DOC-X. (strftime.obj): Compile with -Dstrftime=emacs_strftime.
Diffstat (limited to 'src')
-rw-r--r--src/makefile.nt36
1 files changed, 27 insertions, 9 deletions
diff --git a/src/makefile.nt b/src/makefile.nt
index 7e801394ba3..f59f32c22dc 100644
--- a/src/makefile.nt
+++ b/src/makefile.nt
@@ -33,8 +33,10 @@ LOCAL_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
36TLIB = $(BLD)\temacs.lib 36TLIB1 = $(BLD)\temacs1.lib
37TLIB2 = $(BLD)\temacs2.lib
37TOBJ = $(BLD)\emacs.obj 38TOBJ = $(BLD)\emacs.obj
39TRES = $(BLD)\emacs.rbj
38 40
39LINK_FLAGS = $(ARCH_LDFLAGS) -stack:0x1000000 -base:0xD00000 -debug:full -debugtype:cv -machine:$(ARCH) -subsystem:console -entry:_start 41LINK_FLAGS = $(ARCH_LDFLAGS) -stack:0x1000000 -base:0xD00000 -debug:full -debugtype:cv -machine:$(ARCH) -subsystem:console -entry:_start
40 42
@@ -107,7 +109,8 @@ OBJ2 = $(BLD)\nt.obj \
107 $(BLD)\region-cache.obj \ 109 $(BLD)\region-cache.obj \
108 $(BLD)\strftime.obj 110 $(BLD)\strftime.obj
109 111
110LIBS = $(TLIB) \ 112LIBS = $(TLIB1) \
113 $(TLIB2) \
111 $(SYS_LIB_DIR)\setargv.obj \ 114 $(SYS_LIB_DIR)\setargv.obj \
112 $(SYS_LIB_DIR)\kernel32.lib \ 115 $(SYS_LIB_DIR)\kernel32.lib \
113 $(SYS_LIB_DIR)\advapi32.lib \ 116 $(SYS_LIB_DIR)\advapi32.lib \
@@ -132,9 +135,9 @@ paths.h: ..\nt\paths.h
132# 135#
133# Make sure we have the DOC file in the right place. 136# Make sure we have the DOC file in the right place.
134# 137#
135DOC = obj\etc\DOC 138DOC = obj\etc\DOC-X
136$(DOC):; cd ..\lib-src 139$(DOC):; cd ..\lib-src
137 - del /q DOC 140 - del /q DOC-X
138 $(MAKE) -f makefile.nt all 141 $(MAKE) -f makefile.nt all
139 cd ..\src 142 cd ..\src
140 143
@@ -151,16 +154,24 @@ $(EMACS): $(PREPARED_HEADERS) $(DOC) $(TEMACS)
151# The undumped executable 154# The undumped executable
152# 155#
153temacs: $(TEMACS) 156temacs: $(TEMACS)
154$(TEMACS): $(BLD) $(TLIB) $(TOBJ) 157$(TEMACS): $(BLD) $(TLIB1) $(TLIB2) $(TOBJ) $(TRES)
155 $(LINK) -out:$(TEMACS) $(LINK_FLAGS) $(TOBJ) $(LIBS) 158 $(LINK) -out:$(TEMACS) $(LINK_FLAGS) $(TOBJ) $(TRES) $(LIBS)
159
160#
161# The resource file.
162#
163$(TRES): ..\nt\emacs.rc
164 $(RC) -i..\nt -Fo$(BLD)\emacs.res $**
165 $(CVTRES) -r -$(ARCH) -o $@ $(BLD)\emacs.res
156 166
157# 167#
158# Build the library. Split up the build into two phases...otherwise we 168# Build the library. Split up the build into two phases...otherwise we
159# run out of command line space. 169# run out of command line space.
160# 170#
161$(TLIB): $(OBJ1) $(OBJ2) 171$(TLIB1): $(OBJ1)
162 @- $(AR) -out:$(TLIB) $(OBJ1) 172 @- $(AR) -out:$@ $**
163 @- $(AR) -out:$(TLIB) $(TLIB) $(OBJ2) 173$(TLIB2): $(OBJ2)
174 @- $(AR) -out:$@ $**
164 175
165# 176#
166# Object files. 177# Object files.
@@ -800,6 +811,13 @@ $(BLD)\search.obj : \
800 $(SRC)\blockinput.h \ 811 $(SRC)\blockinput.h \
801 $(SRC)\regex.h 812 $(SRC)\regex.h
802 813
814$(BLD)\strftime.obj : \
815 $(SRC)\strftime.c \
816 $(EMACS_ROOT)\src\s\windowsnt.h \
817 $(EMACS_ROOT)\src\m\intel386.h \
818 $(EMACS_ROOT)\src\config.h
819 $(CC) $(CFLAGS) -Dstrftime=emacs_strftime -Fo$@ strftime.c
820
803$(BLD)\sunfns.obj : \ 821$(BLD)\sunfns.obj : \
804 $(SRC)\sunfns.c \ 822 $(SRC)\sunfns.c \
805 $(EMACS_ROOT)\src\s\windowsnt.h \ 823 $(EMACS_ROOT)\src\s\windowsnt.h \