2 # $Id: Makefile,v 7.1 1995/10/03 05:14:34 morioka Exp morioka $
8 GOMI = $(UTILS) *.elc loadpath
10 TM_FILES = tm/README.eng tm/rel-*.ol tm/Changes* \
11 tm/config.tm tm/Makefile tm/mk-tm \
12 tm/tm-mule.el tm/tm-nemacs.el tm/tm-orig.el tm/tm-def.el \
13 tm/tm-eword.el tm/tm-ew-d.el tm/tm-ew-e.el \
14 tm/tm-view.el tm/tm-parse.el tm/tm-play.el \
15 tm/tm-ftp.el tm/tm-latex.el tm/tm-w3.el tm/tm-partial.el \
17 tm/tm-rich.el tm/richtext.el tm/tinyrich.el \
18 tm/tm-edit.el tm/signature.el \
19 tm/tm-setup.el tm/mime-setup.el \
20 tm/sc-setup.el tm/gnushook.el \
21 tm/*.c tm/methods/tm* \
22 tm/doc/Makefile tm/doc/*.pln tm/doc/*.ol tm/doc/*.tex \
25 TM_MUA_FILES = tm/tm-rmail.el tm/tm-vm.el \
26 tm/gnus/Makefile tm/gnus/*-path tm/gnus/mk-tgnus \
28 tm/mh-e/Makefile tm/mh-e/mk-tmh tm/mh-e/code-jp.ol \
31 MEL_FILES = mel/*.el mel/Makefile mel/mk-mel
33 TL_FILES = tl/README.eng tl/Makefile tl/mk-tl tl/*.el tl/doc/*.texi
35 FILES = $(TM_FILES) $(TM_MUA_FILES) $(MEL_FILES) $(TL_FILES)
41 cd ../tl; PWD=`pwd` make elc EMACS=$(NEMACS)
42 cd ../mel; PWD=`pwd` make elc EMACS=$(NEMACS)
43 $(NEMACS) -batch -l mk-tm -f compile-tm
44 cd gnus; PWD=`pwd` make gnus3 EMACS=$(NEMACS)
45 cd mh-e; PWD=`pwd` make elc EMACS=$(NEMACS)
47 install-nemacs: nemacs
49 make install-18 EMACS=$(NEMACS) TLDIR18=$(TLDIR18)
50 cd ../mel; PWD=`pwd` \
51 make install-18 EMACS=$(NEMACS) MELDIR18=$(MELDIR18)
52 $(NEMACS) -batch -l mk-tm -f install-tm $(TMDIR18)
54 make install-18 EMACS=$(NEMACS) TMDIR18=$(TM_GNUS_DIR18)
56 make install-18 EMACS=$(NEMACS) TMDIR18=$(TMH_DIR18)
60 cd ../tl; PWD=`pwd` make elc EMACS=$(MULE1)
61 cd ../mel; PWD=`pwd` make elc EMACS=$(MULE1)
62 $(MULE1) -batch -l mk-tm -f compile-tm
63 cd gnus; PWD=`pwd` make gnus3 EMACS=$(MULE1)
64 cd mh-e; PWD=`pwd` make elc EMACS=$(MULE1)
68 make install-18 EMACS=$(MULE1) TLDIR18=$(TLDIR18)
69 cd ../mel; PWD=`pwd` \
70 make install-18 EMACS=$(MULE1) MELDIR18=$(MELDIR18)
71 $(MULE1) -batch -l mk-tm -f install-tm $(TMDIR18)
73 make install-18 EMACS=$(MULE1) TMDIR18=$(TM_GNUS_DIR18)
75 make install-18 EMACS=$(MULE1) TMDIR18=$(TMH_DIR18)
79 cd ../tl; PWD=`pwd` make elc EMACS=$(ORIG19)
80 cd ../mel; PWD=`pwd` make elc EMACS=$(ORIG19)
81 $(ORIG19) -batch -l mk-tm -f compile-tm
82 cd gnus; PWD=`pwd` make gnus4 EMACS=$(ORIG19)
83 # If you use (ding) GNUS, please use following comment:
84 # cd gnus; PWD=`pwd` make dgnus EMACS=$(ORIG19)
85 # If you use Gnus v5, please use following comment:
86 # cd gnus; PWD=`pwd` make gnus5 EMACS=$(ORIG19)
87 cd mh-e; PWD=`pwd` make elc EMACS=$(ORIG19)
89 install-orig19: orig19
91 make install-19 EMACS=$(ORIG19) TLDIR19=$(TLDIR19)
92 cd ../mel; PWD=`pwd` \
93 make install-19 EMACS=$(ORIG19) MELDIR19=$(MELDIR19)
94 $(ORIG19) -batch -l mk-tm -f install-tm $(TMDIR19)
96 make install-19 EMACS=$(ORIG19) TMDIR19=$(TM_GNUS_DIR19)
98 make install-19 EMACS=$(ORIG19) TMDIR19=$(TMH_DIR19)
102 cd ../tl; PWD=`pwd` make elc EMACS=$(MULE2)
103 cd ../mel; PWD=`pwd` make elc EMACS=$(MULE2)
104 $(MULE2) -batch -l mk-tm -f compile-tm
105 cd gnus; PWD=`pwd` make gnus4 EMACS=$(MULE2)
106 # If you use (ding) GNUS, please use following comment:
107 # cd gnus; PWD=`pwd` make dgnus EMACS=$(MULE2)
108 # If you use Gnus v5, please use following comment:
109 # cd gnus; PWD=`pwd` make gnus5 EMACS=$(MULE2)
110 cd mh-e; PWD=`pwd` make elc EMACS=$(MULE2)
113 cd ../tl; PWD=`pwd` \
114 make install-19 EMACS=$(MULE2) TLDIR19=$(TLDIR19)
115 cd ../mel; PWD=`pwd` \
116 make install-19 EMACS=$(MULE2) MELDIR19=$(MELDIR19)
117 $(MULE2) -batch -l mk-tm -f install-tm $(TMDIR19)
119 make install-19 EMACS=$(MULE2) TMDIR19=$(TM_GNUS_DIR19)
121 make install-19 EMACS=$(MULE2) TMDIR19=$(TMH_DIR19)
127 $(CC) $(CFLAGS) ol2.c -o ol2
130 $(CC) $(CFLAGS) decode-b.c -o decode-b
143 install: $(UTILS) methods
144 $(CP) $(UTILS) $(bindir)
145 $(CP) methods/tm* $(bindir)
153 cd ../mel; PWD=`pwd` make clean
158 cd ..; tar cvf $(TARFILE) $(FILES); gzip -9 $(TARFILE)