ebfefa2d0494fd29817fed9db138950378a0b6f5
[clsql.git] / clsql.asd
1 ;;;; -*- Mode: LISP; Syntax: ANSI-Common-Lisp; Base: 10 -*-
2 ;;;; *************************************************************************
3 ;;;; FILE IDENTIFICATION
4 ;;;;
5 ;;;; Name:     clsql.asd
6 ;;;; Purpose:  System definition for CLSQL-CLASSIC
7 ;;;; Authors:  Marcus Pearce and Kevin M. Rosenberg
8 ;;;; Created:  March 2004
9 ;;;;
10 ;;;; $Id$
11 ;;;;
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 ;;;; *************************************************************************
16
17 (in-package #:cl-user)
18 (defpackage #:clsql-system (:use #:asdf #:cl))
19 (in-package #:clsql-system)
20
21 (defsystem #:clsql
22     :name "CLSQL"
23     :author ""
24     :maintainer ""
25     :version ""
26     :licence ""
27     :description "A high level Common Lisp interface to SQL RDBMS."
28     :long-description "A high level Common Lisp interface to SQL RDBMS
29 based on the Xanalys CommonSQL interface for Lispworks. It depends on
30 the low-level database interfaces provided by CLSQL and includes both
31 a functional and an object oriented interface."
32     :depends-on (clsql-base)
33     :components
34     ((:module sql
35               :components
36               ((:module :package
37                         :pathname ""
38                         :components ((:file "package")
39                                      (:file "kmr-mop" :depends-on ("package"))))
40                (:module :core
41                         :pathname ""
42                         :components ((:file "generics")
43                                      (:file "classes" :depends-on ("generics"))
44                                      (:file "operations" :depends-on ("classes"))
45                                      (:file "syntax" :depends-on ("operations")))
46                         :depends-on (:package))
47                (:module :functional
48                         :pathname ""
49                         :components ((:file "sql")
50                                      (:file "table" :depends-on ("sql")))
51                         :depends-on (:core))
52                (:module :object
53                         :pathname ""
54                        :components ((:file "metaclasses")
55                                     (:file "objects" :depends-on ("metaclasses")))
56                        :depends-on (:functional))))))
57      
58
59 (defmethod perform ((o test-op) (c (eql (find-system 'clsql))))
60   (operate 'load-op 'clsql-tests)
61   (operate 'test-op 'clsql-tests :force t))