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-w3.el tm/tm-partial.el \
16 tm/tm-rich.el tm/richtext.el tm/tinyrich.el \
18 tm/tm-setup.el tm/mime-setup.el \
19 tm/signature.el tm/sc-setup.el tm/gnushook.el \
20 tm/*.c tm/methods/tm* \
21 tm/doc/Makefile tm/doc/*.pln tm/doc/*.ol tm/doc/*.tex \
24 TM_MUA_FILES = tm/tm-rmail.el tm/tm-vm.el \
25 tm/gnus/Makefile tm/gnus/*-path tm/gnus/mk-tgnus \
27 tm/mh-e/Makefile tm/mh-e/mk-tmh tm/mh-e/code-jp.ol \
30 MEL_FILES = mel/*.el mel/Makefile mel/mk-mel
32 TL_FILES = tl/README.eng tl/Makefile tl/mk-tl tl/*.el tl/doc/*.texi
34 FILES = $(TM_FILES) $(TM_MUA_FILES) $(MEL_FILES) $(TL_FILES)
40 cd ../tl; PWD=`pwd` make elc EMACS=$(NEMACS)
41 cd ../mel; PWD=`pwd` make elc EMACS=$(NEMACS)
42 $(NEMACS) -batch -l mk-tm -f compile-tm
43 cd gnus; PWD=`pwd` make gnus3 EMACS=$(NEMACS)
44 cd mh-e; PWD=`pwd` make elc EMACS=$(NEMACS)
46 install-nemacs: nemacs
48 make install-18 EMACS=$(NEMACS) TLDIR18=$(TLDIR18)
49 cd ../mel; PWD=`pwd` \
50 make install-18 EMACS=$(NEMACS) MELDIR18=$(MELDIR18)
51 $(NEMACS) -batch -l mk-tm -f install-tm $(TMDIR18)
53 make install-18 EMACS=$(NEMACS) TMDIR18=$(TM_GNUS_DIR18)
55 make install-18 EMACS=$(NEMACS) TMDIR18=$(TMH_DIR18)
59 cd ../tl; PWD=`pwd` make elc EMACS=$(MULE1)
60 cd ../mel; PWD=`pwd` make elc EMACS=$(MULE1)
61 $(MULE1) -batch -l mk-tm -f compile-tm
62 cd gnus; PWD=`pwd` make gnus3 EMACS=$(MULE1)
63 cd mh-e; PWD=`pwd` make elc EMACS=$(MULE1)
67 make install-18 EMACS=$(MULE1) TLDIR18=$(TLDIR18)
68 cd ../mel; PWD=`pwd` \
69 make install-18 EMACS=$(MULE1) MELDIR18=$(MELDIR18)
70 $(MULE1) -batch -l mk-tm -f install-tm $(TMDIR18)
72 make install-18 EMACS=$(MULE1) TMDIR18=$(TM_GNUS_DIR18)
74 make install-18 EMACS=$(MULE1) TMDIR18=$(TMH_DIR18)
78 cd ../tl; PWD=`pwd` make elc EMACS=$(ORIG19)
79 cd ../mel; PWD=`pwd` make elc EMACS=$(ORIG19)
80 $(ORIG19) -batch -l mk-tm -f compile-tm
81 cd gnus; PWD=`pwd` make gnus4 EMACS=$(ORIG19)
82 # If you use (ding) GNUS, please use following comment:
83 # cd gnus; PWD=`pwd` make dgnus EMACS=$(ORIG19)
84 # If you use Gnus v5, please use following comment:
85 # cd gnus; PWD=`pwd` make gnus5 EMACS=$(ORIG19)
86 cd mh-e; PWD=`pwd` make elc EMACS=$(ORIG19)
88 install-orig19: orig19
90 make install-19 EMACS=$(ORIG19) TLDIR19=$(TLDIR19)
91 cd ../mel; PWD=`pwd` \
92 make install-19 EMACS=$(ORIG19) MELDIR19=$(MELDIR19)
93 $(ORIG19) -batch -l mk-tm -f install-tm $(TMDIR19)
95 make install-19 EMACS=$(ORIG19) TMDIR19=$(TM_GNUS_DIR19)
97 make install-19 EMACS=$(ORIG19) TMDIR19=$(TMH_DIR19)
101 cd ../tl; PWD=`pwd` make elc EMACS=$(MULE2)
102 cd ../mel; PWD=`pwd` make elc EMACS=$(MULE2)
103 $(MULE2) -batch -l mk-tm -f compile-tm
104 cd gnus; PWD=`pwd` make gnus4 EMACS=$(MULE2)
105 # If you use (ding) GNUS, please use following comment:
106 # cd gnus; PWD=`pwd` make dgnus EMACS=$(MULE2)
107 # If you use Gnus v5, please use following comment:
108 # cd gnus; PWD=`pwd` make gnus5 EMACS=$(MULE2)
109 cd mh-e; PWD=`pwd` make elc EMACS=$(MULE2)
112 cd ../tl; PWD=`pwd` \
113 make install-19 EMACS=$(MULE2) TLDIR19=$(TLDIR19)
114 cd ../mel; PWD=`pwd` \
115 make install-19 EMACS=$(MULE2) MELDIR19=$(MELDIR19)
116 $(MULE2) -batch -l mk-tm -f install-tm $(TMDIR19)
118 make install-19 EMACS=$(MULE2) TMDIR19=$(TM_GNUS_DIR19)
120 make install-19 EMACS=$(MULE2) TMDIR19=$(TMH_DIR19)
126 $(CC) $(CFLAGS) ol2.c -o ol2
129 $(CC) $(CFLAGS) decode-b.c -o decode-b
142 install: $(UTILS) methods
143 $(CP) $(UTILS) $(bindir)
144 $(CP) methods/* $(bindir)
152 cd ../mel; PWD=`pwd` make clean
157 cd ..; tar cvf $(TARFILE) $(FILES); gzip -9 $(TARFILE)