# # $Id: Makefile.19,v 1.1 1994/12/27 02:32:05 morioka Exp $ # # Please specify emacs executables: # EMACS = for all kind of Emacs 19 (FSF original, MULE or XEmacs) # ORIG = for FSF original Emacs 19 or XEmacs # MULE = for MULE 2 # # If you have only one kind of Emacs 19, please dummy specify, like that: # # for Emacs 19 only: (If executable name = `emacs19') # EMACS = emacs19 # ORIG = emacs19 # MULE = emacs19 # # for MULE 2 only: (If executable name = `mule2') # EMACS = mule2 # ORIG = mule2 # MULE = mule2 # # for XEmacs only: (If executable name = `xemacs') # EMACS = xemacs # ORIG = xemacs # MULE = xemacs # # for every kind of Emacs: EMACS = mule2 ORIG = emacs19 MULE = mule2 # 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 TLDIR = /usr/local/lib/mule/site-lisp TMDIR = /usr/local/lib/mule/site-lisp 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-mule.elc tl-list.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-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-mule.el -l tm-mule.el -l tl-header.el -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-str.el -l tl-list.el -l tl-mule.el -f batch-byte-compile $< $(TMMELC): $(EMACS) -batch -q . -l tl-str.el -l tl-list.el -l tl-mule.el -l tl-header.el -l tm-mule.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-mule.el -l tm-mule.el -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 tl-str.el -l tl-list.el -l tl-header.el -l tl-mule.el -l tm-mule.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-mule.el -l tm-mule.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