;;;; FILE IDENTIFICATION
;;;;
;;;; Name: clsql.asd
-;;;; Purpose: System definition for CLSQL-CLASSIC
+;;;; Purpose: ASDF System definition for CLSQL
;;;; Authors: Marcus Pearce and Kevin M. Rosenberg
;;;; Created: March 2004
;;;;
-;;;; $Id$
-;;;;
;;;; CLSQL users are granted the rights to distribute and use this software
;;;; as governed by the terms of the Lisp Lesser GNU Public License
;;;; (http://opensource.franz.com/preamble.html), also known as the LLGPL.
(defpackage #:clsql-system (:use #:asdf #:cl))
(in-package #:clsql-system)
-#+clisp
-(progn
- (asdf:operate 'asdf:load-op 'cffi)
- (asdf:operate 'asdf:load-op 'cffi-uffi-compat)
- (asdf:defsystem uffi :depends-on (cffi-uffi-compat)))
+#+(and clisp (not :clsql-cffi))
+(asdf:operate 'asdf:load-op 'clsql-cffi)
;; need to load uffi for below perform :after method
(eval-when (:compile-toplevel :load-toplevel :execute)
+ #+:clsql-cffi
+ (unless (find-package 'cffi-uffi-compat)
+ (asdf:operate 'asdf:load-op 'cffi-uffi-compat))
+ #-:clsql-cffi
(unless (find-package 'uffi)
(asdf:operate 'asdf:load-op 'uffi)))
:licence "Lessor Lisp General Public License"
:description "Common Lisp SQL Interface library"
:long-description "A Common Lisp interface to SQL RDBMS based on
-the Xanalys CommonSQL interface for Lispworks. It depends on the
-low-level database interfaces as well as a functional and an object
+the Xanalys CommonSQL interface for Lispworks. It provides low-level
+database interfaces as well as a functional and an object
oriented interface."
:components
((:module sql
((:file "initialize")
(:file "database" :depends-on ("initialize"))
(:file "recording" :depends-on ("database"))
- (:file "pool"))
+ (:file "pool" :depends-on ("database")))
:depends-on (base))
(:module syntax
:pathname ""
(namestring (user-homedir-pathname))
".clsql-init.lisp"))
(probe-file "/etc/clsql-init.lisp")
- #+(or mswin windows win32)
+ #+(or mswin windows win32 win64 mswindows)
(probe-file "c:\\etc\\clsql-init.lisp"))))
(when init-file (load init-file))))