2 # $Id: Makefile,v 6.17 1995/07/17 17:10:21 morioka Exp morioka $
5 # Please specify emacs executables:
6 # NEMACS = for NEMACS (or NEpoch)
7 # MULE1 = for Mule 1.* (based on Emacs 18.*)
8 # ORIG19 = for Emacs 19.* (FSF original or XEmacs)
9 # MULE2 = for MULE 2.* (based on Emacs 19.*)
16 # Please specify Emacs Lisp install directory:
17 # TMDIR18 = for Emacs 18.* (NEMACS, NEpoch or MULE 1)
18 # TMDIR19 = for Emacs 19.* (FSF original, XEmacs or MULE 2)
20 #TMDIR18 = /usr/local/lib/emacs/local.lisp/tm
21 #TMDIR19 = /usr/local/lib/mule/site-lisp
23 TMDIR18 = $(HOME)/lib/emacs18/lisp
24 TMDIR19 = $(HOME)/lib/emacs19/lisp
26 # Please specify GNUS type (`gnus3' or `gnus4') if you use Emacs 18.*
28 # EMACS18_GNUS = gnus4
30 # Please specify optional load-path
31 NEMACS_OPT = /usr/local/lib/nemacs/local.lisp
32 MULE1_OPT = /usr/local/lib/mule/local.lisp
45 GOMI = $(UTILS) *.elc loadpath
47 TM_FILES = tm/README.eng tm/rel-*.ol tm/Changes* \
48 tm/Makefile tm/Makefile.bc \
49 tm/make-lpath tm/inst-el tm/inst-elc \
50 tm/tm-view.el tm/tiny-mime.el \
51 tm/tm-mule.el tm/tm-nemacs.el tm/tm-orig.el tm/tm-misc.el \
52 tm/tm-ftp.el tm/tm-latex.el tm/tm-partial.el \
53 tm/tm-rich.el tm/richtext.el tm/tinyrich.el \
55 tm/tm-setup.el tm/mime-setup.el \
56 tm/signature.el tm/sc-setup.el tm/gnushook.el \
58 tm/doc/Makefile tm/doc/*.pln tm/doc/*.ol tm/doc/*.tex \
61 TM_MUA_FILES = tm/tm-rmail.el tm/tm-vm.el \
62 tm/gnus/Makefile tm/gnus/*-path tm/gnus/mk-tgnus \
64 tm/mh-e/Makefile tm/mh-e/Makefile.bc tm/mh-e/code-jp.ol \
67 MEL_FILES = mel/*.el mel/Makefile* mel/inst* mel/make-lpath
69 TL_FILES = tl/README.eng \
70 tl/Makefile tl/Makefile.bc tl/loadpath \
73 FILES = $(TM_FILES) $(TM_MUA_FILES) $(MEL_FILES) $(TL_FILES)
79 ./make-lpath $(NEMACS_OPT)
82 cd ../mel; PWD=`pwd` make nemacs EMACS=$(NEMACS)
83 make -f Makefile.bc all EMACS=$(NEMACS) EMACS_TYPE=nemacs
84 cd gnus; PWD=`pwd` make gnus3 EMACS=$(NEMACS)
86 make nemacs NEMACS=$(NEMACS) NEMACS_MH_E=$(NEMACS_MH_E)
88 nemacs-vm: lpath-nemacs
89 make -f Makefile.bc tm-vm EMACS=$(NEMACS) EMACS_TYPE=nemacs
91 install-nemacs: nemacs install-mua-18
92 cd ../mel; PWD=`pwd` make install-nemacs EMACS=$(NEMACS)
93 make -f Makefile.bc install TMDIR=$(TMDIR18) EMACS_TYPE=nemacs
94 cd gnus; PWD=`pwd` make install-18 EMACS=$(NEMACS) TMDIR18=$(TMDIR18)
97 ./make-lpath $(MULE1_OPT)
100 cd ../mel; PWD=`pwd` make mule1 EMACS=$(MULE1)
101 make -f Makefile.bc all EMACS=$(MULE1) EMACS_TYPE=mule
102 cd gnus; PWD=`pwd` make gnus3 EMACS=$(MULE1)
104 make mule1 MULE1=$(MULE1) NEMACS_MH_E=$(MULE1_MH_E)
106 mule1-vm: lpath-nemacs
107 make -f Makefile.bc tm-vm EMACS=$(MULE1) EMACS_TYPE=mule
109 install-mule1: mule1 install-mua-18
110 cd ../mel; PWD=`pwd` make install-mule1 EMACS=$(MULE1)
111 make -f Makefile.bc install TMDIR=$(TMDIR18) EMACS_TYPE=mule
112 cd gnus; PWD=`pwd` make install-18 EMACS=$(MULE1) TMDIR18=$(TMDIR18)
115 cd mh-e; PWD=`pwd` make install-18 TMDIR18=$(TMDIR18)
116 make -f Makefile.bc install-tm-vm TMDIR=$(TMDIR18)
120 ./make-lpath $(ORIG19_OPT)
123 cd ../mel; PWD=`pwd` make orig19 EMACS=$(ORIG19)
124 make -f Makefile.bc all EMACS=$(ORIG19) EMACS_TYPE=orig
125 cd gnus; PWD=`pwd` make gnus4 EMACS=$(ORIG19)
126 # If you use (ding) GNUS, please comment use following:
127 # cd gnus; PWD=`pwd` make dgnus EMACS=$(ORIG19)
128 cd mh-e; PWD=`pwd` make orig19 ORIG19=$(ORIG19)
130 orig19-vm: lpath-nemacs
131 make -f Makefile.bc tm-vm EMACS=$(ORIG19) EMACS_TYPE=orig
133 install-orig19: orig19 install-mua-19
134 cd ../mel; PWD=`pwd` make install-orig19 EMACS=$(ORIG19)
135 make -f Makefile.bc install TMDIR=$(TMDIR19) EMACS_TYPE=orig
136 cd gnus; PWD=`pwd` make install-19 EMACS=$(ORIG19) TMDIR19=$(TMDIR19)
139 ./make-lpath $(MULE2_OPT)
142 cd ../mel; PWD=`pwd` make mule2 EMACS=$(MULE2)
143 make -f Makefile.bc all EMACS=$(MULE2) EMACS_TYPE=mule
144 cd gnus; PWD=`pwd` make gnus4 EMACS=$(MULE2)
145 # If you use (ding) GNUS, please comment use following:
146 # cd gnus; PWD=`pwd` make dgnus EMACS=$(MULE2)
147 cd mh-e; PWD=`pwd` make mule2 MULE2=$(MULE2)
149 mule2-vm: lpath-nemacs
150 make -f Makefile.bc tm-vm EMACS=$(MULE2) EMACS_TYPE=mule
152 install-mule2: mule2 install-mua-19
153 cd ../mel; PWD=`pwd` make install-mule2 EMACS=$(MULE2)
154 make -f Makefile.bc install TMDIR=$(TMDIR19) EMACS_TYPE=mule
155 cd gnus; PWD=`pwd` make install-19 EMACS=$(MULE2) TMDIR19=$(TMDIR19)
158 cd mh-e; PWD=`pwd` make install-19 TMDIR19=$(TMDIR19)
159 make -f Makefile.bc install-tm-vm TMDIR=$(TMDIR19)
165 $(CC) $(CFLAGS) ol2.c -o ol2
168 $(CC) $(CFLAGS) decode-b.c -o decode-b
181 install: $(UTILS) methods
182 $(CP) $(UTILS) $(bindir)
183 $(CP) methods/* $(bindir)
195 cd ..; tar cvf $(TARFILE) $(FILES); gzip -9 $(TARFILE)