aboutsummaryrefslogtreecommitdiffstats
path: root/msdos
diff options
context:
space:
mode:
Diffstat (limited to 'msdos')
-rw-r--r--msdos/ChangeLog26
-rw-r--r--msdos/mainmake.v299
-rw-r--r--msdos/sed1v2.inp1
-rw-r--r--msdos/sed2v2.inp8
-rw-r--r--msdos/sedlisp.inp3
5 files changed, 124 insertions, 13 deletions
diff --git a/msdos/ChangeLog b/msdos/ChangeLog
index e906a8f4954..c52f73e640c 100644
--- a/msdos/ChangeLog
+++ b/msdos/ChangeLog
@@ -1,3 +1,29 @@
12004-11-10 Eli Zaretskii <eliz@gnu.org>
2
3 * sed1.inp: Revert last change.
4
52004-11-09 Jan Dj,Ad(Brv <jan.h.d@swipnet.se>
6
7 * sed1v2.inp: Use djecho for buildobj.lst.
8
9 * sed1.inp: Ditto.
10
112004-11-08 Eli Zaretskii <eliz@gnu.org>
12
13 * sedlisp.inp (bootstrap-clean): Copy ldefs-boot.el onto
14 loaddefs.el, unless the latter exists and is newer.
15
16 * mainmake.v2 (mostlyclean, distclean, maintainer-clean)
17 (extraclean, bootfast): New targets.
18 (top_distclean): New macro, used by distclean, maintainer-clean,
19 and extraclean.
20 (.PHONY): Add bootfast.
21 (bootstrap): Make bootstrap-after in lisp.
22 (bootstrap-clean-before): Clean in man, lispref, and lispintro as
23 well.
24
25 * sed2v2.inp (HAVE_BZERO): Define for GCC v3.x and later.
26
12004-10-06 Eli Zaretskii <eliz@gnu.org> 272004-10-06 Eli Zaretskii <eliz@gnu.org>
2 28
3 * sed1v2.inp (LC_ALL=C): Fix src/Makefile breakage caused by 29 * sed1v2.inp (LC_ALL=C): Fix src/Makefile breakage caused by
diff --git a/msdos/mainmake.v2 b/msdos/mainmake.v2
index 0952380a202..f2291cf2989 100644
--- a/msdos/mainmake.v2
+++ b/msdos/mainmake.v2
@@ -21,7 +21,7 @@
21# Boston, MA 02111-1307, USA. 21# Boston, MA 02111-1307, USA.
22 22
23# make all to compile and build Emacs. 23# make all to compile and build Emacs.
24# make install to install it. 24# make install to install it (installs in-place, in `bin' subdir of top dir).
25# make TAGS to update tags tables. 25# make TAGS to update tags tables.
26# 26#
27# make clean or make mostlyclean 27# make clean or make mostlyclean
@@ -40,11 +40,12 @@
40# `make distclean' should leave only the files that were in the 40# `make distclean' should leave only the files that were in the
41# distribution. 41# distribution.
42# 42#
43# make realclean 43# make maintainer-clean
44# Delete everything from the current directory that can be 44# Delete everything from the current directory that can be
45# reconstructed with this Makefile. This typically includes 45# reconstructed with this Makefile. This typically includes
46# everything deleted by distclean, plus more: C source files 46# everything deleted by distclean, plus more: *.elc files,
47# produced by Bison, tags tables, info files, and so on. 47# C source files produced by Bison, tags tables, info files,
48# and so on.
48# 49#
49# make extraclean 50# make extraclean
50# Still more severe - delete backup and autosave files, too. 51# Still more severe - delete backup and autosave files, too.
@@ -135,22 +136,89 @@ TAGS tags: lib-src FRC
135check: 136check:
136 @echo "We don't have any tests for GNU Emacs yet." 137 @echo "We don't have any tests for GNU Emacs yet."
137 138
138clean: 139clean mostlyclean:
139 cd lib-src 140 cd lib-src
140 $(MAKE) clean 141 $(MAKE) $(MFLAGS) $@
141 cd .. 142 cd ..
142 cd src 143 cd src
143 $(MAKE) clean 144 $(MAKE) $(MFLAGS) $@
144 cd .. 145 cd ..
145 cd oldxmenu 146 cd oldxmenu
146 -$(MAKE) clean 147 -$(MAKE) $(MFLAGS) $@
148 cd ..
149 cd man
150 -$(MAKE) $(MFLAGS) $@
151 cd ..
152 cd lispref
153 -$(MAKE) $(MFLAGS) $@
154 cd ..
155 cd lispintro
156 -$(MAKE) $(MFLAGS) $@
147 cd .. 157 cd ..
148 cd leim 158 cd leim
149 if exist Makefile redir $(MAKE) clean 159 if exist Makefile redir $(MAKE) $(MFLAGS) $@
150 cd .. 160 cd ..
161 -$(MAKE) $(MFLAGS) $@
151 162
152.PHONY: bootstrap bootstrap-lisp-1 boostrap-src bootstrap-lisp bootstrap-clean 163top_distclean=rm -f Makefile */Makefile src/_gdbinit
153.PHONY: maybe_bootstrap 164
165distclean maintainer-clean: FRC
166 cd src
167 $(MAKE) $(MFLAGS) $@
168 cd ..
169 cd oldxmenu
170 -$(MAKE) $(MFLAGS) $@
171 cd ..
172 cd lib-src
173 $(MAKE) $(MFLAGS) $@
174 cd ..
175 cd man
176 -$(MAKE) $(MFLAGS) $@
177 cd ..
178 cd lispref
179 -$(MAKE) $(MFLAGS) $@
180 cd ..
181 cd lispintro
182 -$(MAKE) $(MFLAGS) $@
183 cd ..
184 cd leim
185 if exist Makefile redir $(MAKE) $(MFLAGS) $@
186 cd ..
187 cd lisp
188 $(MAKE) $(MFLAGS) $@
189 cd ..
190 ${top_distclean}
191
192extraclean:
193 cd src
194 $(MAKE) $(MFLAGS) $@
195 cd ..
196 cd oldxmenu
197 -$(MAKE) $(MFLAGS) $@
198 cd ..
199 cd lib-src
200 $(MAKE) $(MFLAGS) $@
201 cd ..
202 cd man
203 -$(MAKE) $(MFLAGS) $@
204 cd ..
205 cd lispref
206 -$(MAKE) $(MFLAGS) $@
207 cd ..
208 cd lispintro
209 -$(MAKE) $(MFLAGS) $@
210 cd ..
211 cd leim
212 if exist Makefile redir $(MAKE) $(MFLAGS) $@
213 cd ..
214 cd lisp
215 $(MAKE) $(MFLAGS) $@
216 cd ..
217 ${top_distclean}
218 -rm -f *~ #*
219
220.PHONY: bootstrap bootstrap-lisp-1 bootstrap-src bootstrap-lisp bootstrap-clean
221.PHONY: maybe_bootstrap bootfast
154 222
155maybe_bootstrap: 223maybe_bootstrap:
156 @if not exist lisp\abbrev.elc djecho \ 224 @if not exist lisp\abbrev.elc djecho \
@@ -158,6 +226,10 @@ maybe_bootstrap:
158 @if not exist lisp\abbrev.elc redir -e /dev/null -oe redir fail-this-make.exe 226 @if not exist lisp\abbrev.elc redir -e /dev/null -oe redir fail-this-make.exe
159 227
160bootstrap: bootstrap-clean-before bootstrap-lisp-1 bootstrap-src bootstrap-lisp bootstrap-clean-after all info 228bootstrap: bootstrap-clean-before bootstrap-lisp-1 bootstrap-src bootstrap-lisp bootstrap-clean-after all info
229 cd lisp; $(MAKE) $(MFLAGS) bootstrap-after; cd ..
230
231bootfast: bootstrap-clean-before bootstrap-src bootstrap-lisp bootstrap-clean-after all info
232 cd lisp; $(MAKE) $(MFLAGS) bootstrap-after; cd ..
161 233
162bootstrap-lisp-1: 234bootstrap-lisp-1:
163 cd lisp; $(MAKE) $(MFLAGS) bootstrap-clean; cd .. 235 cd lisp; $(MAKE) $(MFLAGS) bootstrap-clean; cd ..
@@ -172,7 +244,10 @@ bootstrap-src:
172bootstrap-clean-before: FRC 244bootstrap-clean-before: FRC
173 cd src; $(MAKE) $(MFLAGS) mostlyclean; cd .. 245 cd src; $(MAKE) $(MFLAGS) mostlyclean; cd ..
174 cd lib-src; $(MAKE) $(MFLAGS) clean; cd .. 246 cd lib-src; $(MAKE) $(MFLAGS) clean; cd ..
175 cd leim; $(MAKE) $(MFLAGS) clean; cd .. 247 -cd man; $(MAKE) $(MFLAGS) clean; cd ..
248 -cd lispref; $(MAKE) $(MFLAGS) clean; cd ..
249 -cd lispintro; $(MAKE) $(MFLAGS) clean; cd ..
250 cd leim; if exist Makefile redir $(MAKE) $(MFLAGS) clean; cd ..
176 251
177bootstrap-clean-after: 252bootstrap-clean-after:
178 cd src; $(MAKE) $(MFLAGS) mostlyclean; cd .. 253 cd src; $(MAKE) $(MFLAGS) mostlyclean; cd ..
diff --git a/msdos/sed1v2.inp b/msdos/sed1v2.inp
index 8edc1616f23..93b4f7d5d89 100644
--- a/msdos/sed1v2.inp
+++ b/msdos/sed1v2.inp
@@ -58,6 +58,7 @@ s/bootstrap-doc/b-doc/
58/rm -f bootstrap-emacs/s/b-emacs/b-emacs b-emacs.exe/ 58/rm -f bootstrap-emacs/s/b-emacs/b-emacs b-emacs.exe/
59/^ els=/c\ 59/^ els=/c\
60 ${libsrc}make-docfile -o ${etc}DOC -d ${srcdir} ${SOME_MACHINE_LISP:.elc=.el} ${shortlisp:.elc=.el} ${SOME_MACHINE_OBJECTS} ${obj} 60 ${libsrc}make-docfile -o ${etc}DOC -d ${srcdir} ${SOME_MACHINE_LISP:.elc=.el} ${shortlisp:.elc=.el} ${SOME_MACHINE_OBJECTS} ${obj}
61s/echo.*buildobj.lst/dj&/
61/^ mv -f emacs/a\ 62/^ mv -f emacs/a\
62 stubify b-emacs\ 63 stubify b-emacs\
63 stubedit b-emacs.exe minstack=1024k\ 64 stubedit b-emacs.exe minstack=1024k\
diff --git a/msdos/sed2v2.inp b/msdos/sed2v2.inp
index 4d77194cff0..31687bf0086 100644
--- a/msdos/sed2v2.inp
+++ b/msdos/sed2v2.inp
@@ -84,6 +84,14 @@ s/^#undef POINTER_TYPE *$/#define POINTER_TYPE void/
84#else\ 84#else\
85#undef HAVE_STDINT_H\ 85#undef HAVE_STDINT_H\
86#endif 86#endif
87# GCC 3.x has a built-in bzero, which conflicts with the define at
88# the end of config.in
89/^#undef HAVE_BZERO/c\
90#if __GNUC__ >= 3\
91#define HAVE_BZERO 1\
92#else\
93#undef HAVE_BZERO\
94#endif
87 95
88# Comment out any remaining undef directives, because some of them 96# Comment out any remaining undef directives, because some of them
89# might be defined in sys/config.h we include at the top of config.h. 97# might be defined in sys/config.h we include at the top of config.h.
diff --git a/msdos/sedlisp.inp b/msdos/sedlisp.inp
index 26ce2082399..9cff732a445 100644
--- a/msdos/sedlisp.inp
+++ b/msdos/sedlisp.inp
@@ -24,6 +24,7 @@ export FNCASE=y
24/^VPATH=/s|@srcdir@|.| 24/^VPATH=/s|@srcdir@|.|
25/^srcdir=/s|@srcdir@|.| 25/^srcdir=/s|@srcdir@|.|
26/^bootstrap-clean:/a\ 26/^bootstrap-clean:/a\
27 command.com /c dtou .../*.el 27 command.com /c dtou .../*.el\
28 command.com /c update $(lisp)/ldefs-boot.el $(lisp)/loaddefs.el
28 29
29# arch-tag: da7a3cff-4839-4ad7-bbe3-e2b61c84c38e 30# arch-tag: da7a3cff-4839-4ad7-bbe3-e2b61c84c38e