0c7c27d4c776bb4afdb1a06b43709c66c11ab40f
[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.12 2002/09/25 12:44:59 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 #+(or allegro lispworks cmu openmcl mcl)
22 (defsystem :clsql
23   :name "cl-sql"
24   :author "Kevin M. Rosenberg <kmr@debian.org>"
25   :version "0.9.2"
26   :maintainer "Kevin M. Rosenberg <kmr@debian.org>"
27   :licence "Lessor Lisp General Public License"
28   :description "Common Lisp SQL Interface Library"
29   :long-description "cl-sql package provides the high-level interface for the CLSQL system."
30   
31   :perform (load-op :after (op clsql)
32                     (pushnew :clsql cl:*features*))
33   :components
34   ((:module :sql
35             :components
36             ((:file "package")
37              (:file "pool" :depends-on ("package"))
38              (:file "loop-extension")
39              (:file "sql" :depends-on ("pool"))
40              (:file "transactions" :depends-on ("sql"))
41              (:file "functional" :depends-on ("sql"))
42              (:file "usql" :depends-on ("sql")))))
43   :depends-on (:clsql-base)
44   )
45
46 #+(or allegro lispworks cmu openmcl mcl)
47 (defmethod source-file-type  ((c cl-source-file)
48                               (s (eql (find-system :clsql)))) 
49    "cl")
50
51
52 #+(or allegro lispworks cmu openmcl mcl)
53 (when (ignore-errors (find-class 'load-compiled-op))
54   (defmethod perform :after ((op load-compiled-op) (c (eql (find-system :clsql))))
55     (pushnew :clsql cl:*features*)))
56