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
|
169
|
17 # Updated for XEmacs autoloads builds, but unused at present since no
|
|
18 # autoloads are generated, and this package hasn't been customized.
|
|
19
|
4
|
20 #==============================================================================
|
0
|
21 # Various Variables
|
|
22
|
4
|
23 Version = 5.8
|
0
|
24
|
4
|
25 # Use whichever you like most
|
|
26 #EMACS = xemacs
|
|
27 #EMACS = /usr/local/bin/emacs
|
|
28 EMACS = emacs
|
|
29
|
|
30 # The SHELL variable is used only for making the distribution.
|
195
|
31 #SHELL = /bin/csh
|
|
32 # Tsk, tsk, Though shalt not use csh in distributed scripts.
|
|
33 SHELL = /bin/sh
|
0
|
34
|
4
|
35 # These are used mostly for packaging the distribution
|
|
36 Ilisp_src_dir = $(shell pwd)
|
|
37 Ilisp_tar_dir = ilisp-$(Version)
|
0
|
38
|
4
|
39 OtherFiles = README \
|
|
40 HISTORY \
|
|
41 Makefile \
|
|
42 ilisp.emacs \
|
|
43 INSTALLATION \
|
|
44 COPYING \
|
|
45 GETTING-ILISP \
|
|
46 Welcome
|
0
|
47
|
4
|
48 DocFiles = ilisp.texi
|
|
49
|
|
50 LoadFiles = ilisp-def.elc ilisp-el.elc ilisp-sym.elc \
|
0
|
51 ilisp-inp.elc ilisp-ind.elc ilisp-prc.elc ilisp-val.elc ilisp-out.elc \
|
|
52 ilisp-mov.elc ilisp-key.elc ilisp-prn.elc ilisp-low.elc ilisp-doc.elc \
|
|
53 ilisp-ext.elc ilisp-mod.elc ilisp-dia.elc ilisp-cmt.elc ilisp-rng.elc \
|
|
54 ilisp-hnd.elc ilisp-utl.elc ilisp-cmp.elc ilisp-kil.elc ilisp-snd.elc \
|
|
55 ilisp-xfr.elc ilisp-hi.elc ilisp-aut.elc ilisp-cl.elc ilisp-cmu.elc \
|
4
|
56 ilisp-acl.elc ilisp-kcl.elc ilisp-luc.elc ilisp-sch.elc ilisp-hlw.elc \
|
|
57 ilisp-xls.elc
|
0
|
58
|
|
59
|
4
|
60 #==============================================================================
|
0
|
61 # Rules
|
|
62
|
|
63 compile:
|
|
64 $(EMACS) -batch -l ilisp-mak.el
|
|
65
|
169
|
66 elc: $(LoadFiles) $(XEmacsELC)
|
78
|
67
|
|
68 $(LoadFiles) :
|
|
69 $(EMACS) -batch -l ilisp-mak.el
|
|
70
|
0
|
71 tags:
|
|
72 etags *.el
|
|
73
|
|
74 clean:
|
|
75 $(RM) *.elc
|
|
76
|
|
77 loadfile:
|
|
78 touch ilisp-all.elc
|
|
79 cat $(LoadFiles) > ilisp-all.elc
|
|
80 rm $(LoadFiles)
|
|
81 # Note that the redirection is done by a Bourne Shell.
|
|
82
|
4
|
83 compress:
|
|
84 gzip *.el $(OtherFiles) $(DocFiles)
|
|
85
|
|
86 #==============================================================================
|
|
87 # The following targets are used only to create a distribution file.
|
|
88
|
|
89 dist: tarring dist_compressing
|
|
90
|
|
91 tarring:
|
|
92 (cd $(Ilisp_src_dir)/..; \
|
|
93 if ( $(notdir $(Ilisp_src_dir)) != $(Ilisp_tar_dir) ) \
|
|
94 ln -s $(notdir $(Ilisp_src_dir)) $(Ilisp_tar_dir) ; \
|
|
95 tar cvf $(Ilisp_tar_dir).tar \
|
|
96 $(patsubst %,$(Ilisp_tar_dir)/%,$(OtherFiles)) \
|
|
97 $(Ilisp_tar_dir)/*.el \
|
|
98 $(Ilisp_tar_dir)/*.lisp \
|
|
99 $(patsubst %,$(Ilisp_tar_dir)/%,$(DocFiles)) \
|
|
100 $(Ilisp_tar_dir)/*.mail)
|
|
101
|
|
102 dist_compressing:
|
|
103 (cd $(Ilisp_src_dir)/.. ; gzip $(Ilisp_tar_dir).tar)
|
|
104
|
|
105 uuencoding: ../$(Ilisp_tar_dir).tar.gz
|
|
106 (cd $(Ilisp_src_dir)/.. ; \
|
|
107 uuencode $(Ilisp_tar_dir).tar.gz $(Ilisp_tar_dir).tar.gz > il.uue)
|
|
108
|
169
|
109 #autoloads: auto-autoloads.el
|
|
110
|
|
111 #custom-load.elc: custom-load.el
|
|
112 # $(EMACS) -batch -q -no-site-file -f batch-byte-compile $?
|
|
113
|
|
114 #auto-autoloads.el: $(LoadFiles:.elc=.el)
|
|
115 # $(EMACS) -batch -q -no-site-file \
|
|
116 # -eval '(setq autoload-target-directory "'`pwd`'/")' \
|
|
117 # -l autoload \
|
|
118 # -f batch-update-autoloads $?
|
4
|
119
|
0
|
120 # end of file -- Makefile --
|