X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=clsql-base.asd;h=e304a0f96ee5ea819d1a52a5e609f4214a4e0e49;hb=1be7d8c85a999bfa474c90bef8d978085c12460e;hp=cae66ee4bd21b16035c59f508d305ceaf966411c;hpb=9f6b242d508ed11519a1e48f360bc59842e39112;p=clsql.git diff --git a/clsql-base.asd b/clsql-base.asd index cae66ee..e304a0f 100644 --- a/clsql-base.asd +++ b/clsql-base.asd @@ -7,7 +7,7 @@ ;;;; 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.7 2002/09/06 10:31:51 kevin Exp $ ;;;; ;;;; This file, part of CLSQL, is Copyright (c) 2002 by Kevin M. Rosenberg ;;;; @@ -31,20 +31,15 @@ :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")) +(eval-when (:compile-toplevel :load-toplevel :execute) + (defconstant +clsql-logical-host+ + #+common-lisp-controller "cl-library" + #-common-lisp-controller "clsql" + "Logical hostname for loading system")) ;;; System definitions (defsystem clsql-base - :default-component-class clsql-cl-source-file :pathname #.(format nil "~A:clsql-base;" +clsql-logical-host+) :perform (load-op :after (op clsql-base) (pushnew :clsql-base cl:*features*)) @@ -56,3 +51,8 @@ (: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") +