1 ;;; -*- Mode: Emacs-Lisp -*-
4 ;;; This file is used by make to compile ILISP.
6 ;;; This file is part of ILISP.
7 ;;; Please refer to the file COPYING for copyrights and licensing
9 ;;; Please refer to the file ACKNOWLEGDEMENTS for an (incomplete) list
10 ;;; of present and past contributors.
12 ;;; $Id: ilisp-mak.el,v 1.7 2002-06-03 23:37:02 wbd Exp $
16 (message "ILISP Compilation: starting.")
18 (if (not (file-exists-p "ilcompat.el"))
19 (error "ILISP Compilation: compatibility file 'ilcompat.el' non existent.")
22 (load "ilcompat.el") ; Need to load this beforehand
23 ; to use the +ilisp-emacs-version-id+
25 (message ";;; Emacs Version %s" +ilisp-emacs-version-id+)
27 (when (eq +ilisp-emacs-version-id+ 'xemacs)
28 (setq load-path (cons "../xemacs-base" load-path)))
30 (if (eq +ilisp-emacs-version-id+ 'fsf-18)
35 ;; Try to generate bytecodes for emacs 19.
36 ;; I am no expert on the Byte Compiler. Anyone who is please send
38 ;; Marco Antoniotti <marcoxa@icsi.berkeley.edu>
40 ;; (if (eq +ilisp-emacs-version-id+ 'fsf-18)
41 ;; (setq byte-compile-emacs18-compatibility t))
44 ;; Compile compatibility files
46 (cond ((or (eq +ilisp-emacs-version-id+ 'lucid-19)
47 (eq +ilisp-emacs-version-id+ 'lucid-19-new))
48 (byte-compile-file "illuc19.el"))
49 ((eq +ilisp-emacs-version-id+ 'xemacs)
50 (byte-compile-file "ilxemacs.el"))
51 ((eq +ilisp-emacs-version-id+ 'fsf-21)
52 (byte-compile-file "ilfsf21.el"))
53 ((eq +ilisp-emacs-version-id+ 'fsf-20)
54 (byte-compile-file "ilfsf20.el"))
55 ((eq +ilisp-emacs-version-id+ 'fsf-19)
56 (byte-compile-file "ilfsf19.el"))
57 ((eq +ilisp-emacs-version-id+ 'fsf-18)
58 (byte-compile-file "ilfsf18.el"))
59 (t (error "ILISP Compilation: unrecognized Emacs version %s"
60 +ilisp-emacs-version-id+)))
61 (byte-compile-file "ilcompat.el")
63 ;; Other files in the distribution.
65 (let ((files '("completer"
68 ;; not integrated yet!
115 "ilisp-scheme-easy-menu"
122 (byte-compile-file (format "%s.el" f) 0))
124 (byte-compile-file "ilisp.el")
125 (message "Done compiling and loading ILISP."))))
127 ;;; end of file -- ilisp-mak.el --