2 # $Id: Makefile,v 7.22 1996/05/08 15:40:58 morioka Exp morioka $
13 BINS = src/ol2 src/decode-b
15 GOMI = $(BINS) mime-setup.el mime-setup.el~ \#mime-setup.el\# *.elc \
17 FLAGS = -batch -q -no-site-file
19 TM_FILES = tm/README.en tm/ChangeLog \
20 tm/Makefile tm/inst-tm tm/TM-ELS tm/TM-CFG \
22 tm/tm-eword.el tm/tm-ew-d.el tm/tm-ew-e.el \
23 tm/tm-view.el tm/tm-parse.el \
24 tm/tm-text.el tm/tm-image.el \
25 tm/tm-play.el tm/tm-partial.el tm/tm-pgp.el \
26 tm/tm-ftp.el tm/tm-latex.el tm/tm-html.el tm/tm-file.el \
29 tm/tm-edit.el tm/signature.el \
30 tm/tm-setup.el tm/mime-setup.el.in \
32 tm/methods/tm* tm/methods/ChangeLog \
34 tm/doc/Makefile tm/doc/*.ol tm/doc/*.tex \
35 tm/doc/*.texi tm/old-logs/*.en tm/old-logs/*.ja
37 TM_MUA_FILES = tm/tm-rmail.el tm/tm-vm.el tm/tm-mail.el \
38 tm/gnus/Makefile tm/gnus/*-path tm/gnus/mk-tgnus \
39 tm/gnus/*.el tm/gnus/ChangeLog \
40 tm/mh-e/Makefile tm/mh-e/mk-tmh tm/mh-e/tmh-els \
41 tm/mh-e/code-jp.ol tm/mh-e/*.el tm/mh-e/ChangeLog
43 MEL_FILES = mel/*.el mel/Makefile mel/mk-mel mel/mel-els mel/ChangeLog
45 TL_FILES = tl/README.en tl/Makefile tl/mk-tl tl/tl-els \
47 tl/doc/*.texi tl/ChangeLog
49 FILES = $(TM_FILES) $(TM_MUA_FILES) $(MEL_FILES) $(TL_FILES)
51 TARFILE = tm7.65.tar.gz
54 $(EMACS) $(FLAGS) -l inst-tm -f compile-tm
55 $(SHELL) .gnus-compile
58 $(EMACS) $(FLAGS) -l inst-tm -f install-tm
61 all: $(UTILS) $(DVI) elc
64 $(CC) $(CFLAGS) src/ol2.c -o src/ol2
66 src/decode-b: src/decode-b.c
67 $(CC) $(CFLAGS) src/decode-b.c -o src/decode-b
80 install: $(UTILS) methods install-elc
81 $(EMACS) $(FLAGS) -l inst-tm -f install-execs
86 -cd doc; $(MAKE) clean
87 -cd gnus; $(MAKE) clean
88 -cd mh-e; $(MAKE) clean
89 cd ../mel; PWD=`pwd` $(MAKE) clean
94 cd ..; gtar cvzf $(TARFILE) $(FILES)