2 # $Id: Makefile.19,v 1.1 1994/12/27 02:32:05 morioka Exp $
5 # Please specify emacs executables:
6 # EMACS = for all kind of Emacs 19 (FSF original, MULE or XEmacs)
7 # ORIG = for FSF original Emacs 19 or XEmacs
10 # If you have only one kind of Emacs 19, please dummy specify, like that:
12 # for Emacs 19 only: (If executable name = `emacs19')
17 # for MULE 2 only: (If executable name = `mule2')
22 # for XEmacs only: (If executable name = `xemacs')
27 # for every kind of Emacs:
32 # Please specfy Emacs Lisp install directory:
33 # TLDIR = for tl modules
34 # TMDIR = for tm modules
36 # TLDIR = $(HOME)/lib/emacs19/lisp
37 # TMDIR = $(HOME)/lib/emacs19/lisp/tm
38 TLDIR = /usr/local/lib/mule/site-lisp
39 TMDIR = /usr/local/lib/mule/site-lisp
41 TLEL = tl-header.el tl-str.el
42 TLELC = ${TLEL:el=elc}
44 TMELC = ${TMEL:el=elc}
45 TMMEL = tm-view.el tm-rmail.el tm-comp.el tm-gnus4.el
46 TMMELC = ${TMMEL:el=elc}
48 TMVELC = ${TMVEL:el=elc}
54 $(EMACS) -batch -q . -f batch-byte-compile $<
56 all: $(TLELC) tl-orig.elc tl-mule.elc tl-list.elc signature.elc \
57 tiny-mime.elc $(TMELC) tm-orig.elc tm-mule.elc $(TMMELC) \
58 tm-mh-e.elc tm-gnus.elc $(TMVELC)
62 tl-orig.elc: tl-orig.el
63 $(ORIG) -batch -q . -f batch-byte-compile $<
65 tl-mule.elc: tl-mule.el
66 $(MULE) -batch -q . -f batch-byte-compile $<
68 tl-list.elc: tl-list.el
69 $(EMACS) -batch -q . -l tl-str.el -l tl-list.el -f batch-byte-compile $<
71 signature.elc: signature.el
72 $(EMACS) -batch -q . -l tl-header.el -f batch-byte-compile $<
74 tiny-mime.elc: tiny-mime.el
75 $(EMACS) -batch -q . -l tl-header.el -l tl-str.el -f batch-byte-compile $<
78 $(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 $<
80 tm-orig.elc: tm-orig.el
81 $(ORIG) -batch -q . -l tl-orig.el -f batch-byte-compile $<
83 tm-mule.elc: tm-mule.el
84 $(MULE) -batch -q . -l tl-str.el -l tl-list.el -l tl-mule.el -f batch-byte-compile $<
87 $(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 \
88 -f batch-byte-compile $<
90 tm-gnus.elc: tm-gnus.el
91 $(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 \
92 -f batch-byte-compile $<
94 tm-mh-e.elc: tm-mh-e.el
95 $(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 \
96 -f batch-byte-compile $<
99 $(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 \
100 -f batch-byte-compile $<
102 install: all tl-install tm-install
105 -chmod +w $(TLDIR)/*.el
106 cp -p tl-*.el signature.el $(TLDIR)
107 mv tl-*.elc signature.elc $(TLDIR)
110 -chmod +w $(TMDIR)/*.el
111 cp -p tiny-mime.el tm-*.el mime-setup.el \
112 gnushook.el sc-setup.el $(TMDIR)
113 mv tiny-mime.elc tm-*.elc $(TMDIR)