0
|
1 ;;; -*- Mode: Emacs-Lisp -*-
|
|
2
|
|
3 ;;; ilisp-mak.el --
|
|
4
|
|
5 ;;; This file is part of ILISP.
|
4
|
6 ;;; Version: 5.8
|
0
|
7 ;;;
|
|
8 ;;; Copyright (C) 1990, 1991, 1992, 1993 Chris McConnell
|
|
9 ;;; 1993, 1994 Ivan Vasquez
|
4
|
10 ;;; 1994, 1995, 1996 Marco Antoniotti and Rick Busdiecker
|
|
11 ;;; 1996 Marco Antoniotti and Rick Campbell
|
0
|
12 ;;;
|
|
13 ;;; Other authors' names for which this Copyright notice also holds
|
|
14 ;;; may appear later in this file.
|
|
15 ;;;
|
4
|
16 ;;; Send mail to 'ilisp-request@naggum.no' to be included in the
|
|
17 ;;; ILISP mailing list. 'ilisp@naggum.no' is the general ILISP
|
0
|
18 ;;; mailing list were bugs and improvements are discussed.
|
|
19 ;;;
|
|
20 ;;; ILISP is freely redistributable under the terms found in the file
|
|
21 ;;; COPYING.
|
|
22
|
|
23
|
|
24
|
|
25 ;;;
|
|
26 ;;; This file is used by make to compile ilisp.
|
|
27 ;;;
|
|
28 ;;; Note: 11/23/94 Marco Antoniotti. Actually I believe that this
|
|
29 ;;; should be removed or redone.
|
|
30
|
|
31 (message "ILISP Compilation: starting.")
|
|
32
|
4
|
33 ;;(require 'byte-compile)
|
0
|
34
|
|
35 (if (not (file-exists-p "ilcompat.el"))
|
|
36 (error "ILISP Compilation: compatibility file 'ilcompat.el' non existent.")
|
|
37 (progn
|
|
38 (setq load-path (cons "." load-path))
|
|
39
|
|
40 (load "ilcompat.el") ; Need to load this beforehand
|
|
41 ; to use the +ilisp-emacs-version-id+
|
|
42 ; constant.
|
|
43
|
|
44 (message ";;; Emacs Version %s" +ilisp-emacs-version-id+)
|
|
45
|
|
46 (if (eq +ilisp-emacs-version-id+ 'fsf-18)
|
|
47 (load "comint-v18")
|
|
48 (load "comint"))
|
|
49
|
|
50
|
|
51 ;; Try to generate bytecodes for emacs 19.
|
4
|
52 ;; I am no expert on the Byte Compiler. Anyone who is please send
|
0
|
53 ;; me mail.
|
4
|
54 ;; Marco Antoniotti <marcoxa@icsi.berkeley.edu>
|
0
|
55
|
|
56 (if (eq +ilisp-emacs-version-id+ 'fsf-18)
|
|
57 (setq byte-compile-emacs18-compatibility t)
|
|
58 (setq byte-compile-generate-emacs19-bytecodes t
|
|
59 byte-compile-warnings '(redefine callargs unresolved)))
|
|
60
|
|
61 ;; Compile compatibility files
|
|
62 (progn
|
|
63 (cond ((or (eq +ilisp-emacs-version-id+ 'lucid-19)
|
|
64 (eq +ilisp-emacs-version-id+ 'lucid-19-new)
|
|
65 (eq +ilisp-emacs-version-id+ 'xemacs))
|
|
66 (byte-compile "illuc19.el") ; Note that in current version
|
|
67 ; of ILISP illuc19 and
|
|
68 ; ilxemacs are linked
|
|
69 )
|
|
70 ((eq +ilisp-emacs-version-id+ 'fsf-19)
|
|
71 (byte-compile "ilfsf19.el"))
|
|
72 ((eq +ilisp-emacs-version-id+ 'fsf-18)
|
|
73 (byte-compile "ilfsf18.el"))
|
|
74 (t (error "ILISP Compilation: unrecogninized Emacs version %s"
|
|
75 +ilisp-emacs-version-id+)))
|
|
76 (byte-compile "ilcompat.el"))
|
|
77
|
|
78 ;; Other files in the distribution.
|
|
79
|
|
80 (let ((files '(completer
|
|
81 comint-ipc
|
|
82 bridge
|
|
83 ilisp-def
|
|
84 ilisp-el
|
|
85 ilisp-sym
|
|
86 ilisp-inp
|
|
87 ilisp-ind
|
|
88
|
|
89 ilisp-prc
|
|
90 ilisp-val
|
|
91 ilisp-out
|
|
92 ilisp-mov
|
|
93 ilisp-key
|
|
94 ilisp-prn
|
|
95 ilisp-low
|
|
96 ilisp-doc
|
|
97 ilisp-ext
|
|
98 ilisp-mod
|
|
99 ilisp-dia
|
|
100 ilisp-cmt
|
|
101 ilisp-rng
|
|
102 ilisp-hnd
|
|
103 ilisp-utl
|
|
104 ilisp-cmp
|
|
105 ilisp-kil
|
|
106 ilisp-snd
|
|
107 ilisp-xfr
|
|
108 ilisp-hi
|
|
109 ilisp-aut
|
|
110
|
|
111 ;; Dialects.
|
|
112 ilisp-cl
|
|
113 ilisp-cmu
|
|
114 ilisp-acl
|
|
115 ilisp-kcl
|
|
116 ilisp-hlw
|
|
117 ilisp-luc
|
4
|
118 ilisp-xls
|
0
|
119 ilisp-sch
|
|
120 )))
|
|
121 (while files
|
4
|
122 (byte-compile-file (format "%s.el" (car files)) 0)
|
0
|
123 (load (format "%s" (car files)))
|
|
124 (setq files (cdr files))))
|
|
125
|
|
126 (message "Done")))
|
|
127
|
|
128 ;;; end of file -- ilisp-mak.el --
|
|
129
|