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