X-Git-Url: http://git.kpe.io/?p=clsql.git;a=blobdiff_plain;f=clsql-base.asd;h=5ca88a081ed5bfa1c5670197077f6bae4548a4d2;hp=f17a1690a533636dde75b617861206b3823dd013;hb=33dcd7b49025344bd4c9827d1cd2b6e6857a0c03;hpb=7bc4dfb23f87f18f34b32db380d4aec42e535a61 diff --git a/clsql-base.asd b/clsql-base.asd index f17a169..5ca88a0 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.3 2002/08/18 04:39:59 kevin Exp $ +;;;; $Id: clsql-base.asd,v 1.17 2002/10/16 11:51:04 kevin Exp $ ;;;; ;;;; This file, part of CLSQL, is Copyright (c) 2002 by Kevin M. Rosenberg ;;;; @@ -16,32 +16,32 @@ ;;;; (http://opensource.franz.com/preamble.html), also known as the LLGPL. ;;;; ************************************************************************* -(declaim (optimize (debug 3) (speed 3) (safety 1) (compilation-speed 0))) (in-package :asdf) -;; For use with non-Debian installations -(let ((helper-pathname (make-pathname :name "set-cl-library" :type "cl" - :defaults *load-truename*))) - (when (probe-file helper-pathname) - (load helper-pathname))) +#+(or allegro lispworks cmu sbcl openmcl mcl scl) +(defsystem :clsql-base + :name "cl-sql-base" + :author "Kevin M. Rosenberg " + :version "0.9.2" + :maintainer "Kevin M. Rosenberg " + :licence "Lessor Lisp General Public License" + :description "Common Lisp SQL Base Package" + :long-description "cl-sql-base package provides the low-level interface for the database drivers." -(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 "cl-library:clsql-base;" :perform (load-op :after (op clsql-base) - (pushnew :clsql cl:*features*)) - :components ((:file "cmucl-compat") - (:file "package") - (:file "utils" :depends-on ("package")) - (:file "classes" :depends-on ("package")) - (:file "conditions" :depends-on ("classes")) - (:file "db-interface" :depends-on ("conditions")) - (:file "initialize" :depends-on ("db-interface"))) - ) + (pushnew :clsql-base cl:*features*)) + :components + ((:module :base + :components + ((:file "cmucl-compat") + (:file "package") + (:file "utils" :depends-on ("package")) + (:file "classes" :depends-on ("package")) + (:file "conditions" :depends-on ("classes")) + (:file "db-interface" :depends-on ("conditions")) + (:file "initialize" :depends-on ("db-interface")))))) + +#+(or allegro lispworks cmu sbcl openmcl mcl scl) +(when (ignore-errors (find-class 'load-compiled-op)) + (defmethod perform :after ((op load-compiled-op) (c (eql (find-system :clsql-base)))) + (pushnew :clsql-base cl:*features*)))