annotate lisp/ilisp/ilisp-mak.el @ 64:a01e7a40045c r19-16-pre7

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