X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=clsql-base.asd;h=84d3a66935e76b09160d5574f779e2837bb26cbb;hb=ff1f136e9e966a5dace14a1af628cab14f898808;hp=cae66ee4bd21b16035c59f508d305ceaf966411c;hpb=9f6b242d508ed11519a1e48f360bc59842e39112;p=clsql.git diff --git a/clsql-base.asd b/clsql-base.asd index cae66ee..84d3a66 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.8 2002/09/06 10:56:13 kevin Exp $ ;;;; ;;;; This file, part of CLSQL, is Copyright (c) 2002 by Kevin M. Rosenberg ;;;; @@ -31,21 +31,13 @@ :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") @@ -56,3 +48,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") +