;;; -*- Mode: LISP; Syntax: Common-Lisp; Package: USER; Base: 10 -*- ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;; The Garnet User Interface Development Environment ;;; Copyright (c) 1989, 1990 Carnegie Mellon University ;;; All rights reserved. The CMU software License Agreement specifies ;;; the terms and conditions for use and redistribution. ;;; ;;; If you want to use this code or anything developed as part of the ;;; Garnet project, please contact Brad Myers (Brad.Myers@CS.CMU.EDU). ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;; ;;; This file compiles all the garnet modules. ;;; First load the file: garnet-prepare-compile ;;; Then load garnet-loader ;;; Then load this file: garnet-compiler ;;; ;;; ** See the comments at the top of garnet-prepare-compile ;;; ;;; #| ============================================================ Change log: 03/11/91 Andrew Mickish - Added aggregraphs 12/5/89 Brad Myers - Fixed so works when files are in /src directories 10/30/89 Brad Myers - Added debug, changed names 8/18/89 Brad Myers - Added Gadgets 6/21/89 Brad Myers - Created ============================================================ |# (in-package "USER" :use '("LISP")) (unless (and (boundp 'load-kr-p-copy) (boundp 'Garnet-KR-Src) (boundp 'load-opal-p-copy) (boundp 'Garnet-Opal-Src) (boundp 'load-inter-p-copy) (boundp 'Garnet-Inter-Src) (boundp 'load-aggregadgets-p-copy) (boundp 'Garnet-Aggregadgets-Src) (boundp 'load-aggregraphs-p-copy) (boundp 'load-gadgets-p-copy) (boundp 'Garnet-Gadgets-Src) (boundp 'load-debug-p-copy) (boundp 'Garnet-Debug-Src) (boundp 'load-demos-p-copy) (boundp 'Garnet-Demos-Src) (boundp 'load-lapidary-p-copy) (boundp 'Garnet-Lapidary-Src) (boundp 'load-gilt-p-copy) (boundp 'Garnet-Gilt-Src) ) (error "** Must load Garnet-Prepare-Compile and Garnet-Loader before loading this file")) (when compile-kr-p (format T "~% %%%%%%%%%%%%%% Compiling KR %%%%%%%%%%%%%%% ~%") (load (merge-pathnames "kr-compiler" #+cmu "kr-src:" #+(not cmu) Garnet-KR-Src ) )) (unless compile-kr-p (load Garnet-KR-Loader)) (when compile-opal-p (format T "~% %%%%%%%%%%%%%% Compiling Opal %%%%%%%%%%%%%%% ~%") (load (merge-pathnames "opal-compiler" #+cmu "opal-src:" #+(not cmu) Garnet-OPAL-Src ) )) (unless compile-opal-p (load Garnet-Opal-Loader)) (when compile-inter-p (format T "~% %%%%%%%%%%%%%% Compiling Inter %%%%%%%%%%%%%%% ~%") (load (merge-pathnames "inter-compiler" #+cmu "inter-src:" #+(not cmu) Garnet-Inter-Src ) )) (unless compile-inter-p (load Garnet-Inter-Loader)) ; have to load this to go on (when compile-aggregadgets-p (format T "~% %%%%%%%%%%%%%% Compiling Aggregadgets %%%%%%%%%%%%%%% ~%") (load (merge-pathnames "aggregadgets-compiler" #+cmu "aggregadgets-src:" #+(not cmu) Garnet-Aggregadgets-Src ) )) (when (or load-aggregadgets-p-copy compile-demos-p compile-lapidary-p compile-gadgets-p) (unless compile-aggregadgets-p (load Garnet-Aggregadgets-Loader))) ;need this if compile demos, gadgets or ; lapidary or gadgets (when compile-gadgets-p (format T "~% %%%%%%%%%%%%%% Compiling Gadgets %%%%%%%%%%%%%%% ~%") (load (merge-pathnames "gadgets-compiler" #+cmu "gadgets-src:" #+(not cmu) Garnet-Gadgets-Src ) )) (when (or load-gadgets-p-copy compile-demos-p compile-lapidary-p) (unless compile-gadgets-p (load Garnet-Gadgets-Loader))) (when compile-debug-p (format T "~% %%%%%%%%%%%%%% Compiling Debugging Routines %%%%%%%%%%%%% ~%") (load (merge-pathnames "debug-compiler" #+cmu "debug-src:" #+(not cmu) Garnet-Debug-Src ) )) (when load-debug-p-copy (unless compile-debug-p (load Garnet-Debug-Loader))) (when compile-demos-p (format T "~% %%%%%%%%%%%%%% Compiling Demos %%%%%%%%%%%%%%% ~%") (load (merge-pathnames "demos-compiler" #+cmu "demos-src:" #+(not cmu) Garnet-Demos-Src ) )) (when load-demos-p-copy (unless compile-demos-p (load Garnet-Demos-Loader))) (when compile-lapidary-p (format T "~% %%%%%%%%%%%%%% Compiling Lapidary %%%%%%%%%%%%%%% ~%") (load (merge-pathnames "lapidary-compiler" #+cmu "lapidary-src:" #+(not cmu) Garnet-Lapidary-Src ) )) (when load-lapidary-p-copy (unless compile-lapidary-p (load Garnet-Lapidary-Loader))) (when compile-gilt-p (format T "~% %%%%%%%%%%%%%% Compiling Gilt %%%%%%%%%%%%%%% ~%") (load (merge-pathnames "gilt-compiler" #+cmu "gilt-src:" #+(not cmu) Garnet-Gilt-Src ) )) (when load-gilt-p-copy (unless compile-gilt-p (load Garnet-Gilt-Loader))) (setf *Garnet-Going-To-Compile* NIL) ; no longer in compile mode.