2 # $Id: Makefile,v 7.17 1996/04/09 17:28:49 morioka Exp morioka $
12 BINS = src/ol2 src/decode-b
14 GOMI = $(BINS) mime-setup.el mime-setup.el~ \#mime-setup.el\# *.elc
15 FLAGS = -batch -q -no-site-file
17 TM_FILES = tm/README.en tm/ChangeLog \
18 tm/Makefile tm/inst-tm tm/TM-ELS tm/TM-CFG \
19 tm/tm-mule.el tm/tm-nemacs.el tm/tm-orig.el tm/tm-def.el \
20 tm/tm-eword.el tm/tm-ew-d.el tm/tm-ew-e.el \
21 tm/tm-view.el tm/tm-parse.el \
22 tm/tm-rich.el tm/tm-image.el \
23 tm/tm-play.el tm/tm-partial.el tm/tm-pgp.el \
24 tm/tm-ftp.el tm/tm-latex.el tm/tm-html.el tm/tm-file.el \
27 tm/tm-edit.el tm/signature.el \
28 tm/tm-setup.el tm/mime-setup.el.in \
30 tm/methods/tm* tm/methods/ChangeLog \
32 tm/doc/Makefile tm/doc/*.ol tm/doc/*.tex \
33 tm/doc/*.texi tm/old-logs/*.en tm/old-logs/*.ja
35 TM_MUA_FILES = tm/tm-rmail.el tm/tm-vm.el tm/tm-mail.el \
36 tm/gnus/Makefile tm/gnus/*-path tm/gnus/mk-tgnus \
37 tm/gnus/*.el tm/gnus/ChangeLog \
38 tm/mh-e/Makefile tm/mh-e/mk-tmh tm/mh-e/tmh-els \
39 tm/mh-e/code-jp.ol tm/mh-e/*.el tm/mh-e/ChangeLog
41 MEL_FILES = mel/*.el mel/Makefile mel/mk-mel mel/mel-els mel/ChangeLog
43 TL_FILES = tl/README.en tl/Makefile tl/mk-tl tl/tl-els tl/*.el \
44 tl/doc/*.texi tl/ChangeLog
46 FILES = $(TM_FILES) $(TM_MUA_FILES) $(MEL_FILES) $(TL_FILES)
48 TARFILE = tm7.49.tar.gz
51 $(EMACS) $(FLAGS) -l inst-tm -f compile-tm
54 $(EMACS) $(FLAGS) -l inst-tm -f install-tm
57 all: $(UTILS) $(DVI) elc
60 $(CC) $(CFLAGS) src/ol2.c -o src/ol2
62 src/decode-b: src/decode-b.c
63 $(CC) $(CFLAGS) src/decode-b.c -o src/decode-b
76 install: $(UTILS) methods install-elc
77 $(EMACS) $(FLAGS) -l inst-tm -f install-execs
82 -cd doc; $(MAKE) clean
83 -cd gnus; $(MAKE) clean
84 -cd mh-e; $(MAKE) clean
85 cd ../mel; PWD=`pwd` $(MAKE) clean
90 cd ..; gtar cvzf $(TARFILE) $(FILES)