annotate lisp/ilisp/ilisp-mak.el @ 0:376386a54a3c r19-14

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