r2006: debian
[clsql.git] / clsql-postgresql.system
1 ;;;; -*- Mode: LISP; Syntax: ANSI-Common-Lisp; Base: 10 -*-\r
2 ;;;; *************************************************************************\r
3 ;;;; FILE IDENTIFICATION\r
4 ;;;;\r
5 ;;;; Name:          clsql-postgresql.system\r
6 ;;;; Purpose:       Defsystem-3/4 file for CLSQL PostgresSQL backend\r
7 ;;;; Programmer:    Kevin M. Rosenberg\r
8 ;;;; Date Started:  Feb 2002\r
9 ;;;;\r
10 ;;;; $Id: clsql-postgresql.system,v 1.6 2002/05/13 00:45:10 kevin Exp $\r
11 ;;;;\r
12 ;;;; This file, part of CLSQL, is Copyright (c) 2002 by Kevin M. Rosenberg\r
13 ;;;;\r
14 ;;;; CLSQL users are granted the rights to distribute and use this software\r
15 ;;;; as governed by the terms of the Lisp Lesser GNU Public License\r
16 ;;;; (http://opensource.franz.com/preamble.html), also known as the LLGPL.\r
17 ;;;; *************************************************************************\r
18 \r
19 (declaim (optimize (debug 3) (speed 3) (safety 1) (compilation-speed 0)))\r
20 (in-package :make)\r
21 \r
22 (defsystem :clsql-postgresql\r
23     :source-pathname "CL-LIBRARY:clsql;interfaces;postgresql;"\r
24     :source-extension "cl"\r
25     :binary-pathname "CL-LIBRARY:clsql;interfaces;postgresql;bin;"\r
26     :source-extension "cl"\r
27     :components ((:file "postgresql-package")\r
28                  (:file "postgresql-loader" :depends-on ("postgresql-package"))\r
29                  (:file "postgresql-api" :depends-on ("postgresql-loader"))\r
30                  (:file "postgresql-sql" :depends-on ("postgresql-api"))\r
31                  (:file "postgresql-usql" :depends-on ("postgresql-sql")))\r
32     :depends-on (:uffi :clsql-base :clsql-uffi)\r
33     :finally-do\r
34     (when (clsql-sys:database-type-library-loaded :postgresql)\r
35       (clsql-sys:initialize-database-type :database-type :postgresql)\r
36       (pushnew :postgresql cl:*features*)))\r
37 \r