# # $Id: Makefile.bc,v 3.0 1995/04/19 02:22:49 morioka Exp $ # TMMEL = tm-view.el tm-rmail.el TMMELC = ${TMMEL:el=elc} TM_EL = signature.el \ tiny-mime.el tm-misc.el tm-$(EMACS_TYPE).el \ $(TMMEL) tm-rich.el \ tm-comp.el TM_ELC = ${TM_EL:el=elc} ALL_EL = $(TM_EL) tm-ftp.el tm-latex.el tm-partial.el \ tm-vm.el \ tm-setup.el mime-setup.el .SUFFIXES: .el .elc .el.elc: $(EMACS) -batch -q . -f batch-byte-compile $< all: $(TM_ELC) signature.elc: signature.el $(EMACS) -batch -q . -l $(TLSRCDIR)/tl-header.el \ -f batch-byte-compile $< tiny-mime.elc: tiny-mime.el $(EMACS) -batch -q . \ -l $(TLSRCDIR)/tl-str.el -l $(TLSRCDIR)/tl-header.el \ $(OPT) \ -f batch-byte-compile $< tm-misc.elc: tm-misc.el $(EMACS) -batch -q . \ -l $(TLSRCDIR)/tl-str.el -l $(TLSRCDIR)/tl-list.el \ -l $(TLSRCDIR)/tl-header.el \ -l $(TLSRCDIR)/tl-$(EMACS_TYPE).el \ $(OPT) \ -l tm-$(EMACS_TYPE).el -l tiny-mime.el \ -f batch-byte-compile $< tm-$(EMACS_TYPE).elc: tm-$(EMACS_TYPE).el $(EMACS) -batch -q . \ -l $(TLSRCDIR)/tl-str.el \ -l $(TLSRCDIR)/tl-list.el \ -l $(TLSRCDIR)/tl-$(EMACS_TYPE).el \ $(OPT) \ -f batch-byte-compile $< $(TMMELC): $(TMMEL) $(EMACS) -batch -q . \ -l $(TLSRCDIR)/tl-str.el -l $(TLSRCDIR)/tl-list.el \ -l $(TLSRCDIR)/tl-header.el \ -l $(TLSRCDIR)/tl-$(EMACS_TYPE).el \ $(OPT) \ -l tm-$(EMACS_TYPE).el -l tiny-mime.el -l tm-misc.el \ -f batch-byte-compile $? tm-rich.elc: tm-rich.el $(EMACS) -batch -q . \ -l $(TLSRCDIR)/tl-str.el -l $(TLSRCDIR)/tl-list.el \ -l $(TLSRCDIR)/tl-header.el \ -l $(TLSRCDIR)/tl-$(EMACS_TYPE).el \ $(OPT) \ -l tm-$(EMACS_TYPE).el -l tiny-mime.el -l tm-misc.el \ -l tm-view.el \ -f batch-byte-compile $< tm-comp.elc: tm-comp.el $(EMACS) -batch -q . \ -l $(TLSRCDIR)/tl-str.el -l $(TLSRCDIR)/tl-list.el \ -l $(TLSRCDIR)/tl-header.el \ -l $(TLSRCDIR)/tl-$(EMACS_TYPE).el \ $(OPT) \ -l tm-$(EMACS_TYPE).el -l tiny-mime.el -l tm-misc.el \ -l tm-view.el \ -f batch-byte-compile $? install: -(cd $(TMDIR); chmod +w $(ALL_EL)) cp -p $(ALL_EL) $(TMDIR) mv $(TM_ELC) $(TMDIR) clean: -rm *.elc