2 # $Id: Makefile,v 7.14 1996/01/18 10:27:43 morioka Exp morioka $
7 BINS = src/ol2 src/decode-b
9 GOMI = $(BINS) *.elc loadpath
10 FLAGS = -batch -q -no-site-file -l mk-tm
12 TM_FILES = tm/README.en tm/ChangeLog \
13 tm/config.tm tm/Makefile tm/mk-tm \
14 tm/tm-mule.el tm/tm-nemacs.el tm/tm-orig.el tm/tm-def.el \
15 tm/tm-eword.el tm/tm-ew-d.el tm/tm-ew-e.el \
16 tm/tm-view.el tm/tm-parse.el \
17 tm/tm-rich.el tm/tm-image.el \
18 tm/tm-play.el tm/tm-partial.el tm/tm-pgp.el \
19 tm/tm-ftp.el tm/tm-latex.el tm/tm-html.el tm/tm-file.el \
22 tm/tm-edit.el tm/signature.el \
23 tm/tm-setup.el tm/mime-setup.el \
27 tm/doc/Makefile tm/doc/*.ol tm/doc/*.tex \
28 tm/doc/*.texi tm/old-logs/*.en tm/old-logs/*.ja
30 TM_MUA_FILES = tm/tm-rmail.el tm/tm-vm.el tm/tm-mail.el \
31 tm/gnus/Makefile tm/gnus/*-path tm/gnus/mk-tgnus \
32 tm/gnus/*.el tm/gnus/ChangeLog \
33 tm/mh-e/Makefile tm/mh-e/mk-tmh tm/mh-e/code-jp.ol \
34 tm/mh-e/*.el tm/mh-e/ChangeLog
36 MEL_FILES = mel/*.el mel/Makefile mel/mk-mel mel/ChangeLog
38 TL_FILES = tl/README.en tl/Makefile tl/mk-tl tl/*.el tl/doc/*.texi \
41 FILES = $(TM_FILES) $(TM_MUA_FILES) $(MEL_FILES) $(TL_FILES)
43 TARFILE = tm7.43.tar.gz
47 cd ../tl; PWD=`pwd` $(MAKE) elc EMACS=$(EMACS18)
48 cd ../mel; PWD=`pwd` $(MAKE) elc EMACS=$(EMACS18)
49 $(EMACS18) $(FLAGS) -f compile-tm
50 cd gnus; PWD=`pwd` $(MAKE) gnus3 EMACS=$(EMACS18)
51 # If you use GNUS 4.*, please use following comment:
52 # cd gnus; PWD=`pwd` $(MAKE) gnus4 EMACS=$(EMACS18)
53 cd mh-e; PWD=`pwd` $(MAKE) elc EMACS=$(EMACS18)
57 $(MAKE) install-18 EMACS=$(EMACS18) TLDIR18=$(TLDIR18)
58 cd ../mel; PWD=`pwd` \
59 $(MAKE) install-18 EMACS=$(EMACS18) MELDIR18=$(MELDIR18)
60 $(EMACS18) $(FLAGS) -f install-tm $(TMDIR18)
62 $(MAKE) install-18 EMACS=$(EMACS18) TMDIR18=$(TM_GNUS_DIR18)
64 $(MAKE) install-18 EMACS=$(EMACS18) TMDIR18=$(TMH_DIR18)
68 cd ../tl; PWD=`pwd` $(MAKE) elc EMACS=$(XEMACS)
69 cd ../mel; PWD=`pwd` $(MAKE) elc EMACS=$(XEMACS)
70 $(XEMACS) $(FLAGS) -f compile-tm
71 cd gnus; PWD=`pwd` $(MAKE) gnus EMACS=$(XEMACS)
72 cd gnus; PWD=`pwd` $(MAKE) gnus5 EMACS=$(XEMACS)
73 cd gnus; PWD=`pwd` $(MAKE) sgnus EMACS=$(XEMACS)
74 cd mh-e; PWD=`pwd` $(MAKE) elc EMACS=$(XEMACS)
76 install-xemacs: xemacs
78 $(MAKE) install-19 EMACS=$(XEMACS) TLDIR19=$(TLDIR19)
79 cd ../mel; PWD=`pwd` \
80 $(MAKE) install-19 EMACS=$(XEMACS) MELDIR19=$(MELDIR19)
81 $(XEMACS) $(FLAGS) -f install-tm $(TMDIR19)
83 $(MAKE) install-19 EMACS=$(XEMACS) TMDIR19=$(TM_GNUS_DIR19)
85 $(MAKE) install-19 EMACS=$(XEMACS) TMDIR19=$(TMH_DIR19)
89 cd ../tl; PWD=`pwd` $(MAKE) elc EMACS=$(EMACS19_29)
90 cd ../mel; PWD=`pwd` $(MAKE) elc EMACS=$(EMACS19_29)
91 $(EMACS19_29) $(FLAGS) -f compile-tm
92 cd gnus; PWD=`pwd` $(MAKE) gnus EMACS=$(EMACS19_29)
93 # cd gnus; PWD=`pwd` $(MAKE) gnus5 EMACS=$(EMACS19_29)
94 cd gnus; PWD=`pwd` $(MAKE) sgnus EMACS=$(EMACS19_29)
95 cd mh-e; PWD=`pwd` $(MAKE) elc EMACS=$(EMACS19_29)
99 $(MAKE) install-19 EMACS=$(EMACS19_29) TLDIR19=$(TLDIR19_29)
100 cd ../mel; PWD=`pwd` \
101 $(MAKE) install-19 EMACS=$(EMACS19_29) MELDIR19=$(MELDIR19_29)
102 $(EMACS19_29) $(FLAGS) -f install-tm $(TMDIR19_29)
104 $(MAKE) install-19_29 EMACS=$(EMACS19_29) \
105 TMDIR19_29=$(TM_GNUS_DIR19_29)
107 $(MAKE) install-19 EMACS=$(EMACS19_29) TMDIR19=$(TMH_DIR19_29)
113 $(CC) $(CFLAGS) src/ol2.c -o src/ol2
115 src/decode-b: src/decode-b.c
116 $(CC) $(CFLAGS) src/decode-b.c -o src/decode-b
129 install: $(UTILS) methods
130 $(CP) $(UTILS) $(bindir)
131 $(CP) methods/tm* $(bindir)
136 -cd doc; $(MAKE) clean
137 -cd gnus; $(MAKE) clean
138 -cd mh-e; $(MAKE) clean
139 cd ../mel; PWD=`pwd` $(MAKE) clean
144 cd ..; gtar cvzf $(TARFILE) $(FILES)