2 # $Id: Makefile,v 6.28 1995/09/08 18:04:24 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-view.el tm/tiny-mime.el \
13 tm/tm-mule.el tm/tm-nemacs.el tm/tm-orig.el tm/tm-def.el \
14 tm/tm-ftp.el tm/tm-latex.el tm/tm-partial.el \
15 tm/tm-rich.el tm/richtext.el tm/tinyrich.el \
17 tm/tm-setup.el tm/mime-setup.el \
18 tm/signature.el tm/sc-setup.el tm/gnushook.el \
19 tm/*.c tm/methods/tm* \
20 tm/doc/Makefile tm/doc/*.pln tm/doc/*.ol tm/doc/*.tex \
23 TM_MUA_FILES = tm/tm-rmail.el tm/tm-vm.el \
24 tm/gnus/Makefile tm/gnus/*-path tm/gnus/mk-tgnus \
26 tm/mh-e/Makefile tm/mh-e/mk-tmh tm/mh-e/code-jp.ol \
29 MEL_FILES = mel/*.el mel/Makefile mel/mk-mel
31 TL_FILES = tl/README.eng tl/Makefile tl/mk-tl tl/*.el tl/doc/*.texi
33 FILES = $(TM_FILES) $(TM_MUA_FILES) $(MEL_FILES) $(TL_FILES)
39 cd ../tl; PWD=`pwd` make elc EMACS=$(NEMACS)
40 cd ../mel; PWD=`pwd` make elc EMACS=$(NEMACS)
41 $(NEMACS) -batch -l mk-tm -f compile-tm
42 cd gnus; PWD=`pwd` make gnus3 EMACS=$(NEMACS)
43 cd mh-e; PWD=`pwd` make elc EMACS=$(NEMACS)
45 install-nemacs: nemacs
47 make install-18 EMACS=$(NEMACS) TLDIR18=$(TLDIR18)
48 cd ../mel; PWD=`pwd` \
49 make install-18 EMACS=$(NEMACS) MELDIR18=$(MELDIR18)
50 $(NEMACS) -batch -l mk-tm -f install-tm $(TMDIR18)
52 make install-18 EMACS=$(NEMACS) TMDIR18=$(TM_GNUS_DIR18)
54 make install-18 EMACS=$(NEMACS) TMDIR18=$(TMH_DIR18)
58 cd ../tl; PWD=`pwd` make elc EMACS=$(MULE1)
59 cd ../mel; PWD=`pwd` make elc EMACS=$(MULE1)
60 $(MULE1) -batch -l mk-tm -f compile-tm
61 cd gnus; PWD=`pwd` make gnus3 EMACS=$(MULE1)
62 cd mh-e; PWD=`pwd` make elc EMACS=$(MULE1)
66 make install-18 EMACS=$(MULE1) TLDIR18=$(TLDIR18)
67 cd ../mel; PWD=`pwd` \
68 make install-18 EMACS=$(MULE1) MELDIR18=$(MELDIR18)
69 $(MULE1) -batch -l mk-tm -f install-tm $(TMDIR18)
71 make install-18 EMACS=$(MULE1) TMDIR18=$(TM_GNUS_DIR18)
73 make install-18 EMACS=$(MULE1) TMDIR18=$(TMH_DIR18)
77 cd ../tl; PWD=`pwd` make elc EMACS=$(ORIG19)
78 cd ../mel; PWD=`pwd` make elc EMACS=$(ORIG19)
79 $(ORIG19) -batch -l mk-tm -f compile-tm
80 cd gnus; PWD=`pwd` make gnus4 EMACS=$(ORIG19)
81 # If you use (ding) GNUS, please use following comment:
82 # cd gnus; PWD=`pwd` make dgnus EMACS=$(ORIG19)
83 # If you use Gnus v5, please use following comment:
84 # cd gnus; PWD=`pwd` make gnus5 EMACS=$(ORIG19)
85 cd mh-e; PWD=`pwd` make elc EMACS=$(ORIG19)
87 install-orig19: orig19
89 make install-19 EMACS=$(ORIG19) TLDIR19=$(TLDIR19)
90 cd ../mel; PWD=`pwd` \
91 make install-19 EMACS=$(ORIG19) MELDIR19=$(MELDIR19)
92 $(ORIG19) -batch -l mk-tm -f install-tm $(TMDIR19)
94 make install-19 EMACS=$(ORIG19) TMDIR19=$(TM_GNUS_DIR19)
96 make install-19 EMACS=$(ORIG19) TMDIR19=$(TMH_DIR19)
100 cd ../tl; PWD=`pwd` make elc EMACS=$(MULE2)
101 cd ../mel; PWD=`pwd` make elc EMACS=$(MULE2)
102 $(MULE2) -batch -l mk-tm -f compile-tm
103 cd gnus; PWD=`pwd` make gnus4 EMACS=$(MULE2)
104 # If you use (ding) GNUS, please use following comment:
105 # cd gnus; PWD=`pwd` make dgnus EMACS=$(MULE2)
106 # If you use Gnus v5, please use following comment:
107 # cd gnus; PWD=`pwd` make gnus5 EMACS=$(MULE2)
108 cd mh-e; PWD=`pwd` make elc EMACS=$(MULE2)
111 cd ../tl; PWD=`pwd` \
112 make install-19 EMACS=$(MULE2) TLDIR19=$(TLDIR19)
113 cd ../mel; PWD=`pwd` \
114 make install-19 EMACS=$(MULE2) MELDIR19=$(MELDIR19)
115 $(MULE2) -batch -l mk-tm -f install-tm $(TMDIR19)
117 make install-19 EMACS=$(MULE2) TMDIR19=$(TM_GNUS_DIR19)
119 make install-19 EMACS=$(MULE2) TMDIR19=$(TMH_DIR19)
125 $(CC) $(CFLAGS) ol2.c -o ol2
128 $(CC) $(CFLAGS) decode-b.c -o decode-b
141 install: $(UTILS) methods
142 $(CP) $(UTILS) $(bindir)
143 $(CP) methods/* $(bindir)
151 cd ../mel; PWD=`pwd` make clean
156 cd ..; tar cvf $(TARFILE) $(FILES); gzip -9 $(TARFILE)