X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=Makefile;h=9856810617d65b7c2ed45d62462e04bb537e9d79;hb=79aebb76e3a8f57deb7559a3d15ab760de33d75b;hp=b36b2e87330d7159f8fc977a8b3703b9d85bb93a;hpb=4ff21287b9b75175bc14d7f2a337612849fe8b82;p=elisp%2Ftm.git diff --git a/Makefile b/Makefile index b36b2e8..9856810 100644 --- a/Makefile +++ b/Makefile @@ -1,130 +1,64 @@ # -# $Id: Makefile,v 7.3 1995/11/16 15:45:15 morioka Exp morioka $ +# $Id: Makefile,v 7.22 1996/05/08 15:40:58 morioka Exp morioka $ # -include config.tm - -UTILS = src/ol2 src/decode-b -GOMI = $(UTILS) *.elc loadpath - -TM_FILES = tm/README.eng tm/Changes* \ - tm/config.tm tm/Makefile tm/mk-tm \ - tm/tm-mule.el tm/tm-nemacs.el tm/tm-orig.el tm/tm-def.el \ +SHELL = /bin/sh +MAKE = make +CC = gcc +CFLAGS = -O2 +RM = /bin/rm -f +CP = /bin/cp -p +EMACS = emacs + +BINS = src/ol2 src/decode-b +UTILS = $(BINS) +GOMI = $(BINS) mime-setup.el mime-setup.el~ \#mime-setup.el\# *.elc \ + .gnus-compile* +FLAGS = -batch -q -no-site-file + +TM_FILES = tm/README.en tm/ChangeLog \ + tm/Makefile tm/inst-tm tm/TM-ELS tm/TM-CFG \ + tm/tm-def.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-play.el \ - tm/tm-partial.el \ + tm/tm-view.el tm/tm-parse.el \ + tm/tm-text.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-rich.el tm/richtext.el tm/tinyrich.el \ + tm/tm-bbdb.el \ tm/tm-edit.el tm/signature.el \ - tm/tm-setup.el tm/mime-setup.el \ + tm/tm-setup.el tm/mime-setup.el.in \ tm/sc-setup.el \ - tm/methods/tm* \ + tm/methods/tm* tm/methods/ChangeLog \ tm/src/*.c \ tm/doc/Makefile tm/doc/*.ol tm/doc/*.tex \ - tm/doc/*.texi + 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/mh-e/Makefile tm/mh-e/mk-tmh tm/mh-e/code-jp.ol \ - tm/mh-e/*.el + tm/gnus/*.el tm/gnus/ChangeLog \ + tm/mh-e/Makefile tm/mh-e/mk-tmh tm/mh-e/tmh-els \ + tm/mh-e/code-jp.ol tm/mh-e/*.el tm/mh-e/ChangeLog -MEL_FILES = mel/*.el mel/Makefile mel/mk-mel mel/Changes* +MEL_FILES = mel/*.el mel/Makefile mel/mk-mel mel/mel-els mel/ChangeLog -TL_FILES = tl/README.eng tl/Makefile tl/mk-tl tl/*.el tl/doc/*.texi \ - tl/Changes* +TL_FILES = tl/README.en tl/Makefile tl/mk-tl tl/tl-els \ + tl/*.el tl/*.bdf \ + tl/doc/*.ol tl/doc/*.tex tl/ChangeLog FILES = $(TM_FILES) $(TM_MUA_FILES) $(MEL_FILES) $(TL_FILES) -TARFILE = tm7.26.tar.gz - - -nemacs: - cd ../tl; PWD=`pwd` make elc EMACS=$(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) - -install-nemacs: nemacs - cd ../tl; PWD=`pwd` \ - make install-18 EMACS=$(NEMACS) TLDIR18=$(TLDIR18) - cd ../mel; PWD=`pwd` \ - make install-18 EMACS=$(NEMACS) MELDIR18=$(MELDIR18) - $(NEMACS) -batch -l mk-tm -f install-tm $(TMDIR18) - cd gnus; PWD=`pwd` \ - make install-18 EMACS=$(NEMACS) TMDIR18=$(TM_GNUS_DIR18) - cd mh-e; PWD=`pwd` \ - make install-18 EMACS=$(NEMACS) TMDIR18=$(TMH_DIR18) - - -mule1: - cd ../tl; PWD=`pwd` make elc EMACS=$(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) - -install-mule1: mule1 - cd ../tl; PWD=`pwd` \ - make install-18 EMACS=$(MULE1) TLDIR18=$(TLDIR18) - cd ../mel; PWD=`pwd` \ - make install-18 EMACS=$(MULE1) MELDIR18=$(MELDIR18) - $(MULE1) -batch -l mk-tm -f install-tm $(TMDIR18) - cd gnus; PWD=`pwd` \ - make install-18 EMACS=$(MULE1) TMDIR18=$(TM_GNUS_DIR18) - cd mh-e; PWD=`pwd` \ - make install-18 EMACS=$(MULE1) TMDIR18=$(TMH_DIR18) - - -orig19: - cd ../tl; PWD=`pwd` make elc EMACS=$(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) - -install-orig19: orig19 - cd ../tl; PWD=`pwd` \ - make install-19 EMACS=$(ORIG19) TLDIR19=$(TLDIR19) - cd ../mel; PWD=`pwd` \ - make install-19 EMACS=$(ORIG19) MELDIR19=$(MELDIR19) - $(ORIG19) -batch -l mk-tm -f install-tm $(TMDIR19) - cd gnus; PWD=`pwd` \ - make install-19 EMACS=$(ORIG19) TMDIR19=$(TM_GNUS_DIR19) - cd mh-e; PWD=`pwd` \ - make install-19 EMACS=$(ORIG19) TMDIR19=$(TMH_DIR19) - - -mule2: - cd ../tl; PWD=`pwd` make elc EMACS=$(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-19 EMACS=$(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) - - -all: $(UTILS) $(DVI) +TARFILE = tm7.71.tar.gz + +elc: + $(EMACS) $(FLAGS) -l inst-tm -f compile-tm + $(SHELL) .gnus-compile + +install-elc: elc + $(EMACS) $(FLAGS) -l inst-tm -f install-tm + + +all: $(UTILS) $(DVI) elc src/ol2: src/ol2.c $(CC) $(CFLAGS) src/ol2.c -o src/ol2 @@ -134,28 +68,27 @@ src/decode-b: src/decode-b.c 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/tm* $(bindir) +install: $(UTILS) methods install-elc + $(EMACS) $(FLAGS) -l inst-tm -f install-execs 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 doc; $(MAKE) tex cd ..; gtar cvzf $(TARFILE) $(FILES)