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