r1996: logical pathname fixes
[clsql.git] / clsql.system
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.system,v 1.10 2002/05/13 00:57:42 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 (load (make-pathname :name "set-cl-library" :type "cl"
23                      :defaults *load-truename*))
24
25 ;;; System definitions
26
27 (mk:defsystem :cmucl-compat
28     :source-pathname "CL-LIBRARY:clsql;cmucl-compat;"
29     :source-extension "cl"
30     :binary-pathname "CL-LIBRARY:clsql;cmucl-compat;bin;"
31     :components ((:file "cmucl-compat")
32                  (:file "loop-extension")))
33
34 (mk:defsystem :clsql
35     :source-pathname "CL-LIBRARY:clsql;sql;"
36     :source-extension "cl"
37     :binary-pathname "CL-LIBRARY:clsql;sql;bin;"
38     :components ((:file "pool")
39                  (:file "sql" :depends-on ("pool"))
40                  (:file "transactions" :depends-on ("sql"))
41                  (:file "utils")
42                  (:file "functional" :depends-on ("sql"))
43                  (:file "usql" :depends-on ("sql")))
44     :depends-on (:clsql-base)
45     :finally-do
46     (pushnew :clsql cl:*features*)
47     )