r2302: *** empty log message ***
[clsql.git] / clsql-base.asd
1 ;;;; -*- Mode: LISP; Syntax: ANSI-Common-Lisp; Base: 10 -*-
2 ;;;; *************************************************************************
3 ;;;; FILE IDENTIFICATION
4 ;;;;
5 ;;;; Name:          clsql-base.asd
6 ;;;; Purpose:       ASDF definition file for Base CLSQL
7 ;;;; Programmer:    Kevin M. Rosenberg
8 ;;;; Date Started:  Feb 2002
9 ;;;;
10 ;;;; $Id: clsql-base.asd,v 1.3 2002/08/18 04:39: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 (declaim (optimize (debug 3) (speed 3) (safety 1) (compilation-speed 0)))
20 (in-package :asdf)
21
22 ;; For use with non-Debian installations
23 (let ((helper-pathname (make-pathname :name "set-cl-library" :type "cl"
24                                       :defaults *load-truename*)))
25   (when (probe-file helper-pathname)
26       (load helper-pathname)))
27
28 (unless (ignore-errors (find-class 'clsql-cl-source-file))
29   (defclass clsql-cl-source-file (cl-source-file) ())
30   (defmethod source-file-type ((c clsql-cl-source-file) (s module)) 
31     "cl"))
32
33  ;;; System definitions
34
35 (defsystem clsql-base
36   :default-component-class clsql-cl-source-file
37   :pathname "cl-library:clsql-base;"
38   :perform (load-op :after (op clsql-base)
39                     (pushnew :clsql cl:*features*))
40   :components ((:file "cmucl-compat")
41                (:file "package")
42                (:file "utils" :depends-on ("package"))
43                (:file "classes" :depends-on ("package"))
44                (:file "conditions" :depends-on ("classes"))
45                (:file "db-interface" :depends-on ("conditions"))
46                (:file "initialize" :depends-on ("db-interface")))
47   )