#
-# $Id: Makefile,v 6.3 1995/05/01 19:17:16 morioka Exp morioka $
+# $Id: Makefile,v 6.6 1995/05/15 04:20:56 morioka Exp morioka $
#
+SHELL = /bin/csh
+
# Please specify emacs executables:
# NEMACS = for NEMACS (or NEpoch)
# MULE1 = for Mule 1.* (based on Emacs 18.*)
# TMDIR19 = for Emacs 19.* (FSF original, XEmacs or MULE 2)
TMDIR18 = /usr/local/lib/emacs/local.lisp/tm
-# TMDIR19 = /usr/local/lib/mule/site-lisp
+ TMDIR19 = /usr/local/lib/mule/site-lisp
# TMDIR18 = $(HOME)/lib/emacs18/lisp
- TMDIR19 = $(HOME)/lib/emacs19/lisp
+# TMDIR19 = $(HOME)/lib/emacs19/lisp
# Please specify GNUS type (`gnus3' or `gnus4') if you use Emacs 18.*
EMACS18_GNUS = gnus3
MULE2_OPT =
bindir = $(HOME)/bin
+
CC = gcc
CFLAGS = -O
+RM = /bin/rm
+CP = /bin/cp -p
+
UTILS = ol2 decode-b
GOMI = $(UTILS) *.elc .lpath.el
FILES = tm/README.eng tm/rel-*.ol \
tm/mh-e/Makefile tm/mh-e/Makefile.bc tm/mh-e/*.el \
tl/README.eng tl/Makefile tl/Makefile.bc tl/*.el tl/doc/*.texi
-TARFILE = tm6.19.1.tar
+TARFILE = tm6.20.tar
lpath-nemacs:
make -f Makefile.bc all EMACS=$(NEMACS) EMACS_TYPE=nemacs
(cd gnus; make nemacs NEMACS=$(NEMACS) EMACS18_GNUS=$(EMACS18_GNUS))
(cd mh-e; make nemacs NEMACS=$(NEMACS) NEMACS_MH_E=$(NEMACS_MH_E))
-
+
+nemacs-vm: lpath-nemacs
+ make -f Makefile.bc tm-vm EMACS=$(NEMACS) EMACS_TYPE=nemacs
+
install-nemacs: nemacs install-mua-18
make -f Makefile.bc install TMDIR=$(TMDIR18) EMACS_TYPE=nemacs
(cd gnus; make mule1 MULE1=$(MULE1) EMACS18_GNUS=$(EMACS18_GNUS))
(cd mh-e; make mule1 MULE1=$(MULE1) MULE1_MH_E=$(MULE1_MH_E))
+mule1-vm: lpath-nemacs
+ make -f Makefile.bc tm-vm EMACS=$(MULE1) EMACS_TYPE=mule
+
install-mule1: mule1 install-mua-18
make -f Makefile.bc install TMDIR=$(TMDIR18) EMACS_TYPE=mule
install-mua-18:
(cd gnus; make install-18 TMDIR18=$(TMDIR18))
(cd mh-e; make install-18 TMDIR18=$(TMDIR18))
+ make -f Makefile.bc install-tm-vm TMDIR=$(TMDIR18)
lpath-orig19:
(cd gnus; make orig19 ORIG19=$(ORIG19))
(cd mh-e; make orig19 ORIG19=$(ORIG19))
+orig19-vm: lpath-nemacs
+ make -f Makefile.bc tm-vm EMACS=$(ORIG19) EMACS_TYPE=orig
+
install-orig19: orig19 install-mua-19
make -f Makefile.bc install TMDIR=$(TMDIR19) EMACS_TYPE=orig
(cd gnus; make mule2 MULE2=$(MULE2))
(cd mh-e; make mule2 MULE2=$(MULE2))
+mule2-vm: lpath-nemacs
+ make -f Makefile.bc tm-vm EMACS=$(MULE2) EMACS_TYPE=mule
+
install-mule2: mule2 install-mua-19
make -f Makefile.bc install TMDIR=$(TMDIR19) EMACS_TYPE=mule
install-mua-19:
(cd gnus; make install-19 TMDIR19=$(TMDIR19))
(cd mh-e; make install-19 TMDIR19=$(TMDIR19))
+ make -f Makefile.bc install-tm-vm TMDIR=$(TMDIR19)
all: $(UTILS) $(DVI)
install: $(UTILS) methods
- cp -p $(UTILS) $(bindir)
- cp -p methods/* $(bindir)
+ $(CP) $(UTILS) $(bindir)
+ $(CP) methods/* $(bindir)
clean:
- -rm $(GOMI)
+ -$(RM) $(GOMI)
-(cd doc; make clean)
-(cd gnus; make clean)
-(cd mh-e; make clean)
#
-# $Id: Makefile.bc,v 5.0 1995/05/10 17:48:56 morioka Exp $
+# $Id: Makefile.bc,v 6.0 1995/05/15 04:13:07 morioka Exp $
#
TM_EL = signature.el \
tm-rmail.el \
tm-comp.el
TM_ELC = ${TM_EL:el=elc}
-ALL_EL = $(TM_EL) tm-vm.el tm-setup.el mime-setup.el
+ALL_EL = $(TM_EL) tm-setup.el mime-setup.el
+
+TM_VM_EL = tm-vm.el
+TM_VM_ELC = ${TM_VM_EL:el=elc}
BATCH = $(EMACS) -batch -q .lpath.el -f eval-current-buffer
mv $(TM_ELC) $(TMDIR)
+tm-vm: $(TM_VM_ELC)
+
+$(TM_VM_ELC):
+
+install-tm-vm:
+ -(cd $(TMDIR); chmod +w $(TM_VM_EL))
+ cp -p $(TM_VM_EL) $(TMDIR)
+ -(mv $(TM_VM_ELC) $(TMDIR))
+
+
clean:
-rm *.elc