1 ;;;; -*- Mode: LISP; Syntax: ANSI-Common-Lisp; Base: 10 -*-
2 ;;;; *************************************************************************
3 ;;;; FILE IDENTIFICATION
5 ;;;; Name: clsql.system
6 ;;;; Purpose: Defsystem-3/4 for CLSQL
7 ;;;; Programmer: Kevin M. Rosenberg
8 ;;;; Date Started: Feb 2002
10 ;;;; $Id: clsql.system,v 1.11 2002/05/13 02:06:02 kevin Exp $
12 ;;;; This file, part of CLSQL, is Copyright (c) 2002 by Kevin M. Rosenberg
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 ;;;; *************************************************************************
19 (declaim (optimize (debug 3) (speed 3) (safety 1) (compilation-speed 0)))
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)))
28 ;;; System definitions
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")))
38 :source-pathname "CL-LIBRARY:clsql;sql;"
39 :source-extension "cl"
40 :binary-pathname "CL-LIBRARY:clsql;sql;bin;"
41 :components ((:file "pool")
42 (:file "sql" :depends-on ("pool"))
43 (:file "transactions" :depends-on ("sql"))
45 (:file "functional" :depends-on ("sql"))
46 (:file "usql" :depends-on ("sql")))
47 :depends-on (:clsql-base)
49 (pushnew :clsql cl:*features*)