2 # $Id: Makefile,v 6.2 1995/04/28 06:15:37 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
26 # Please specify GNUS type (`gnus3' or `gnus4') if you use Emacs 18.*
28 # EMACS18_GNUS = gnus4
35 GOMI = $(UTILS) *.elc .lpath.el
36 FILES = tm/README.eng tm/rel-*.ol \
37 tm/Makefile tm/Makefile.bc tm/make-lpath \
38 tm/*.el tm/*.c tm/methods \
39 tm/doc/Makefile tm/doc/*.pln tm/doc/*.ol tm/doc/*.tex tm/doc/*.texi \
40 tm/gnus/Makefile tm/gnus/Makefile.bc tm/gnus/*.el \
41 tm/mh-e/Makefile tm/mh-e/Makefile.bc tm/mh-e/*.el \
42 tl/README.eng tl/Makefile tl/Makefile.bc tl/*.el tl/doc/*.texi
44 TARFILE = tm6.19.0.tar
50 make -f Makefile.bc all EMACS=$(NEMACS) EMACS_TYPE=nemacs
51 (cd gnus; make nemacs NEMACS=$(NEMACS) EMACS18_GNUS=$(EMACS18_GNUS))
52 (cd mh-e; make nemacs NEMACS=$(NEMACS))
54 install-nemacs: nemacs install-mua-18
55 make -f Makefile.bc install TMDIR=$(TMDIR18) EMACS_TYPE=nemacs
59 make -f Makefile.bc all EMACS=$(MULE1) EMACS_TYPE=mule
60 (cd gnus; make mule1 MULE1=$(MULE1) EMACS18_GNUS=$(EMACS18_GNUS))
61 (cd mh-e; make mule1 MULE1=$(MULE1))
63 install-mule1: mule1 install-mua-18
64 make -f Makefile.bc install TMDIR=$(TMDIR18) EMACS_TYPE=mule
67 (cd gnus; make install-18 TMDIR18=$(TMDIR18))
68 (cd mh-e; make install-18 TMDIR18=$(TMDIR18))
72 make -f Makefile.bc all EMACS=$(ORIG19) EMACS_TYPE=orig
73 (cd gnus; make orig19 ORIG19=$(ORIG19))
74 (cd mh-e; make orig19 ORIG19=$(ORIG19))
76 install-orig19: orig19 install-mua-19
77 make -f Makefile.bc install TMDIR=$(TMDIR19) EMACS_TYPE=orig
81 make -f Makefile.bc all EMACS=$(MULE2) EMACS_TYPE=mule
82 (cd gnus; make mule2 MULE2=$(MULE2))
83 (cd mh-e; make mule2 MULE2=$(MULE2))
85 install-mule2: mule2 install-mua-19
86 make -f Makefile.bc install TMDIR=$(TMDIR19) EMACS_TYPE=mule
89 (cd gnus; make install-19 TMDIR19=$(TMDIR19))
90 (cd mh-e; make install-19 TMDIR19=$(TMDIR19))
96 $(CC) $(CFLAGS) ol2.c -o ol2
99 $(CC) $(CFLAGS) decode-b.c -o decode-b
112 install: $(UTILS) methods
113 cp -p $(UTILS) $(bindir)
114 cp -p methods/* $(bindir)
119 -(cd doc; make clean)
120 -(cd gnus; make clean)
121 -(cd mh-e; make clean)
126 (cd ..; tar cvf $(TARFILE) $(FILES); gzip -9 $(TARFILE))