06607abda4e2a6112bba8cb3bf40bcdd1e1689b2
[clsql.git] / clsql.asd
1 ;;;; -*- Mode: LISP; Syntax: ANSI-Common-Lisp; Base: 10 -*-
2 ;;;; *************************************************************************
3 ;;;; FILE IDENTIFICATION
4 ;;;;
5 ;;;; Name:          clsql.system
6 ;;;; Purpose:       Defsystem-3/4 for CLSQL
7 ;;;; Programmer:    Kevin M. Rosenberg
8 ;;;; Date Started:  Feb 2002
9 ;;;;
10 ;;;; $Id: clsql.asd,v 1.11 2002/09/20 06:37:39 kevin Exp $
11 ;;;;
12 ;;;; This file, part of CLSQL, is Copyright (c) 2002 by Kevin M. Rosenberg
13 ;;;;
14 ;;;; CLSQL users are granted the rights to distribute and use this software
15 ;;;; as governed by the terms of the Lisp Lesser GNU Public License
16 ;;;; (http://opensource.franz.com/preamble.html), also known as the LLGPL.
17 ;;;; *************************************************************************
18
19 (in-package :asdf)
20
21 (defsystem :clsql
22   :name "cl-sql"
23   :author "Kevin M. Rosenberg <kmr@debian.org>"
24   :version "0.9.2"
25   :maintainer "Kevin M. Rosenberg <kmr@debian.org>"
26   :licence "Lessor Lisp General Public License"
27   :description "Common Lisp SQL Interface Library"
28   :long-description "cl-sql package provides the high-level interface for the CLSQL system."
29   
30   :perform (load-op :after (op clsql)
31                     (pushnew :clsql cl:*features*))
32   :components
33   ((:module :sql
34             :components
35             ((:file "package")
36              (:file "pool" :depends-on ("package"))
37              (:file "loop-extension")
38              (:file "sql" :depends-on ("pool"))
39              (:file "transactions" :depends-on ("sql"))
40              (:file "functional" :depends-on ("sql"))
41              (:file "usql" :depends-on ("sql")))))
42   :depends-on (:clsql-base)
43   )
44
45 (defmethod source-file-type  ((c cl-source-file)
46                               (s (eql (find-system :clsql)))) 
47    "cl")
48
49
50 (when (ignore-errors (find-class 'load-compiled-op))
51   (defmethod perform :after ((op load-compiled-op) (c (eql (find-system :clsql))))
52     (pushnew :clsql cl:*features*)))
53