tm 6.18
[elisp/tm.git] / gnus / Makefile
1 #
2 # $Id: Makefile,v 5.0 1995/04/20 12:53:54 morioka Exp $
3 #
4
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.*)
10
11         NEMACS  = nemacs
12         MULE1   = mule
13         ORIG19  = emacs19
14         MULE2   = mule2
15
16
17 # Please specfy Emacs Lisp install directory:
18 #       TMDIR18 = for Emacs 18.* (NEMACS, NEpoch or MULE 1)
19 #       TMDIR19 = for Emacs 19.* (FSF original, XEmacs or MULE 2)
20
21 #       TMDIR18 = /usr/local/lib/emacs/local.lisp/tm
22 #       TMDIR19 = /usr/local/lib/mule/site-lisp
23         TMDIR18 = $(HOME)/lib/emacs18/lisp
24         TMDIR19 = $(HOME)/lib/emacs19/lisp
25
26         TMSRCDIR = ..
27         TLSRCDIR = ../../tl
28
29         EMACS18_GNUS  = gnus3
30
31         EMACS18_GNUS3 = gnus
32         EMACS18_NNTP3 = nntp
33
34         EMACS18_GNUS4 = /usr/local/lib/emacs/local.lisp/gnus-4.1/lisp/gnus
35         EMACS18_NNTP4 = /usr/local/lib/emacs/local.lisp/gnus-4.1/lisp/nntp
36
37         EMACS19_GNUS  = gnus
38         EMACS19_NNTP  = nntp
39
40 nemacs:         nemacs-$(EMACS18_GNUS)
41
42 nemacs-gnus3:
43         make -f Makefile.bc all \
44                 EMACS=$(NEMACS) EMACS_TYPE=nemacs GNUS_TYPE=gnus3 \
45                 OPT='-l $(TLSRCDIR)/tl-18.el' \
46                 GNUS=$(EMACS18_GNUS3) NNTP=$(EMACS18_NNTP3) \
47                 TLDIR=$(TLSRCDIR) TMDIR=$(TMSRCDIR)
48
49 nemacs-gnus4:
50         make -f Makefile.bc all \
51                 EMACS=$(NEMACS) EMACS_TYPE=nemacs GNUS_TYPE=gnus4 \
52                 OPT='-l $(TLSRCDIR)/tl-18.el' \
53                 GNUS=$(EMACS18_GNUS4) NNTP=$(EMACS18_NNTP4) \
54                 TLDIR=$(TLSRCDIR) TMDIR=$(TMSRCDIR)
55
56 mule1:          mule1-$(EMACS18_GNUS)
57
58 mule1-gnus3:
59         make -f Makefile.bc all \
60                 EMACS=$(MULE1) EMACS_TYPE=mule GNUS_TYPE=gnus3 \
61                 OPT='-l $(TLSRCDIR)/tl-18.el' \
62                 GNUS=$(EMACS18_GNUS3) NNTP=$(EMACS18_NNTP3) \
63                 TLDIR=$(TLSRCDIR) TMDIR=$(TMSRCDIR)
64
65 mule1-gnus4:
66         make -f Makefile.bc all \
67                 EMACS=$(MULE1) EMACS_TYPE=mule GNUS_TYPE=gnus4 \
68                 OPT='-l $(TLSRCDIR)/tl-18.el' \
69                 GNUS=$(EMACS18_GNUS4) NNTP=$(EMACS18_NNTP4) \
70                 TLDIR=$(TLSRCDIR) TMDIR=$(TMSRCDIR)
71
72 install-18:
73         -chmod +w $(TMDIR18)/tm-gnus*.el
74         cp -p tm-gnus*.el $(TMDIR18)
75         mv tm-gnus*.elc $(TMDIR18)
76
77
78 orig19:
79         make -f Makefile.bc all \
80                 EMACS=$(ORIG19) EMACS_TYPE=orig GNUS_TYPE=gnus4 \
81                 GNUS=$(EMACS19_GNUS) NNTP=$(EMACS19_NNTP) \
82                 TLDIR=$(TLSRCDIR) TMDIR=$(TMSRCDIR)
83
84 mule2:
85         make -f Makefile.bc all \
86                 EMACS=$(MULE2) EMACS_TYPE=mule GNUS_TYPE=gnus4 \
87                 GNUS=$(EMACS19_GNUS) NNTP=$(EMACS19_NNTP) \
88                 TLDIR=$(TLSRCDIR) TMDIR=$(TMSRCDIR)
89
90 install-19:
91         -(cd $(TMDIR19); chmod +w tm-gnus.el tm-gnus4.el)
92         cp -p tm-gnus.el tm-gnus4.el $(TMDIR19)
93         mv tm-gnus*.elc $(TMDIR19)
94
95
96 clean:
97         -rm *.elc