r2284: Autocommit for make-debian
[clsql.git] / clsql.system
index f361df9e2860fa5571176555e9a8398aaf6fa155..2101f3cde6cc842a372c552f31e7844187d92d3f 100644 (file)
@@ -7,7 +7,7 @@
 ;;;; Programmer:    Kevin M. Rosenberg
 ;;;; Date Started:  Feb 2002
 ;;;;
-;;;; $Id: clsql.system,v 1.1 2002/03/23 14:04:49 kevin Exp $
+;;;; $Id: clsql.system,v 1.18 2002/08/01 03:06:26 kevin Exp $
 ;;;;
 ;;;; This file, part of CLSQL, is Copyright (c) 2002 by Kevin M. Rosenberg
 ;;;;
 ;;;; *************************************************************************
 
 (declaim (optimize (debug 3) (speed 3) (safety 1) (compilation-speed 0)))
-(in-package :cl-user)
+(in-package :make)
 
-(load (make-pathname :name "set-logical" :type "cl"
-                    :defaults *load-truename*))
-(set-logical-host-for-pathname "CLSQL" *load-truename*)
+;; 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)))
 
 ;;; System definitions
 
-(mk:defsystem :cmucl-compat
-    :source-pathname "CLSQL:cmucl-compat;"
+(defsystem :clsql
+    :source-pathname "cl-library:clsql;"
     :source-extension "cl"
-    :binary-pathname "CLSQL:cmucl-compat;bin;"
-    :components ((:file "cmucl-compat")
-                (:file "loop-extension")))
-
-(mk:defsystem :clsql
-    :source-pathname "CLSQL:sql;"
-    :source-extension "cl"
-    :binary-pathname "CLSQL:sql;bin;"
     :components ((:file "package")
-                (:file "sql" :depends-on ("package"))
-                (:file "functional" :depends-on ("sql")))
-    :depends-on (:cmucl-compat)
+                (:file "pool" :depends-on ("package"))
+                (:file "loop-extension")
+                (:file "sql" :depends-on ("pool"))
+                (:file "transactions" :depends-on ("sql"))
+                (:file "functional" :depends-on ("sql"))
+                (:file "usql" :depends-on ("sql")))
+    :depends-on (:clsql-base)
     :finally-do
     (pushnew :clsql cl:*features*)
     )