1 ;;;; -*- Mode: LISP; Syntax: ANSI-Common-Lisp; Base: 10 -*-
2 ;;;; *************************************************************************
3 ;;;; FILE IDENTIFICATION
5 ;;;; Name: clsql-base.system
6 ;;;; Purpose: Defsystem-3/4 for Base CLSQL
7 ;;;; Programmer: Kevin M. Rosenberg
8 ;;;; Date Started: Feb 2002
10 ;;;; $Id: clsql-base.system,v 1.12 2002/09/06 10:56:13 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-Common Lisp Controller installations
23 #-common-lisp-controller
24 (let ((path (make-pathname :name "set-logical" :type "cl"
25 :defaults *load-truename*)))
26 (when (probe-file path)
28 (set-logical-host-for-pathname
30 (make-pathname :host (pathname-host *load-truename*)
31 :device (pathname-device *load-truename*)
32 :directory (pathname-directory *load-truename*)))))
34 ;;; System definitions
36 (defsystem :clsql-base
37 :source-pathname #.(format nil "~A:clsql-base;"
38 #+common-lisp-controller "cl-library"
39 #-common-lisp-controller "clsql")
40 :source-extension "cl"
41 :components ((:file "cmucl-compat")
43 (:file "utils" :depends-on ("package"))
44 (:file "classes" :depends-on ("package"))
45 (:file "conditions" :depends-on ("classes"))
46 (:file "db-interface" :depends-on ("conditions"))
47 (:file "initialize" :depends-on ("db-interface")))
49 (pushnew :clsql-base cl:*features*)