annotate msdos/mainmake.v2 @ 19860:c17fd465ea95 libc-970911 libc-970912 libc-970913 libc-970914 libc-970915 libc-970916 libc-970917 libc-970918 libc-970919 libc-970920 libc-970921 libc-970922 libc-970923 libc-970924 libc-970925 libc-970926 libc-970927 libc-970928 libc-970929 libc-970930 libc-971001 libc-971018 libc-971019 libc-971020 libc-971021 libc-971022 libc-971023 libc-971024 libc-971025 libc-971026 libc-971027 libc-971028 libc-971029 libc-971030 libc-971031 libc-971101 libc-971102 libc-971103 libc-971104 libc-971105 libc-971106 libc-971107 libc-971108 libc-971109 libc-971110 libc-971111 libc-971112 libc-971113 libc-971114 libc-971115 libc-971116 libc-971117 libc-971118 libc-971120 libc-971121 libc-971122 libc-971123 libc-971124 libc-971125 libc-971126 libc-971127 libc-971128 libc-971129 libc-971130 libc-971201 libc-971203 libc-971204 libc-971205 libc-971206 libc-971207 libc-971208 libc-971209 libc-971210 libc-971211 libc-971212 libc-971213 libc-971214 libc-971217 libc-971218 libc-971219 libc-971220 libc-971221 libc-971222 libc-971223 libc-971224 libc-971225 libc-971226 libc-971227 libc-971228 libc-971229 libc-971230 libc-971231 libc-980103 libc-980104 libc-980105 libc-980106 libc-980107 libc-980108 libc-980109 libc-980110 libc-980111 libc-980112 libc-980114 libc-980115 libc-980116 libc-980117 libc-980118 libc-980119 libc-980120 libc-980121 libc-980122 libc-980123 libc-980124 libc-980125 libc-980126 libc-980127 libc-980128

typos.
author Jeff Law <law@redhat.com>
date Wed, 10 Sep 1997 21:16:20 +0000
parents 76978dc14d8c
children 6de74098af01
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
15014
5894f7cb55e9 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents: 15009
diff changeset
1 # Top-level Makefile for Emacs under MS-DOS/DJGPP v2.0 or higher. -*-makefile-*-
14995
f355434dee03 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2 #
f355434dee03 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
3 # make all to compile and build Emacs.
f355434dee03 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
4 # make install to install it.
f355434dee03 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
5 # make TAGS to update tags tables.
f355434dee03 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
6 #
f355434dee03 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
7 # make clean or make mostlyclean
f355434dee03 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
8 # Delete all files from the current directory that are normally
f355434dee03 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
9 # created by building the program. Don't delete the files that
f355434dee03 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
10 # record the configuration. Also preserve files that could be made
f355434dee03 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
11 # by building, but normally aren't because the distribution comes
f355434dee03 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
12 # with them.
f355434dee03 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
13 #
f355434dee03 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
14 # Delete `.dvi' files here if they are not part of the distribution.
f355434dee03 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
15 #
f355434dee03 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
16 # make distclean
f355434dee03 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
17 # Delete all files from the current directory that are created by
f355434dee03 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
18 # configuring or building the program. If you have unpacked the
f355434dee03 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
19 # source and built the program without creating any other files,
f355434dee03 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
20 # `make distclean' should leave only the files that were in the
f355434dee03 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
21 # distribution.
f355434dee03 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
22 #
f355434dee03 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
23 # make realclean
f355434dee03 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
24 # Delete everything from the current directory that can be
f355434dee03 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
25 # reconstructed with this Makefile. This typically includes
f355434dee03 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
26 # everything deleted by distclean, plus more: C source files
f355434dee03 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
27 # produced by Bison, tags tables, info files, and so on.
f355434dee03 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
28 #
f355434dee03 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
29 # make extraclean
f355434dee03 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
30 # Still more severe - delete backup and autosave files, too.
f355434dee03 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
31
f355434dee03 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
32 # Generate a full pathname of the top-level installation directory
f355434dee03 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
33 topdir := $(subst \,/,$(shell cd))
f355434dee03 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
34
f355434dee03 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
35 all: lib-src src
f355434dee03 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
36
f355434dee03 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
37 lib-src: FRC
f355434dee03 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
38 cd lib-src
f355434dee03 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
39 $(MAKE)
f355434dee03 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
40 cd ..
f355434dee03 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
41
f355434dee03 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
42 src: FRC
f355434dee03 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
43 cd src
f355434dee03 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
44 $(MAKE)
15024
46fab7ac485b (src): Create a file with sed commands instead of using
Richard M. Stallman <rms@gnu.org>
parents: 15014
diff changeset
45 redir -o gdb.sed echo '/-geometry/s,^.*,set environment HOME $(topdir),'
46fab7ac485b (src): Create a file with sed commands instead of using
Richard M. Stallman <rms@gnu.org>
parents: 15014
diff changeset
46 redir -oa gdb.sed echo '/environment *TERM/s/^.*/set environment TERM internal/'
46fab7ac485b (src): Create a file with sed commands instead of using
Richard M. Stallman <rms@gnu.org>
parents: 15014
diff changeset
47 redir -oa gdb.sed echo '/x_error_quitter/s/^.*/set environment NAME root/'
46fab7ac485b (src): Create a file with sed commands instead of using
Richard M. Stallman <rms@gnu.org>
parents: 15014
diff changeset
48 redir -o gdb.tmp sed -f gdb.sed _gdbinit
14995
f355434dee03 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
49 redir -oa gdb.tmp echo 'set environment USER root'
f355434dee03 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
50 redir -oa gdb.tmp echo 'set environment EMACSPATH $(topdir)/bin'
f355434dee03 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
51 redir -oa gdb.tmp echo 'set environment SHELL $(subst \,/,$(COMSPEC))'
f355434dee03 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
52 redir -oa gdb.tmp echo 'set environment PATH $(subst \,/,$(PATH))'
f355434dee03 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
53 update gdb.tmp gdb.ini
15024
46fab7ac485b (src): Create a file with sed commands instead of using
Richard M. Stallman <rms@gnu.org>
parents: 15014
diff changeset
54 rm -f gdb.tmp gdb.sed
14995
f355434dee03 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
55 cd ..
f355434dee03 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
56
f355434dee03 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
57 install: all
15024
46fab7ac485b (src): Create a file with sed commands instead of using
Richard M. Stallman <rms@gnu.org>
parents: 15014
diff changeset
58 if not exist bin\\nul md bin
14995
f355434dee03 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
59 cd lib-src
15024
46fab7ac485b (src): Create a file with sed commands instead of using
Richard M. Stallman <rms@gnu.org>
parents: 15014
diff changeset
60 if exist hexl.exe mv -f hexl.exe ../bin
46fab7ac485b (src): Create a file with sed commands instead of using
Richard M. Stallman <rms@gnu.org>
parents: 15014
diff changeset
61 if exist etags.exe mv -f etags.exe ../bin
46fab7ac485b (src): Create a file with sed commands instead of using
Richard M. Stallman <rms@gnu.org>
parents: 15014
diff changeset
62 if exist ctags.exe mv -f ctags.exe ../bin
46fab7ac485b (src): Create a file with sed commands instead of using
Richard M. Stallman <rms@gnu.org>
parents: 15014
diff changeset
63 if exist b2m.exe mv -f b2m.exe ../bin
14995
f355434dee03 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
64 cd ..
f355434dee03 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
65 cd src
f355434dee03 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
66 stubify emacs
f355434dee03 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
67 stubedit emacs.exe minstack=512k
f355434dee03 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
68 mv -f emacs.exe ../bin/
f355434dee03 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
69 cd ..
f355434dee03 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
70
f355434dee03 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
71 FRC:
f355434dee03 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
72
15781
5cd40832a444 (TAGS): Make sure bin/etags.exe is current. Make
Richard M. Stallman <rms@gnu.org>
parents: 15024
diff changeset
73 TAGS tags: lib-src FRC
5cd40832a444 (TAGS): Make sure bin/etags.exe is current. Make
Richard M. Stallman <rms@gnu.org>
parents: 15024
diff changeset
74 cd lib-src
5cd40832a444 (TAGS): Make sure bin/etags.exe is current. Make
Richard M. Stallman <rms@gnu.org>
parents: 15024
diff changeset
75 if exist etags.exe mv -f etags.exe ../bin
5cd40832a444 (TAGS): Make sure bin/etags.exe is current. Make
Richard M. Stallman <rms@gnu.org>
parents: 15024
diff changeset
76 cd ..
14995
f355434dee03 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
77 cd lisp
18768
76978dc14d8c (TAGS, tags): Include new lisp subdirectories.
Richard M. Stallman <rms@gnu.org>
parents: 15781
diff changeset
78 ../bin/etags [a-zA-Z]*.el [a-z][A-Z]*/[a-zA-Z]*.el
14995
f355434dee03 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
79 cd ..
f355434dee03 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
80 cd src
f355434dee03 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
81 ../bin/etags --include=../lisp/TAGS \
f355434dee03 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
82 '--regex=/[ ]*DEFVAR_[A-Z_ (]+"\([^"]+\)"/' *.c *.h s/msdos.h m/intel386.h
f355434dee03 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
83 cd ..
f355434dee03 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
84 ./bin/etags --include=src/TAGS
f355434dee03 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
85
f355434dee03 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
86 check:
f355434dee03 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
87 @echo "We don't have any tests for GNU Emacs yet."
f355434dee03 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
88
f355434dee03 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
89 clean:
f355434dee03 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
90 cd lib-src
f355434dee03 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
91 $(MAKE) clean
f355434dee03 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
92 cd ..
f355434dee03 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
93 cd src
f355434dee03 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
94 $(MAKE) clean
f355434dee03 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
95 cd ..
f355434dee03 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
96 cd oldxmenu
f355434dee03 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
97 -$(MAKE) clean
f355434dee03 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
98 cd ..