2 # $Id: Makefile,v 7.9 1995/12/14 17:03:27 morioka Exp morioka $
7 BINS = src/ol2 src/decode-b
8 UTILS = $(BINS) src/tmpgp
9 GOMI = $(BINS) *.elc loadpath
11 TM_FILES = tm/README.en tm/Changes* \
12 tm/config.tm tm/Makefile tm/mk-tm \
13 tm/tm-mule.el tm/tm-nemacs.el tm/tm-orig.el tm/tm-def.el \
14 tm/tm-eword.el tm/tm-ew-d.el tm/tm-ew-e.el \
15 tm/tm-view.el tm/tm-parse.el tm/tm-rich.el \
16 tm/tm-play.el tm/tm-partial.el tm/tm-pgp.el \
17 tm/tm-ftp.el tm/tm-latex.el tm/tm-html.el tm/tm-file.el \
19 tm/tm-edit.el tm/signature.el \
20 tm/tm-setup.el tm/mime-setup.el \
23 tm/src/*.c tm/src/tmpgp \
24 tm/doc/Makefile tm/doc/*.ol tm/doc/*.tex \
27 TM_MUA_FILES = tm/tm-rmail.el tm/tm-vm.el tm/tm-mail.el \
28 tm/gnus/Makefile tm/gnus/*-path tm/gnus/mk-tgnus \
29 tm/gnus/*.el tm/gnus/ChangeLog-* \
30 tm/mh-e/Makefile tm/mh-e/mk-tmh tm/mh-e/code-jp.ol \
31 tm/mh-e/*.el tm/mh-e/ChangeLog-*
33 MEL_FILES = mel/*.el mel/Makefile mel/mk-mel mel/Changes*
35 TL_FILES = tl/README.en tl/Makefile tl/mk-tl tl/*.el tl/doc/*.texi \
38 FILES = $(TM_FILES) $(TM_MUA_FILES) $(MEL_FILES) $(TL_FILES)
40 TARFILE = tm7.34.tar.gz
44 cd ../tl; PWD=`pwd` make elc EMACS=$(EMACS18)
45 cd ../mel; PWD=`pwd` make elc EMACS=$(EMACS18)
46 $(EMACS18) -batch -l mk-tm -f compile-tm
47 cd gnus; PWD=`pwd` make gnus3 EMACS=$(EMACS18)
48 # If you use GNUS 4.*, please use following comment:
49 # cd gnus; PWD=`pwd` make gnus4 EMACS=$(EMACS18)
50 cd mh-e; PWD=`pwd` make elc EMACS=$(EMACS18)
54 make install-18 EMACS=$(EMACS18) TLDIR18=$(TLDIR18)
55 cd ../mel; PWD=`pwd` \
56 make install-18 EMACS=$(EMACS18) MELDIR18=$(MELDIR18)
57 $(EMACS18) -batch -l mk-tm -f install-tm $(TMDIR18)
59 make install-18 EMACS=$(EMACS18) TMDIR18=$(TM_GNUS_DIR18)
61 make install-18 EMACS=$(EMACS18) TMDIR18=$(TMH_DIR18)
65 cd ../tl; PWD=`pwd` make elc EMACS=$(XEMACS)
66 cd ../mel; PWD=`pwd` make elc EMACS=$(XEMACS)
67 $(XEMACS) -batch -l mk-tm -f compile-tm
68 cd gnus; PWD=`pwd` make gnus EMACS=$(XEMACS)
69 cd gnus; PWD=`pwd` make gnus5 EMACS=$(XEMACS)
70 cd gnus; PWD=`pwd` make sgnus EMACS=$(XEMACS)
71 cd mh-e; PWD=`pwd` make elc EMACS=$(XEMACS)
73 install-xemacs: xemacs
75 make install-19 EMACS=$(XEMACS) TLDIR19=$(TLDIR19)
76 cd ../mel; PWD=`pwd` \
77 make install-19 EMACS=$(XEMACS) MELDIR19=$(MELDIR19)
78 $(XEMACS) -batch -l mk-tm -f install-tm $(TMDIR19)
80 make install-19 EMACS=$(XEMACS) TMDIR19=$(TM_GNUS_DIR19)
82 make install-19 EMACS=$(XEMACS) TMDIR19=$(TMH_DIR19)
86 cd ../tl; PWD=`pwd` make elc EMACS=$(EMACS19_29)
87 cd ../mel; PWD=`pwd` make elc EMACS=$(EMACS19_29)
88 $(EMACS19_29) -batch -l mk-tm -f compile-tm
89 cd gnus; PWD=`pwd` make gnus EMACS=$(EMACS19_29)
90 cd gnus; PWD=`pwd` make gnus5 EMACS=$(EMACS19_29)
91 cd gnus; PWD=`pwd` make sgnus EMACS=$(EMACS19_29)
92 cd mh-e; PWD=`pwd` make elc EMACS=$(EMACS19_29)
96 make install-19 EMACS=$(EMACS19_29) TLDIR19=$(TLDIR19_29)
97 cd ../mel; PWD=`pwd` \
98 make install-19 EMACS=$(EMACS19_29) MELDIR19=$(MELDIR19_29)
99 $(EMACS19_29) -batch -l mk-tm -f install-tm $(TMDIR19_29)
101 make install-19_29 EMACS=$(EMACS19_29) \
102 TMDIR19_29=$(TM_GNUS_DIR19_29)
104 make install-19 EMACS=$(EMACS19_29) TMDIR19=$(TMH_DIR19_29)
110 $(CC) $(CFLAGS) src/ol2.c -o src/ol2
112 src/decode-b: src/decode-b.c
113 $(CC) $(CFLAGS) src/decode-b.c -o src/decode-b
126 install: $(UTILS) methods
127 $(CP) $(UTILS) $(bindir)
128 $(CP) methods/tm* $(bindir)
136 cd ../mel; PWD=`pwd` make clean
141 cd ..; gtar cvzf $(TARFILE) $(FILES)