1 ;;;; -*- Mode: LISP; Syntax: ANSI-Common-Lisp; Base: 10 -*-
2 ;;;; *************************************************************************
3 ;;;; FILE IDENTIFICATION
6 ;;;; Purpose: System definition for CLSQL-CLASSIC
7 ;;;; Authors: Marcus Pearce and Kevin M. Rosenberg
8 ;;;; Created: March 2004
12 ;;;; CLSQL users are granted the rights to distribute and use this software
13 ;;;; as governed by the terms of the Lisp Lesser GNU Public License
14 ;;;; (http://opensource.franz.com/preamble.html), also known as the LLGPL.
15 ;;;; *************************************************************************
17 (in-package #:cl-user)
18 (defpackage #:clsql-system (:use #:asdf #:cl))
19 (in-package #:clsql-system)
23 :author "Kevin Rosenberg <kevin@rosenberg.net>"
24 :maintainer "Kevin M. Rosenberg <kmr@debian.org>"
25 :licence "Lessor Lisp General Public License"
26 :description "Common Lisp SQL Interface library"
27 :long-description "A Common Lisp interface to SQL RDBMS based on
28 the Xanalys CommonSQL interface for Lispworks. It depends on the
29 low-level database interfaces as well as a functional and an object
37 ((:file "cmucl-compat")
39 (:file "kmr-mop" :depends-on ("package"))
40 (:file "base-classes" :depends-on ("package"))
41 (:file "conditions" :depends-on ("base-classes"))
42 (:file "db-interface" :depends-on ("conditions"))
43 (:file "time" :depends-on ("package" "conditions"))
44 (:file "utils" :depends-on ("package" "db-interface"))
45 (:file "generics" :depends-on ("package"))))
50 (:file "database" :depends-on ("initialize"))
51 (:file "recording" :depends-on ("database"))
56 :components ((:file "expressions")
58 :depends-on ("expressions"))
59 (:file "syntax" :depends-on ("operations")))
60 :depends-on (database))
63 :components ((:file "fdml")
64 (:file "transaction" :depends-on ("fdml"))
65 (:file "loop-extension"
67 (:file "fddl" :depends-on ("fdml")))
71 :components ((:file "metaclasses")
72 (:file "ooddl" :depends-on ("metaclasses"))
73 (:file "oodml" :depends-on ("ooddl")))
74 :depends-on (functional))
77 :components ((:file "generic-postgresql")
78 (:file "generic-odbc")
80 :depends-on (functional))))))
83 (defmethod perform ((o test-op) (c (eql (find-system 'clsql))))
84 (operate 'load-op 'clsql-tests)
85 (operate 'test-op 'clsql-tests :force t))
87 (defmethod perform :after ((o load-op) (c (eql (find-system 'clsql))))
88 (when (probe-file "/etc/clsql-init.lisp")
89 (load "/etc/clsql-init.lisp")))