# # $Id: Makefile,v 7.25 1996/08/23 07:41:35 morioka Exp morioka $ # SHELL = /bin/sh MAKE = make CC = gcc CFLAGS = -O2 RM = /bin/rm -f CP = /bin/cp -p EMACS = emacs BINS = src/ol2 src/decode-b UTILS = $(BINS) GOMI = $(BINS) mime-setup.el mime-setup.el~ \#mime-setup.el\# *.elc \ .gnus-compile* FLAGS = -batch -q -no-site-file TM_FILES = tm/README.en tm/ChangeLog \ tm/Makefile tm/inst-tm tm/TM-ELS tm/TM-CFG \ tm/tm-def.el \ tm/tm-eword.el tm/tm-ew-d.el tm/tm-ew-e.el \ tm/tm-view.el tm/tm-parse.el \ tm/tm-text.el tm/tm-image.el \ tm/tm-play.el tm/tm-partial.el tm/tm-pgp.el \ tm/tm-ftp.el tm/tm-latex.el tm/tm-html.el tm/tm-file.el \ tm/tm-tar.el \ tm/tm-bbdb.el \ tm/tm-edit.el tm/signature.el \ tm/tm-setup.el tm/mime-setup.el.in \ tm/sc-setup.el \ tm/methods/tm* tm/methods/ChangeLog \ tm/src/*.c \ tm/doc/Makefile tm/doc/*.ol tm/doc/*.tex \ tm/doc/*.texi tm/old-logs/*.en tm/old-logs/*.ja TM_MUA_FILES = tm/tm-rmail.el tm/tm-vm.el tm/tm-mail.el \ tm/gnus/Makefile tm/gnus/*-path tm/gnus/mk-tgnus \ tm/gnus/*.el tm/gnus/ChangeLog \ tm/mh-e/Makefile tm/mh-e/mk-tmh tm/mh-e/TMH-ELS \ tm/mh-e/code-jp.ol tm/mh-e/*.el tm/mh-e/ChangeLog MEL_FILES = mel/*.el mel/Makefile mel/mk-mel mel/MEL-ELS mel/ChangeLog TL_FILES = tl/README.en tl/Makefile tl/mk-tl tl/TL-ELS \ tl/*.el tl/*.bdf \ tl/doc/*.ol tl/doc/*.tex tl/ChangeLog FILES = $(TM_FILES) $(TM_MUA_FILES) $(MEL_FILES) $(TL_FILES) TARFILE = tm7.80.tar.gz elc: $(EMACS) $(FLAGS) -l inst-tm -f compile-tm $(SHELL) .gnus-compile install-elc: elc $(EMACS) $(FLAGS) -l inst-tm -f install-tm all: $(UTILS) $(DVI) elc src/ol2: src/ol2.c $(CC) $(CFLAGS) src/ol2.c -o src/ol2 src/decode-b: src/decode-b.c $(CC) $(CFLAGS) src/decode-b.c -o src/decode-b tex: ol2 cd doc; $(MAKE) tex dvi: ol2 cd doc; $(MAKE) dvi ps: ol2 cd doc; $(MAKE) ps install: $(UTILS) methods install-elc $(EMACS) $(FLAGS) -l inst-tm -f install-execs clean: -$(RM) $(GOMI) -cd doc; $(MAKE) clean -cd gnus; $(MAKE) clean -cd mh-e; $(MAKE) clean cd ../mel; PWD=`pwd` $(MAKE) clean tar: cd doc; $(MAKE) tex cd ..; gtar cvzf $(TARFILE) $(FILES)