r2006: debian
[clsql.git] / clsql-base.system
1 ;;;; -*- Mode: LISP; Syntax: ANSI-Common-Lisp; Base: 10 -*-
2 ;;;; *************************************************************************
3 ;;;; FILE IDENTIFICATION
4 ;;;;
5 ;;;; Name:          clsql-base.system
6 ;;;; Purpose:       Defsystem-3/4 for Base CLSQL
7 ;;;; Programmer:    Kevin M. Rosenberg
8 ;;;; Date Started:  Feb 2002
9 ;;;;
10 ;;;; $Id: clsql-base.system,v 1.1 2002/05/13 02:08:11 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 :cl-user)
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 ;;; System definitions
29
30 (mk:defsystem :cmucl-compat
31     :source-pathname "CL-LIBRARY:clsql;cmucl-compat;"
32     :source-extension "cl"
33     :binary-pathname "CL-LIBRARY:clsql;cmucl-compat;bin;"
34     :components ((:file "cmucl-compat")
35                  (:file "loop-extension")))
36
37 (mk:defsystem :clsql-base
38     :source-pathname "CL-LIBRARY:clsql;sql;"
39     :source-extension "cl"
40     :binary-pathname "CL-LIBRARY:clsql;sql;bin;"
41     :components ((:file "package")
42                  (:file "classes" :depends-on ("package"))
43                  (:file "conditions" :depends-on ("classes"))
44                  (:file "db-interface" :depends-on ("conditions")))
45     :depends-on (:cmucl-compat)
46     :finally-do
47     (pushnew :clsql cl:*features*)
48     )