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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
14995
f355434dee03 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1 # Top-level Makefile for Emacs under MS-DOS/DJGPP v2.0 or higher.
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)
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
f355434dee03 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
49 redir -o gdb.tmp sed \
f355434dee03 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
50 -e '/-geometry/s,^.*,set environment HOME $(topdir),' \
f355434dee03 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
51 -e '/environment *TERM/s/^.*/set environment TERM internal/' \
f355434dee03 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
52 -e '/x_error_quitter/s/^.*/set environment NAME root/' _gdbinit
f355434dee03 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
53 redir -oa gdb.tmp echo 'set environment USER root'
f355434dee03 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
54 redir -oa gdb.tmp echo 'set environment EMACSPATH $(topdir)/bin'
f355434dee03 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
55 redir -oa gdb.tmp echo 'set environment SHELL $(subst \,/,$(COMSPEC))'
f355434dee03 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
56 redir -oa gdb.tmp echo 'set environment PATH $(subst \,/,$(PATH))'
f355434dee03 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
57 update gdb.tmp gdb.ini
f355434dee03 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
58 cd ..
f355434dee03 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
59
f355434dee03 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
60 install: all
15009
ea6167033080 *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 14995
diff changeset
61 -md bin
14995
f355434dee03 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
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
f355434dee03 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
67 cd ..
f355434dee03 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
68 cd src
f355434dee03 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
69 stubify emacs
f355434dee03 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
70 stubedit emacs.exe minstack=512k
f355434dee03 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
71 mv -f emacs.exe ../bin/
f355434dee03 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
72 cd ..
f355434dee03 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
73
f355434dee03 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
74 FRC:
f355434dee03 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
75
f355434dee03 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
76 TAGS tags: lib-src
f355434dee03 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
77 cd lisp
f355434dee03 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
78 ../bin/etags [a-zA-Z]*.el term/[a-zA-Z]*.el
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 ..