Skip to content

Commit

Permalink
Initial revision
Browse files Browse the repository at this point in the history
darcs-hash:20010128110646-2591e-dc87af2487199603ef7f09e420f3677cdcc89040.gz
  • Loading branch information
dan committed Jan 28, 2001
1 parent 9c48dcd commit 608e927
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions build-clx.lisp
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
;;; -*- Mode: Lisp; Package: Xlib; Log: clx.log -*-

;;; Load this file if you want to compile CLX in its entirety.
(proclaim '(optimize (speed 3) (safety 1) (space 1)
(compilation-speed 0)))


;;; Hide CLOS from CLX, so objects stay implemented as structures.
;;;
#||
(when (find-package "CLOS")
(rename-package (find-package "CLOS") "NO-CLOS-HERE"))
(when (find-package "PCL")
(rename-package (find-package "PCL") "NO-PCL-HERE"))
(when (find-package "SB-PCL")
(rename-package (find-package "SB-PCL") "NO-SB-PCL-HERE"))
||#

(when (find-package "XLIB")
(delete-package "XLIB"))

(unless (find-package "XLIB")
(make-package "XLIB" :use '("COMMON-LISP")))

#-sbcl
(compile-file "clx:defsystem.lisp" :error-file nil :load t)

#+sbcl
(progn (compile-file "clx:defsystem.lisp")
(load "clx:defsystem"))

(with-compilation-unit ()
(#+cmu xlib:compile-clx #-cmu compile-clx (pathname "CLX:")))

0 comments on commit 608e927

Please sign in to comment.