2 # $Id: Makefile,v 5.0 1995/04/19 02:12:17 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 specfy 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
35 FILES = tm/README.eng tm/rel-*.ol tm/Makefile tm/Makefile.bc \
36 tm/*.el tm/*.c tm/methods \
37 tm/doc/Makefile tm/doc/*.pln tm/doc/*.ol tm/doc/*.tex tm/doc/*.texi \
38 tm/gnus/Makefile tm/gnus/Makefile.bc tm/gnus/*.el \
39 tm/mh-e/Makefile tm/mh-e/Makefile.bc tm/mh-e/*.el \
40 tl/README.eng tl/Makefile tl/Makefile.bc tl/*.el tl/doc/*.texi
46 make -f Makefile.bc all \
47 OPT='-l $(TLSRCDIR)/tl-18.el' \
48 EMACS=$(NEMACS) EMACS_TYPE=nemacs TLSRCDIR=$(TLSRCDIR)
50 install-nemacs: nemacs
51 make -f Makefile.bc install TMDIR=$(TMDIR18) EMACS_TYPE=nemacs
55 make -f Makefile.bc all \
56 OPT='-l $(TLSRCDIR)/tl-18.el' \
57 EMACS=$(MULE1) EMACS_TYPE=mule TLSRCDIR=$(TLSRCDIR)
60 make -f Makefile.bc install TMDIR=$(TMDIR18) EMACS_TYPE=mule
64 make -f Makefile.bc all \
65 EMACS=$(ORIG19) EMACS_TYPE=orig TLSRCDIR=$(TLSRCDIR)
66 (cd gnus; make orig19 ORIG19=$(ORIG19))
67 (cd mh-e; make orig19 ORIG19=$(ORIG19))
69 install-orig19: orig19 install-gnus4-mh-e4
70 make -f Makefile.bc install TMDIR=$(TMDIR19) EMACS_TYPE=orig
74 make -f Makefile.bc all \
75 EMACS=$(MULE2) EMACS_TYPE=mule TLSRCDIR=$(TLSRCDIR)
76 (cd gnus; make mule2 MULE2=$(MULE2))
77 (cd mh-e; make mule2 MULE2=$(MULE2))
79 install-mule2: mule2 install-gnus4-mh-e4
80 make -f Makefile.bc install TMDIR=$(TMDIR19) EMACS_TYPE=mule
84 (cd gnus; make install-19 TMDIR19=$(TMDIR19))
85 (cd mh-e; make install-19 TMDIR19=$(TMDIR19))
91 $(CC) $(CFLAGS) ol2.c -o ol2
94 $(CC) $(CFLAGS) decode-b.c -o decode-b
107 install: $(UTILS) methods
108 cp -p $(UTILS) $(bindir)
109 cp -p methods/* $(bindir)
114 -(cd doc; make clean)
119 (cd ..; tar cvf $(TARFILE) $(FILES); gzip -9 $(TARFILE))