X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=Makefile;h=0b780dbdd6aa694c209851766b48d2c92632280f;hb=ad70c7508648f96247524e2074e285be9275bb62;hp=334d0a3db150a62864d0ab42de8885851d596193;hpb=740d589e65b5be8c0ffab56bcac2bba71ae8dd28;p=elisp%2Ftm.git diff --git a/Makefile b/Makefile index 334d0a3..0b780db 100644 --- a/Makefile +++ b/Makefile @@ -1,105 +1,93 @@ # -# $Id: Makefile,v 1.4 1995/01/13 00:13:17 morioka Exp morioka $ +# $Id: Makefile,v 7.21 1996/04/21 18:06:22 morioka Exp morioka $ # -# Please specify emacs executables: -# NEMACS = for NEMACS (or NEpoch) -# MULE1 = for Mule 1.* (based on Emacs 18.*) -# ORIG19 = for Emacs 19.* (FSF original or XEmacs) -# MULE2 = for MULE 2.* (based on Emacs 19.*) - - NEMACS = nemacs - MULE1 = mule - ORIG19 = emacs19 - MULE2 = mule2 - -# Please specfy Emacs Lisp install directory: -# TMDIR18 = for Emacs 18.* (NEMACS, NEpoch or MULE 1) -# 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 - - TLSRCDIR = ../tl - - -bindir = $(HOME)/bin +SHELL = /bin/sh +MAKE = make CC = gcc -CFLAGS = -O - -UTILS = ol2 decode-b -GOMI = $(UTILS) *.elc -FILES = tm/README.eng tm/Makefile tm/Makefile.bc \ - tm/*.el tm/*.c tm/methods \ - tm/doc/Makefile tm/doc/*.pln tm/doc/*.ol tm/doc/*.tex tm/doc/*.texi \ - tm/gnus/Makefile tm/gnus/Makefile.bc tm/gnus/*.el \ - 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 = tm5.21.8.tar - - -nemacs: - make -f Makefile.bc all \ - EMACS=$(NEMACS) EMACS_TYPE=nemacs TLSRCDIR=$(TLSRCDIR) +CFLAGS = -O2 +RM = /bin/rm -f +CP = /bin/cp -p +EMACS = emacs -install-nemacs: nemacs - make -f Makefile.bc install TMDIR=$(TMDIR18) EMACS_TYPE=nemacs +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-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.in \ + tm/sc-setup.el \ + tm/methods/tm* tm/methods/ChangeLog \ + tm/src/*.c \ + tm/doc/Makefile tm/doc/*.ol tm/doc/*.tex \ + tm/doc/*.texi tm/old-logs/*.en tm/old-logs/*.ja -mule1: - make -f Makefile.bc all \ - EMACS=$(MULE1) EMACS_TYPE=mule TLSRCDIR=$(TLSRCDIR) +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/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 -install-mule1: mule1 - make -f Makefile.bc install TMDIR=$(TMDIR18) EMACS_TYPE=mule +MEL_FILES = mel/*.el mel/Makefile mel/mk-mel mel/mel-els mel/ChangeLog - -orig19: - make -f Makefile.bc all \ - EMACS=$(ORIG19) EMACS_TYPE=orig TLSRCDIR=$(TLSRCDIR) +TL_FILES = tl/README.en tl/Makefile tl/mk-tl tl/tl-els tl/*.el \ + tl/doc/*.texi tl/ChangeLog -install-orig19: orig19 - make -f Makefile.bc install TMDIR=$(TMDIR19) EMACS_TYPE=orig +FILES = $(TM_FILES) $(TM_MUA_FILES) $(MEL_FILES) $(TL_FILES) +TARFILE = tm7.52.2.tar.gz -mule2: - make -f Makefile.bc all \ - EMACS=$(MULE2) EMACS_TYPE=mule TLSRCDIR=$(TLSRCDIR) +elc: + $(EMACS) $(FLAGS) -l inst-tm -f compile-tm + $(SHELL) .gnus-compile -install-mule2: mule2 - make -f Makefile.bc install TMDIR=$(TMDIR19) EMACS_TYPE=mule +install-elc: elc + $(EMACS) $(FLAGS) -l inst-tm -f install-tm -all: $(UTILS) $(DVI) +all: $(UTILS) $(DVI) elc -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 -p $(UTILS) $(bindir) - cp -p methods/* $(bindir) +install: $(UTILS) methods install-elc + $(EMACS) $(FLAGS) -l inst-tm -f install-execs clean: - -rm $(GOMI) - -(cd doc; make clean) + -$(RM) $(GOMI) + -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)