;;;; Programmer: Kevin M. Rosenberg
;;;; Date Started: Aug 2002
;;;;
-;;;; $Id: uffi.asd,v 1.5 2002/08/23 19:29:06 kevin Exp $
+;;;; $Id: uffi.asd,v 1.8 2002/09/06 11:00:49 kevin Exp $
;;;;
;;;; This file, part of UFFI, is Copyright (c) 2002 by Kevin M. Rosenberg
;;;;
:device (pathname-device *load-truename*)
:directory (pathname-directory *load-truename*)))))
-(defconstant +uffi-logical-host+
- #+common-lisp-controller "cl-library"
- #-common-lisp-controller "uffi"
- "Logical hostname for loading system")
-
-(defclass uffi-cl-source-file (cl-source-file) ())
-(defmethod source-file-type ((c uffi-cl-source-file) (s module))
- "cl")
+(eval-when (:compile-toplevel :load-toplevel :execute)
+ (defconstant +uffi-logical-host+
+ #+common-lisp-controller "cl-library"
+ #-common-lisp-controller "uffi"
+ "Logical hostname for loading system"))
(defsystem uffi
:name "cl-uffi"
:default-component-class uffi-cl-source-file
:pathname
#-mcl #.(format nil "~A:uffi;" +uffi-logical-host+)
- #+mcl #.(format nil "~A:uffi;mcl;" +uffi-logical-host+)
+ #+mcl #.(format nil "~A:uffi;mcl;" +uffi-logical-host+)
:perform (load-op :after (op uffi)
(pushnew :uffi cl:*features*))
:components
(:file "libraries" :depends-on ("package")))
)
+
+(defmethod source-file-type ((c cl-source-file) (s (eql (find-system 'uffi))))
+ "cl")
+