# # $Id$ # # Makefile to byte-compile for FSF original Emacs 19 and XEmacs # # Please specify emacs executable: EMACS = emacs19 # Please specfy Emacs Lisp install directory: # TLDIR = for tl modules # TMDIR = for tm modules # TLDIR = $(HOME)/lib/emacs19/lisp TMDIR = $(HOME)/lib/emacs19/lisp/tm 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 TMVELC = ${TMVEL:el=elc} .SUFFIXES: .el .elc .el.elc: $(EMACS) -batch -q . -f batch-byte-compile $< all: $(TLELC) tl-orig.elc tl-orig.elc tl-list.elc signature.elc \ tiny-mime.elc $(TMELC) tm-orig.elc tm-orig.elc $(TMMELC) \ tm-mh-e.elc tm-gnus.elc $(TMVELC) $(TLELC): $(TLEL) tl-orig.elc: tl-orig.el $(EMACS) -batch -q . -f batch-byte-compile $< tl-list.elc: tl-list.el $(EMACS) -batch -q . -l tl-str.el -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 -l tl-str.el -f batch-byte-compile $< $(TMELC): $(EMACS) -batch -q . -l tl-str.el -l tl-list.el -l tl-orig.el -l tm-orig.el -l tl-header.el -l tiny-mime.el -f batch-byte-compile $< tm-orig.elc: tm-orig.el $(EMACS) -batch -q . -l tl-orig.el -f batch-byte-compile $< $(TMMELC): $(EMACS) -batch -q . -l tl-str.el -l tl-list.el -l tl-orig.el -l tl-header.el -l tm-orig.el -l tiny-mime.el -l tm-misc.el \ -f batch-byte-compile $< tm-gnus.elc: tm-gnus.el $(EMACS) -batch -q . -l tl-str.el -l tl-list.el \ -l tl-header.el -l tl-orig.el \ -l tm-orig.el -l tiny-mime.el -l tm-misc.el -l gnus \ -f batch-byte-compile $< tm-gnus4.elc: tm-gnus4.el $(EMACS) -batch -q . -l tl-str.el -l tl-list.el \ -l tl-header.el -l tl-orig.el \ -l tm-orig.el -l tiny-mime.el -l tm-misc.el -l gnus -l tm-gnus \ -f batch-byte-compile $< tm-mh-e.elc: tm-mh-e.el $(EMACS) -batch -q . -l tl-str.el -l tl-list.el -l tl-header.el -l tl-orig.el -l tm-orig.el -l tiny-mime.el -l tm-misc.el -l mh-e \ -f batch-byte-compile $< $(TMVELC): $(EMACS) -batch -q . -l tl-str.el -l tl-list.el -l tl-header.el -l tl-orig.el -l tm-orig.el -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