;;;; Programmer: Kevin M. Rosenberg
;;;; Date Started: Feb 2002
;;;;
-;;;; $Id: clsql-base.asd,v 1.4 2002/08/23 19:39:56 kevin Exp $
+;;;; $Id: clsql-base.asd,v 1.8 2002/09/06 10:56:13 kevin Exp $
;;;;
;;;; This file, part of CLSQL, is Copyright (c) 2002 by Kevin M. Rosenberg
;;;;
:device (pathname-device *load-truename*)
:directory (pathname-directory *load-truename*)))))
-(defconstant +clsql-logical-host+
- #+common-lisp-controller "cl-library"
- #-common-lisp-controller "clsql"
- "Logical hostname for loading system")
-
-(unless (ignore-errors (find-class 'clsql-cl-source-file))
- (defclass clsql-cl-source-file (cl-source-file) ())
- (defmethod source-file-type ((c clsql-cl-source-file) (s module))
- "cl"))
;;; System definitions
(defsystem clsql-base
- :default-component-class clsql-cl-source-file
- :pathname #.(format nil "~A:clsql-base;" +clsql-logical-host+)
+ :pathname #.(format nil "~A:clsql-base;"
+ #+common-lisp-controller "cl-library"
+ #-common-lisp-controller "clsql")
:perform (load-op :after (op clsql-base)
(pushnew :clsql-base cl:*features*))
:components ((:file "cmucl-compat")
(:file "db-interface" :depends-on ("conditions"))
(:file "initialize" :depends-on ("db-interface")))
)
+
+(defmethod source-file-type ((c cl-source-file)
+ (s (eql (find-system 'clsql-base))))
+ "cl")
+