Mercurial > emacs
annotate msdos/mainmake.v2 @ 15013:aad88afa6a0c libc-960413 libc-960414 libc-960415 libc-960416 libc-960417 libc-960418 libc-960419 libc-960420 libc-960421 libc-960422 libc-960423 libc-960424 libc-960425 libc-960426 libc-960427 libc-960428 libc-960429 libc-960430 libc-960501 libc-960502 libc-960503 libc-960504 libc-960505 libc-960506 libc-960507 libc-960508 libc-960509 libc-960510 libc-960511 libc-960512 libc-960513 libc-960514 libc-960515 libc-960516 libc-960517 libc-960518 libc-960519 libc-960520
* config.guess: Combine two OSF1 rules.
Also recognize field test versions. From mjr@zk3.dec.com.
* config.guess (dgux): Use /usr/bin/uname rather than uname,
because GNU uname does not support -p. From pmr@pajato.com.
author | Per Bothner <bothner@cygnus.com> |
---|---|
date | Sat, 13 Apr 1996 00:06:54 +0000 |
parents | ea6167033080 |
children | 5894f7cb55e9 |
rev | line source |
---|---|
14995 | 1 # Top-level Makefile for Emacs under MS-DOS/DJGPP v2.0 or higher. |
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) | |
15009
ea6167033080
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
14995
diff
changeset
|
45 cd .. |
ea6167033080
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
14995
diff
changeset
|
46 |
ea6167033080
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
14995
diff
changeset
|
47 gdb: src |
ea6167033080
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
14995
diff
changeset
|
48 cd src |
14995 | 49 redir -o gdb.tmp sed \ |
50 -e '/-geometry/s,^.*,set environment HOME $(topdir),' \ | |
51 -e '/environment *TERM/s/^.*/set environment TERM internal/' \ | |
52 -e '/x_error_quitter/s/^.*/set environment NAME root/' _gdbinit | |
53 redir -oa gdb.tmp echo 'set environment USER root' | |
54 redir -oa gdb.tmp echo 'set environment EMACSPATH $(topdir)/bin' | |
55 redir -oa gdb.tmp echo 'set environment SHELL $(subst \,/,$(COMSPEC))' | |
56 redir -oa gdb.tmp echo 'set environment PATH $(subst \,/,$(PATH))' | |
57 update gdb.tmp gdb.ini | |
58 cd .. | |
59 | |
60 install: all | |
15009
ea6167033080
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
14995
diff
changeset
|
61 -md bin |
14995 | 62 cd lib-src |
15009
ea6167033080
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
14995
diff
changeset
|
63 -copy hexl.exe ..\\bin |
ea6167033080
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
14995
diff
changeset
|
64 -copy etags.exe ..\\bin |
ea6167033080
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
14995
diff
changeset
|
65 -copy ctags.exe ..\\bin |
ea6167033080
*** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
14995
diff
changeset
|
66 -copy b2m.exe ..\\bin |
14995 | 67 cd .. |
68 cd src | |
69 stubify emacs | |
70 stubedit emacs.exe minstack=512k | |
71 mv -f emacs.exe ../bin/ | |
72 cd .. | |
73 | |
74 FRC: | |
75 | |
76 TAGS tags: lib-src | |
77 cd lisp | |
78 ../bin/etags [a-zA-Z]*.el term/[a-zA-Z]*.el | |
79 cd .. | |
80 cd src | |
81 ../bin/etags --include=../lisp/TAGS \ | |
82 '--regex=/[ ]*DEFVAR_[A-Z_ (]+"\([^"]+\)"/' *.c *.h s/msdos.h m/intel386.h | |
83 cd .. | |
84 ./bin/etags --include=src/TAGS | |
85 | |
86 check: | |
87 @echo "We don't have any tests for GNU Emacs yet." | |
88 | |
89 clean: | |
90 cd lib-src | |
91 $(MAKE) clean | |
92 cd .. | |
93 cd src | |
94 $(MAKE) clean | |
95 cd .. | |
96 cd oldxmenu | |
97 -$(MAKE) clean | |
98 cd .. |