EMACS = mule2 ORIG = emacs19 MULE = mule2 TLEL = tl-header.el tl-str.el TLELC = ${TLEL:el=elc} TMEL = tm-misc.el TMELC = ${TMEL:el=elc} TMMEL = tm-view.el tm-rmail.el tm-comp.el tm-gnus4.el TMMELC = ${TMMEL:el=elc} TMVEL = tm-rich.el tm-vm.el TMVELC = ${TMVEL:el=elc} TLDIR = $(HOME)/lib/emacs19/lisp TMDIR = $(HOME)/lib/emacs19/lisp/tm .SUFFIXES: .el .elc .el.elc: $(EMACS) -batch -q . -f batch-byte-compile $< all: $(TLELC) tl-orig.elc tl-mule.elc signature.elc \ tiny-mime.elc $(TMELC) tm-orig.elc tm-mule.elc $(TMMELC) \ tm-mh-e.elc tm-gnus.elc $(TMVELC) $(TLELC): $(TLEL) tl-orig.elc: tl-orig.el $(ORIG) -batch -q . -f batch-byte-compile $< tl-mule.elc: tl-mule.el $(MULE) -batch -q . -f batch-byte-compile $< tl-list.elc: tl-list.el $(EMACS) -batch -q . -l tl-list.el -f batch-byte-compile $< signature.elc: signature.el $(EMACS) -batch -q . -l tl-header.el -f batch-byte-compile $< tiny-mime.elc: tiny-mime.el $(EMACS) -batch -q . -l tl-header.el -f batch-byte-compile $< $(TMELC): $(EMACS) -batch -q . -l tiny-mime.el -f batch-byte-compile $< tm-orig.elc: tm-orig.el $(ORIG) -batch -q . -l tl-orig.el -f batch-byte-compile $< tm-mule.elc: tm-mule.el $(MULE) -batch -q . -l tl-list.el -f batch-byte-compile $< $(TMMELC): $(EMACS) -batch -q . -l tiny-mime.el -l tm-misc.el \ -f batch-byte-compile $< tm-gnus.elc: tm-gnus.el $(EMACS) -batch -q . -l tiny-mime.el -l tm-misc.el -l gnus \ -f batch-byte-compile $< tm-mh-e.elc: tm-mh-e.el $(EMACS) -batch -q . -l tiny-mime.el -l tm-misc.el -l mh-e \ -f batch-byte-compile $< $(TMVELC): $(EMACS) -batch -q . -l tiny-mime.el -l tm-misc.el -l tm-view.el \ -f batch-byte-compile $< install: all tl-install tm-install tl-install: -chmod +w $(TLDIR)/*.el cp -p tl-*.el signature.el $(TLDIR) mv tl-*.elc signature.elc $(TLDIR) tm-install: -chmod +w $(TMDIR)/*.el cp -p tiny-mime.el tm-*.el mime-setup.el \ gnushook.el sc-setup.el $(TMDIR) mv tiny-mime.elc tm-*.elc $(TMDIR) clean: -rm *.elc