X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=Makefile;h=0a6a200a85c8cbce17811236adf0c18d5ca31f83;hb=34f7fd72edf87445ea4ff9fbb8776f99ea914fa0;hp=c14ea12e8566f2d3a5d6ec32d6cc232d1a1cf8bc;hpb=0ee9b376253e9aa3989ffff5264b55f66b8223ee;p=elisp%2Ftm.git diff --git a/Makefile b/Makefile index c14ea12..0a6a200 100644 --- a/Makefile +++ b/Makefile @@ -1,158 +1,144 @@ # -# $Id: Makefile,v 6.27 1995/09/05 17:35:24 morioka Exp morioka $ +# $Id: Makefile,v 7.14 1996/01/18 10:27:43 morioka Exp morioka $ # include config.tm -UTILS = ol2 decode-b -GOMI = $(UTILS) *.elc loadpath +BINS = src/ol2 src/decode-b +UTILS = $(BINS) +GOMI = $(BINS) *.elc loadpath +FLAGS = -batch -q -no-site-file -l mk-tm -TM_FILES = tm/README.eng tm/rel-*.ol tm/Changes* \ +TM_FILES = tm/README.en tm/ChangeLog \ tm/config.tm tm/Makefile tm/mk-tm \ - tm/tm-view.el tm/tiny-mime.el \ tm/tm-mule.el tm/tm-nemacs.el tm/tm-orig.el tm/tm-def.el \ - tm/tm-ftp.el tm/tm-latex.el tm/tm-partial.el \ - tm/tm-rich.el tm/richtext.el tm/tinyrich.el \ - tm/tm-comp.el \ + tm/tm-eword.el tm/tm-ew-d.el tm/tm-ew-e.el \ + tm/tm-view.el tm/tm-parse.el \ + tm/tm-rich.el tm/tm-image.el \ + tm/tm-play.el tm/tm-partial.el tm/tm-pgp.el \ + tm/tm-ftp.el tm/tm-latex.el tm/tm-html.el tm/tm-file.el \ + tm/tm-tar.el \ + tm/tm-bbdb.el \ + tm/tm-edit.el tm/signature.el \ tm/tm-setup.el tm/mime-setup.el \ - tm/signature.el tm/sc-setup.el tm/gnushook.el \ - tm/*.c tm/methods/tm* \ - tm/doc/Makefile tm/doc/*.pln tm/doc/*.ol tm/doc/*.tex \ - tm/doc/*.texi + tm/sc-setup.el \ + tm/methods/tm* \ + tm/src/*.c \ + tm/doc/Makefile tm/doc/*.ol tm/doc/*.tex \ + tm/doc/*.texi tm/old-logs/*.en tm/old-logs/*.ja -TM_MUA_FILES = tm/tm-rmail.el tm/tm-vm.el \ +TM_MUA_FILES = tm/tm-rmail.el tm/tm-vm.el tm/tm-mail.el \ tm/gnus/Makefile tm/gnus/*-path tm/gnus/mk-tgnus \ - tm/gnus/*.el \ + tm/gnus/*.el tm/gnus/ChangeLog \ tm/mh-e/Makefile tm/mh-e/mk-tmh tm/mh-e/code-jp.ol \ - tm/mh-e/*.el + tm/mh-e/*.el tm/mh-e/ChangeLog -MEL_FILES = mel/*.el mel/Makefile mel/mk-mel +MEL_FILES = mel/*.el mel/Makefile mel/mk-mel mel/ChangeLog -TL_FILES = tl/README.eng \ - tl/Makefile tl/Makefile.bc tl/loadpath \ - tl/*.el tl/doc/*.texi +TL_FILES = tl/README.en tl/Makefile tl/mk-tl tl/*.el tl/doc/*.texi \ + tl/ChangeLog FILES = $(TM_FILES) $(TM_MUA_FILES) $(MEL_FILES) $(TL_FILES) -TARFILE = tm6.78.2.tar +TARFILE = tm7.41.3.tar.gz -nemacs: - cd ../tl; PWD=`pwd` make nemacs NEMACS=$(NEMACS) - cd ../mel; PWD=`pwd` make elc EMACS=$(NEMACS) - $(NEMACS) -batch -l mk-tm -f compile-tm - cd gnus; PWD=`pwd` make gnus3 EMACS=$(NEMACS) - cd mh-e; PWD=`pwd` make elc EMACS=$(NEMACS) +18: + cd ../tl; PWD=`pwd` $(MAKE) elc EMACS=$(EMACS18) + cd ../mel; PWD=`pwd` $(MAKE) elc EMACS=$(EMACS18) + $(EMACS18) $(FLAGS) -f compile-tm + cd gnus; PWD=`pwd` $(MAKE) gnus3 EMACS=$(EMACS18) +# If you use GNUS 4.*, please use following comment: +# cd gnus; PWD=`pwd` $(MAKE) gnus4 EMACS=$(EMACS18) + cd mh-e; PWD=`pwd` $(MAKE) elc EMACS=$(EMACS18) -install-nemacs: nemacs +install-18: 18 cd ../tl; PWD=`pwd` \ - make install-nemacs NEMACS=$(NEMACS) TLDIR18=$(TLDIR18) + $(MAKE) install-18 EMACS=$(EMACS18) TLDIR18=$(TLDIR18) cd ../mel; PWD=`pwd` \ - make install-18 EMACS=$(NEMACS) MELDIR18=$(MELDIR18) - $(NEMACS) -batch -l mk-tm -f install-tm $(TMDIR18) + $(MAKE) install-18 EMACS=$(EMACS18) MELDIR18=$(MELDIR18) + $(EMACS18) $(FLAGS) -f install-tm $(TMDIR18) cd gnus; PWD=`pwd` \ - make install-18 EMACS=$(NEMACS) TMDIR18=$(TM_GNUS_DIR18) + $(MAKE) install-18 EMACS=$(EMACS18) TMDIR18=$(TM_GNUS_DIR18) cd mh-e; PWD=`pwd` \ - make install-18 EMACS=$(NEMACS) TMDIR18=$(TMH_DIR18) + $(MAKE) install-18 EMACS=$(EMACS18) TMDIR18=$(TMH_DIR18) -mule1: - cd ../tl; PWD=`pwd` make mule1 MULE1=$(MULE1) - cd ../mel; PWD=`pwd` make elc EMACS=$(MULE1) - $(MULE1) -batch -l mk-tm -f compile-tm - cd gnus; PWD=`pwd` make gnus3 EMACS=$(MULE1) - cd mh-e; PWD=`pwd` make elc EMACS=$(MULE1) +xemacs: + cd ../tl; PWD=`pwd` $(MAKE) elc EMACS=$(XEMACS) + cd ../mel; PWD=`pwd` $(MAKE) elc EMACS=$(XEMACS) + $(XEMACS) $(FLAGS) -f compile-tm + cd gnus; PWD=`pwd` $(MAKE) gnus EMACS=$(XEMACS) + cd gnus; PWD=`pwd` $(MAKE) gnus5 EMACS=$(XEMACS) + cd gnus; PWD=`pwd` $(MAKE) sgnus EMACS=$(XEMACS) + cd mh-e; PWD=`pwd` $(MAKE) elc EMACS=$(XEMACS) -install-mule1: mule1 +install-xemacs: xemacs cd ../tl; PWD=`pwd` \ - make install-mule1 MULE1=$(MULE1) TLDIR18=$(TLDIR18) + $(MAKE) install-19 EMACS=$(XEMACS) TLDIR19=$(TLDIR19) cd ../mel; PWD=`pwd` \ - make install-18 EMACS=$(MULE1) MELDIR18=$(MELDIR18) - $(MULE1) -batch -l mk-tm -f install-tm $(TMDIR18) + $(MAKE) install-19 EMACS=$(XEMACS) MELDIR19=$(MELDIR19) + $(XEMACS) $(FLAGS) -f install-tm $(TMDIR19) cd gnus; PWD=`pwd` \ - make install-18 EMACS=$(MULE1) TMDIR18=$(TM_GNUS_DIR18) + $(MAKE) install-19 EMACS=$(XEMACS) TMDIR19=$(TM_GNUS_DIR19) cd mh-e; PWD=`pwd` \ - make install-18 EMACS=$(MULE1) TMDIR18=$(TMH_DIR18) + $(MAKE) install-19 EMACS=$(XEMACS) TMDIR19=$(TMH_DIR19) -orig19: - cd ../tl; PWD=`pwd` make orig19 ORIG19=$(ORIG19) - cd ../mel; PWD=`pwd` make elc EMACS=$(ORIG19) - $(ORIG19) -batch -l mk-tm -f compile-tm - cd gnus; PWD=`pwd` make gnus4 EMACS=$(ORIG19) -# If you use (ding) GNUS, please use following comment: -# cd gnus; PWD=`pwd` make dgnus EMACS=$(ORIG19) -# If you use Gnus v5, please use following comment: -# cd gnus; PWD=`pwd` make gnus5 EMACS=$(ORIG19) - cd mh-e; PWD=`pwd` make elc EMACS=$(ORIG19) +19_29: + cd ../tl; PWD=`pwd` $(MAKE) elc EMACS=$(EMACS19_29) + cd ../mel; PWD=`pwd` $(MAKE) elc EMACS=$(EMACS19_29) + $(EMACS19_29) $(FLAGS) -f compile-tm + cd gnus; PWD=`pwd` $(MAKE) gnus EMACS=$(EMACS19_29) +# cd gnus; PWD=`pwd` $(MAKE) gnus5 EMACS=$(EMACS19_29) + cd gnus; PWD=`pwd` $(MAKE) sgnus EMACS=$(EMACS19_29) + cd mh-e; PWD=`pwd` $(MAKE) elc EMACS=$(EMACS19_29) -install-orig19: orig19 +install-19_29: 19_29 cd ../tl; PWD=`pwd` \ - make install-orig19 ORIG19=$(ORIG19) TLDIR19=$(TLDIR19) + $(MAKE) install-19 EMACS=$(EMACS19_29) TLDIR19=$(TLDIR19_29) cd ../mel; PWD=`pwd` \ - make install-19 EMACS=$(ORIG19) MELDIR19=$(MELDIR19) - $(ORIG19) -batch -l mk-tm -f install-tm $(TMDIR19) + $(MAKE) install-19 EMACS=$(EMACS19_29) MELDIR19=$(MELDIR19_29) + $(EMACS19_29) $(FLAGS) -f install-tm $(TMDIR19_29) cd gnus; PWD=`pwd` \ - make install-19 EMACS=$(ORIG19) TMDIR19=$(TM_GNUS_DIR19) + $(MAKE) install-19_29 EMACS=$(EMACS19_29) \ + TMDIR19_29=$(TM_GNUS_DIR19_29) cd mh-e; PWD=`pwd` \ - make install-19 EMACS=$(ORIG19) TMDIR19=$(TMH_DIR19) - - -mule2: - cd ../tl; PWD=`pwd` make mule2 MULE2=$(MULE2) - cd ../mel; PWD=`pwd` make elc EMACS=$(MULE2) - $(MULE2) -batch -l mk-tm -f compile-tm - cd gnus; PWD=`pwd` make gnus4 EMACS=$(MULE2) -# If you use (ding) GNUS, please use following comment: -# cd gnus; PWD=`pwd` make dgnus EMACS=$(MULE2) -# If you use Gnus v5, please use following comment: -# cd gnus; PWD=`pwd` make gnus5 EMACS=$(MULE2) - cd mh-e; PWD=`pwd` make elc EMACS=$(MULE2) - -install-mule2: mule2 - cd ../tl; PWD=`pwd` \ - make install-mule2 MULE2=$(MULE2) TLDIR19=$(TLDIR19) - cd ../mel; PWD=`pwd` \ - make install-19 EMACS=$(MULE2) MELDIR19=$(MELDIR19) - $(MULE2) -batch -l mk-tm -f install-tm $(TMDIR19) - cd gnus; PWD=`pwd` \ - make install-19 EMACS=$(MULE2) TMDIR19=$(TM_GNUS_DIR19) - cd mh-e; PWD=`pwd` \ - make install-19 EMACS=$(MULE2) TMDIR19=$(TMH_DIR19) + $(MAKE) install-19 EMACS=$(EMACS19_29) TMDIR19=$(TMH_DIR19_29) all: $(UTILS) $(DVI) -ol2: ol2.c - $(CC) $(CFLAGS) ol2.c -o ol2 +src/ol2: src/ol2.c + $(CC) $(CFLAGS) src/ol2.c -o src/ol2 -decode-b: decode-b.c - $(CC) $(CFLAGS) decode-b.c -o decode-b +src/decode-b: src/decode-b.c + $(CC) $(CFLAGS) src/decode-b.c -o src/decode-b tex: ol2 - cd doc; make tex + cd doc; $(MAKE) tex dvi: ol2 - cd doc; make dvi + cd doc; $(MAKE) dvi ps: ol2 - cd doc; make ps + cd doc; $(MAKE) ps install: $(UTILS) methods $(CP) $(UTILS) $(bindir) - $(CP) methods/* $(bindir) + $(CP) methods/tm* $(bindir) clean: -$(RM) $(GOMI) - -cd doc; make clean - -cd gnus; make clean - -cd mh-e; make clean - cd ../mel; PWD=`pwd` make clean + -cd doc; $(MAKE) clean + -cd gnus; $(MAKE) clean + -cd mh-e; $(MAKE) clean + cd ../mel; PWD=`pwd` $(MAKE) clean tar: - cd doc; make tex - cd ..; tar cvf $(TARFILE) $(FILES); gzip -9 $(TARFILE) + cd doc; $(MAKE) tex + cd ..; gtar cvzf $(TARFILE) $(FILES)