annotate lisp/ilisp/Makefile @ 124:9b50b4588a93 r20-1b15

Import from CVS: tag r20-1b15
author cvs
date Mon, 13 Aug 2007 09:26:39 +0200
parents c7528f8e288d
children 15872534500d
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1 # -*- Mode: Makefile -*-
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3 # Makefile --
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
4 # This file is part of ILISP.
4
b82b59fe008d Import from CVS: tag r19-15b3
cvs
parents: 0
diff changeset
5 # Version: 5.8
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
6 #
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
7 # Copyright (C) 1990, 1991, 1992, 1993 Chris McConnell
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
8 # 1993, 1994 Ivan Vasquez
4
b82b59fe008d Import from CVS: tag r19-15b3
cvs
parents: 0
diff changeset
9 # 1994, 1995, 1996 Marco Antoniotti and Rick Busdiecker
b82b59fe008d Import from CVS: tag r19-15b3
cvs
parents: 0
diff changeset
10 # 1996 Marco Antoniotti and Rick Campbell
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
11 #
4
b82b59fe008d Import from CVS: tag r19-15b3
cvs
parents: 0
diff changeset
12 # Send mail to 'ilisp-request@naggum.no' to be included in the
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
13 # ILISP mailing list.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
14
4
b82b59fe008d Import from CVS: tag r19-15b3
cvs
parents: 0
diff changeset
15 # Note: this makefile assumes GNU make
b82b59fe008d Import from CVS: tag r19-15b3
cvs
parents: 0
diff changeset
16
b82b59fe008d Import from CVS: tag r19-15b3
cvs
parents: 0
diff changeset
17 #==============================================================================
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
18 # Various Variables
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
19
4
b82b59fe008d Import from CVS: tag r19-15b3
cvs
parents: 0
diff changeset
20 Version = 5.8
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
21
4
b82b59fe008d Import from CVS: tag r19-15b3
cvs
parents: 0
diff changeset
22 # Use whichever you like most
b82b59fe008d Import from CVS: tag r19-15b3
cvs
parents: 0
diff changeset
23 #EMACS = xemacs
b82b59fe008d Import from CVS: tag r19-15b3
cvs
parents: 0
diff changeset
24 #EMACS = /usr/local/bin/emacs
b82b59fe008d Import from CVS: tag r19-15b3
cvs
parents: 0
diff changeset
25 EMACS = emacs
b82b59fe008d Import from CVS: tag r19-15b3
cvs
parents: 0
diff changeset
26
b82b59fe008d Import from CVS: tag r19-15b3
cvs
parents: 0
diff changeset
27 # The SHELL variable is used only for making the distribution.
b82b59fe008d Import from CVS: tag r19-15b3
cvs
parents: 0
diff changeset
28 SHELL = /bin/csh
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
29
4
b82b59fe008d Import from CVS: tag r19-15b3
cvs
parents: 0
diff changeset
30 # These are used mostly for packaging the distribution
b82b59fe008d Import from CVS: tag r19-15b3
cvs
parents: 0
diff changeset
31 Ilisp_src_dir = $(shell pwd)
b82b59fe008d Import from CVS: tag r19-15b3
cvs
parents: 0
diff changeset
32 Ilisp_tar_dir = ilisp-$(Version)
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
33
4
b82b59fe008d Import from CVS: tag r19-15b3
cvs
parents: 0
diff changeset
34 OtherFiles = README \
b82b59fe008d Import from CVS: tag r19-15b3
cvs
parents: 0
diff changeset
35 HISTORY \
b82b59fe008d Import from CVS: tag r19-15b3
cvs
parents: 0
diff changeset
36 Makefile \
b82b59fe008d Import from CVS: tag r19-15b3
cvs
parents: 0
diff changeset
37 ilisp.emacs \
b82b59fe008d Import from CVS: tag r19-15b3
cvs
parents: 0
diff changeset
38 INSTALLATION \
b82b59fe008d Import from CVS: tag r19-15b3
cvs
parents: 0
diff changeset
39 COPYING \
b82b59fe008d Import from CVS: tag r19-15b3
cvs
parents: 0
diff changeset
40 GETTING-ILISP \
b82b59fe008d Import from CVS: tag r19-15b3
cvs
parents: 0
diff changeset
41 Welcome
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
42
4
b82b59fe008d Import from CVS: tag r19-15b3
cvs
parents: 0
diff changeset
43 DocFiles = ilisp.texi
b82b59fe008d Import from CVS: tag r19-15b3
cvs
parents: 0
diff changeset
44
b82b59fe008d Import from CVS: tag r19-15b3
cvs
parents: 0
diff changeset
45 LoadFiles = ilisp-def.elc ilisp-el.elc ilisp-sym.elc \
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
46 ilisp-inp.elc ilisp-ind.elc ilisp-prc.elc ilisp-val.elc ilisp-out.elc \
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
47 ilisp-mov.elc ilisp-key.elc ilisp-prn.elc ilisp-low.elc ilisp-doc.elc \
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
48 ilisp-ext.elc ilisp-mod.elc ilisp-dia.elc ilisp-cmt.elc ilisp-rng.elc \
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
49 ilisp-hnd.elc ilisp-utl.elc ilisp-cmp.elc ilisp-kil.elc ilisp-snd.elc \
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
50 ilisp-xfr.elc ilisp-hi.elc ilisp-aut.elc ilisp-cl.elc ilisp-cmu.elc \
4
b82b59fe008d Import from CVS: tag r19-15b3
cvs
parents: 0
diff changeset
51 ilisp-acl.elc ilisp-kcl.elc ilisp-luc.elc ilisp-sch.elc ilisp-hlw.elc \
b82b59fe008d Import from CVS: tag r19-15b3
cvs
parents: 0
diff changeset
52 ilisp-xls.elc
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
53
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
54
4
b82b59fe008d Import from CVS: tag r19-15b3
cvs
parents: 0
diff changeset
55 #==============================================================================
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
56 # Rules
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
57
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
58 compile:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
59 $(EMACS) -batch -l ilisp-mak.el
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
60
78
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents: 70
diff changeset
61 elc: $(LoadFiles)
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents: 70
diff changeset
62
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents: 70
diff changeset
63 $(LoadFiles) :
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents: 70
diff changeset
64 $(EMACS) -batch -l ilisp-mak.el
c7528f8e288d Import from CVS: tag r20-0b34
cvs
parents: 70
diff changeset
65
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
66 tags:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
67 etags *.el
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
68
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
69 clean:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
70 $(RM) *.elc
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
71
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
72 loadfile:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
73 touch ilisp-all.elc
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
74 cat $(LoadFiles) > ilisp-all.elc
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
75 rm $(LoadFiles)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
76 # Note that the redirection is done by a Bourne Shell.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
77
4
b82b59fe008d Import from CVS: tag r19-15b3
cvs
parents: 0
diff changeset
78 compress:
b82b59fe008d Import from CVS: tag r19-15b3
cvs
parents: 0
diff changeset
79 gzip *.el $(OtherFiles) $(DocFiles)
b82b59fe008d Import from CVS: tag r19-15b3
cvs
parents: 0
diff changeset
80
b82b59fe008d Import from CVS: tag r19-15b3
cvs
parents: 0
diff changeset
81 #==============================================================================
b82b59fe008d Import from CVS: tag r19-15b3
cvs
parents: 0
diff changeset
82 # The following targets are used only to create a distribution file.
b82b59fe008d Import from CVS: tag r19-15b3
cvs
parents: 0
diff changeset
83
b82b59fe008d Import from CVS: tag r19-15b3
cvs
parents: 0
diff changeset
84 dist: tarring dist_compressing
b82b59fe008d Import from CVS: tag r19-15b3
cvs
parents: 0
diff changeset
85
b82b59fe008d Import from CVS: tag r19-15b3
cvs
parents: 0
diff changeset
86 tarring:
b82b59fe008d Import from CVS: tag r19-15b3
cvs
parents: 0
diff changeset
87 (cd $(Ilisp_src_dir)/..; \
b82b59fe008d Import from CVS: tag r19-15b3
cvs
parents: 0
diff changeset
88 if ( $(notdir $(Ilisp_src_dir)) != $(Ilisp_tar_dir) ) \
b82b59fe008d Import from CVS: tag r19-15b3
cvs
parents: 0
diff changeset
89 ln -s $(notdir $(Ilisp_src_dir)) $(Ilisp_tar_dir) ; \
b82b59fe008d Import from CVS: tag r19-15b3
cvs
parents: 0
diff changeset
90 tar cvf $(Ilisp_tar_dir).tar \
b82b59fe008d Import from CVS: tag r19-15b3
cvs
parents: 0
diff changeset
91 $(patsubst %,$(Ilisp_tar_dir)/%,$(OtherFiles)) \
b82b59fe008d Import from CVS: tag r19-15b3
cvs
parents: 0
diff changeset
92 $(Ilisp_tar_dir)/*.el \
b82b59fe008d Import from CVS: tag r19-15b3
cvs
parents: 0
diff changeset
93 $(Ilisp_tar_dir)/*.lisp \
b82b59fe008d Import from CVS: tag r19-15b3
cvs
parents: 0
diff changeset
94 $(patsubst %,$(Ilisp_tar_dir)/%,$(DocFiles)) \
b82b59fe008d Import from CVS: tag r19-15b3
cvs
parents: 0
diff changeset
95 $(Ilisp_tar_dir)/*.mail)
b82b59fe008d Import from CVS: tag r19-15b3
cvs
parents: 0
diff changeset
96
b82b59fe008d Import from CVS: tag r19-15b3
cvs
parents: 0
diff changeset
97 dist_compressing:
b82b59fe008d Import from CVS: tag r19-15b3
cvs
parents: 0
diff changeset
98 (cd $(Ilisp_src_dir)/.. ; gzip $(Ilisp_tar_dir).tar)
b82b59fe008d Import from CVS: tag r19-15b3
cvs
parents: 0
diff changeset
99
b82b59fe008d Import from CVS: tag r19-15b3
cvs
parents: 0
diff changeset
100 uuencoding: ../$(Ilisp_tar_dir).tar.gz
b82b59fe008d Import from CVS: tag r19-15b3
cvs
parents: 0
diff changeset
101 (cd $(Ilisp_src_dir)/.. ; \
b82b59fe008d Import from CVS: tag r19-15b3
cvs
parents: 0
diff changeset
102 uuencode $(Ilisp_tar_dir).tar.gz $(Ilisp_tar_dir).tar.gz > il.uue)
b82b59fe008d Import from CVS: tag r19-15b3
cvs
parents: 0
diff changeset
103
b82b59fe008d Import from CVS: tag r19-15b3
cvs
parents: 0
diff changeset
104
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
105 # end of file -- Makefile --