tm 5.21.7
[elisp/tm.git] / Makefile.bc
1 #
2 # $Id: Makefile.bc,v 1.3 1995/01/13 02:59:07 morioka Exp $
3 #
4
5 TMMEL   = tm-view.el tm-rmail.el tm-comp.el
6 TMMELC  = ${TMMEL:el=elc}
7
8 TM_EL   = signature.el \
9         tiny-mime.el tm-misc.el tm-$(EMACS_TYPE).el $(TMMEL) tm-rich.el
10 TM_ELC  = ${TM_EL:el=elc}
11 ALL_EL  = $(TM_EL) tm-setup.el mime-setup.el
12
13 .SUFFIXES:      .el .elc
14
15 .el.elc:
16         $(EMACS) -batch -q . -f batch-byte-compile $<
17
18
19 all:    $(TM_ELC)
20
21 signature.elc:  signature.el
22         $(EMACS) -batch -q . -l $(TLSRCDIR)/tl-header.el \
23                 -f batch-byte-compile $<
24
25 tiny-mime.elc:  tiny-mime.el
26         $(EMACS) -batch -q . \
27                 -l $(TLSRCDIR)/tl-str.el -l $(TLSRCDIR)/tl-header.el \
28                 -f batch-byte-compile $<
29
30 tm-misc.elc:    tm-misc.el
31         $(EMACS) -batch -q . \
32                 -l $(TLSRCDIR)/tl-str.el -l $(TLSRCDIR)/tl-list.el \
33                 -l $(TLSRCDIR)/tl-header.el \
34                 -l $(TLSRCDIR)/tl-$(EMACS_TYPE).el \
35                 -l tm-$(EMACS_TYPE).el -l tiny-mime.el \
36                 -f batch-byte-compile $<
37
38 tm-$(EMACS_TYPE).elc:   tm-$(EMACS_TYPE).el
39         $(EMACS) -batch -q . \
40                 -l $(TLSRCDIR)/tl-list.el \
41                 -l $(TLSRCDIR)/tl-$(EMACS_TYPE).el \
42                 -f batch-byte-compile $<
43
44 $(TMMELC):      $(TMMEL)
45         $(EMACS) -batch -q . \
46                 -l $(TLSRCDIR)/tl-str.el -l $(TLSRCDIR)/tl-list.el \
47                 -l $(TLSRCDIR)/tl-header.el \
48                 -l $(TLSRCDIR)/tl-$(EMACS_TYPE).el \
49                 -l tm-$(EMACS_TYPE).el -l tiny-mime.el -l tm-misc.el \
50                 -f batch-byte-compile $<
51
52 tm-rich.elc:    tm-rich.el
53         $(EMACS) -batch -q . \
54                 -l $(TLSRCDIR)/tl-str.el -l $(TLSRCDIR)/tl-list.el \
55                 -l $(TLSRCDIR)/tl-header.el \
56                 -l $(TLSRCDIR)/tl-$(EMACS_TYPE).el \
57                 -l tm-$(EMACS_TYPE).el -l tiny-mime.el -l tm-misc.el \
58                 -l tm-view.el \
59                 -f batch-byte-compile $<
60
61
62 install:
63         -(cd $(TMDIR); chmod +w $(ALL_EL))
64         cp -p $(ALL_EL) $(TMDIR)
65         mv $(TM_ELC) $(TMDIR)
66
67
68 clean:
69         -rm *.elc