Mercurial > emacs
annotate msdos/mainmake.v2 @ 15701:5db02009315e libc-1-93 libc-960716 libc-960717 libc-960718 libc-960719 libc-960720 libc-960721 libc-960722 libc-960723 libc-960724 libc-960725 libc-960726 libc-960727 libc-960728 libc-960729 libc-960730 libc-960731 libc-960801 libc-960802 libc-960803 libc-960804 libc-960805 libc-960806 libc-960807 libc-960808 libc-960809 libc-960810 libc-960811 libc-960812 libc-960813 libc-960814 libc-960815 libc-960816 libc-960817 libc-960818 libc-960819 libc-960820 libc-960821 libc-960822 libc-960823 libc-960824 libc-960825 libc-960826 libc-960827 libc-960828 libc-960829 libc-960830 libc-960831 libc-960901 libc-960902 libc-960903 libc-960904 libc-960905 libc-960906 libc-960907 libc-960908 libc-960909 libc-960910 libc-960911 libc-960912 release-0-0 release-0-1
Fix previous change. Use sed's y command instead.
author | Karl Heuer <kwzh@gnu.org> |
---|---|
date | Tue, 16 Jul 1996 04:47:46 +0000 |
parents | 46fab7ac485b |
children | 5cd40832a444 |
rev | line source |
---|---|
15014 | 1 # Top-level Makefile for Emacs under MS-DOS/DJGPP v2.0 or higher. -*-makefile-*- |
14995 | 2 # |
3 # make all to compile and build Emacs. | |
4 # make install to install it. | |
5 # make TAGS to update tags tables. | |
6 # | |
7 # make clean or make mostlyclean | |
8 # Delete all files from the current directory that are normally | |
9 # created by building the program. Don't delete the files that | |
10 # record the configuration. Also preserve files that could be made | |
11 # by building, but normally aren't because the distribution comes | |
12 # with them. | |
13 # | |
14 # Delete `.dvi' files here if they are not part of the distribution. | |
15 # | |
16 # make distclean | |
17 # Delete all files from the current directory that are created by | |
18 # configuring or building the program. If you have unpacked the | |
19 # source and built the program without creating any other files, | |
20 # `make distclean' should leave only the files that were in the | |
21 # distribution. | |
22 # | |
23 # make realclean | |
24 # Delete everything from the current directory that can be | |
25 # reconstructed with this Makefile. This typically includes | |
26 # everything deleted by distclean, plus more: C source files | |
27 # produced by Bison, tags tables, info files, and so on. | |
28 # | |
29 # make extraclean | |
30 # Still more severe - delete backup and autosave files, too. | |
31 | |
32 # Generate a full pathname of the top-level installation directory | |
33 topdir := $(subst \,/,$(shell cd)) | |
34 | |
35 all: lib-src src | |
36 | |
37 lib-src: FRC | |
38 cd lib-src | |
39 $(MAKE) | |
40 cd .. | |
41 | |
42 src: FRC | |
43 cd src | |
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 | 49 redir -oa gdb.tmp echo 'set environment USER root' |
50 redir -oa gdb.tmp echo 'set environment EMACSPATH $(topdir)/bin' | |
51 redir -oa gdb.tmp echo 'set environment SHELL $(subst \,/,$(COMSPEC))' | |
52 redir -oa gdb.tmp echo 'set environment PATH $(subst \,/,$(PATH))' | |
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 | 55 cd .. |
56 | |
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 | 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 | 64 cd .. |
65 cd src | |
66 stubify emacs | |
67 stubedit emacs.exe minstack=512k | |
68 mv -f emacs.exe ../bin/ | |
69 cd .. | |
70 | |
71 FRC: | |
72 | |
73 TAGS tags: lib-src | |
74 cd lisp | |
75 ../bin/etags [a-zA-Z]*.el term/[a-zA-Z]*.el | |
76 cd .. | |
77 cd src | |
78 ../bin/etags --include=../lisp/TAGS \ | |
79 '--regex=/[ ]*DEFVAR_[A-Z_ (]+"\([^"]+\)"/' *.c *.h s/msdos.h m/intel386.h | |
80 cd .. | |
81 ./bin/etags --include=src/TAGS | |
82 | |
83 check: | |
84 @echo "We don't have any tests for GNU Emacs yet." | |
85 | |
86 clean: | |
87 cd lib-src | |
88 $(MAKE) clean | |
89 cd .. | |
90 cd src | |
91 $(MAKE) clean | |
92 cd .. | |
93 cd oldxmenu | |
94 -$(MAKE) clean | |
95 cd .. |