2 # $Id: Makefile,v 6.0 1995/04/20 13:08:16 morioka Exp morioka $
5 # Please specify emacs executables:
6 # NEMACS = for NEMACS (or NEpoch)
7 # MULE1 = for Mule 1.* (based on Emacs 18.*)
8 # ORIG19 = for Emacs 19.* (FSF original or XEmacs)
9 # MULE2 = for MULE 2.* (based on Emacs 19.*)
16 # Please specify Emacs Lisp install directory:
17 # TMDIR18 = for Emacs 18.* (NEMACS, NEpoch or MULE 1)
18 # TMDIR19 = for Emacs 19.* (FSF original, XEmacs or MULE 2)
20 # TMDIR18 = /usr/local/lib/emacs/local.lisp/tm
21 # TMDIR19 = /usr/local/lib/mule/site-lisp
23 TMDIR18 = $(HOME)/lib/emacs18/lisp
24 TMDIR19 = $(HOME)/lib/emacs19/lisp
28 # Please specify GNUS type (`gnus3' or `gnus4') if you use Emacs 18.*
30 # EMACS18_GNUS = gnus4
38 FILES = tm/README.eng tm/rel-*.ol tm/Makefile tm/Makefile.bc \
39 tm/*.el tm/*.c tm/methods \
40 tm/doc/Makefile tm/doc/*.pln tm/doc/*.ol tm/doc/*.tex tm/doc/*.texi \
41 tm/gnus/Makefile tm/gnus/Makefile.bc tm/gnus/*.el \
42 tm/mh-e/Makefile tm/mh-e/Makefile.bc tm/mh-e/*.el \
43 tl/README.eng tl/Makefile tl/Makefile.bc tl/*.el tl/doc/*.texi
49 make -f Makefile.bc all \
50 OPT='-l $(TLSRCDIR)/tl-18.el' \
51 EMACS=$(NEMACS) EMACS_TYPE=nemacs TLSRCDIR=$(TLSRCDIR)
52 (cd gnus; make nemacs NEMACS=$(NEMACS) EMACS18_GNUS=$(EMACS18_GNUS))
53 (cd mh-e; make nemacs NEMACS=$(NEMACS))
55 install-nemacs: nemacs install-mua-18
56 make -f Makefile.bc install TMDIR=$(TMDIR18) EMACS_TYPE=nemacs
60 make -f Makefile.bc all \
61 OPT='-l $(TLSRCDIR)/tl-18.el' \
62 EMACS=$(MULE1) EMACS_TYPE=mule TLSRCDIR=$(TLSRCDIR)
63 (cd gnus; make mule1 MULE1=$(MULE1) EMACS18_GNUS=$(EMACS18_GNUS))
64 (cd mh-e; make mule1 MULE1=$(MULE1))
66 install-mule1: mule1 install-mua-18
67 make -f Makefile.bc install TMDIR=$(TMDIR18) EMACS_TYPE=mule
70 (cd gnus; make install-18 TMDIR18=$(TMDIR18))
71 (cd mh-e; make install-18 TMDIR18=$(TMDIR18))
75 make -f Makefile.bc all \
76 EMACS=$(ORIG19) EMACS_TYPE=orig TLSRCDIR=$(TLSRCDIR)
77 (cd gnus; make orig19 ORIG19=$(ORIG19))
78 (cd mh-e; make orig19 ORIG19=$(ORIG19))
80 install-orig19: orig19 install-mua-19
81 make -f Makefile.bc install TMDIR=$(TMDIR19) EMACS_TYPE=orig
85 make -f Makefile.bc all \
86 EMACS=$(MULE2) EMACS_TYPE=mule TLSRCDIR=$(TLSRCDIR)
87 (cd gnus; make mule2 MULE2=$(MULE2))
88 (cd mh-e; make mule2 MULE2=$(MULE2))
90 install-mule2: mule2 install-mua-19
91 make -f Makefile.bc install TMDIR=$(TMDIR19) EMACS_TYPE=mule
94 (cd gnus; make install-19 TMDIR19=$(TMDIR19))
95 (cd mh-e; make install-19 TMDIR19=$(TMDIR19))
101 $(CC) $(CFLAGS) ol2.c -o ol2
104 $(CC) $(CFLAGS) decode-b.c -o decode-b
117 install: $(UTILS) methods
118 cp -p $(UTILS) $(bindir)
119 cp -p methods/* $(bindir)
124 -(cd doc; make clean)
125 -(cd gnus; make clean)
126 -(cd mh-e; make clean)
131 (cd ..; tar cvf $(TARFILE) $(FILES); gzip -9 $(TARFILE))