r1639: Initial revision
[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.1 2002/03/23 14:04:49 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-logical" :type "cl"
23                      :defaults *load-truename*))
24 (set-logical-host-for-pathname "CLSQL" *load-truename*)
25
26 ;;; System definitions
27
28 (mk:defsystem :cmucl-compat
29     :source-pathname "CLSQL:cmucl-compat;"
30     :source-extension "cl"
31     :binary-pathname "CLSQL:cmucl-compat;bin;"
32     :components ((:file "cmucl-compat")
33                  (:file "loop-extension")))
34
35 (mk:defsystem :clsql
36     :source-pathname "CLSQL:sql;"
37     :source-extension "cl"
38     :binary-pathname "CLSQL:sql;bin;"
39     :components ((:file "package")
40                  (:file "sql" :depends-on ("package"))
41                  (:file "functional" :depends-on ("sql")))
42     :depends-on (:cmucl-compat)
43     :finally-do
44     (pushnew :clsql cl:*features*)
45     )