X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=clsql-postgresql.system;h=d84a1021e6a267cc9cc2809195d53001a3353580;hb=865598033baf78cf3ba9da36a031a85eb18849e0;hp=c956d76c4c1a39c3749d3529a62c77773d3aaca6;hpb=8213ff48f5362c3d4792444c929f50bd128bd044;p=clsql.git diff --git a/clsql-postgresql.system b/clsql-postgresql.system index c956d76..d84a102 100644 --- a/clsql-postgresql.system +++ b/clsql-postgresql.system @@ -1,31 +1,37 @@ -;;;; -*- Mode: LISP; Syntax: ANSI-Common-Lisp; Base: 10 -*- -;;;; ************************************************************************* -;;;; FILE IDENTIFICATION -;;;; -;;;; Name: clsql-postgresql.system -;;;; Purpose: Defsystem-3/4 file for CLSQL PostgresSQL backend -;;;; Programmer: Kevin M. Rosenberg -;;;; Date Started: Feb 2002 -;;;; -;;;; $Id: clsql-postgresql.system,v 1.1 2002/03/23 14:04:49 kevin Exp $ -;;;; -;;;; This file, part of CLSQL, is Copyright (c) 2002 by Kevin M. Rosenberg -;;;; -;;;; CLSQL users are granted the rights to distribute and use this software -;;;; as governed by the terms of the Lisp Lesser GNU Public License -;;;; (http://opensource.franz.com/preamble.html), also known as the LLGPL. -;;;; ************************************************************************* - -(declaim (optimize (debug 3) (speed 3) (safety 1) (compilation-speed 0))) -(in-package :make) - -(defsystem :clsql-postgresql - :source-pathname "CLSQL:interfaces;postgresql;" - :source-extension "cl" - :binary-pathname "CLSQL:interfaces;postgresql;bin;" - :source-extension "cl" - :components ((:file "postgresql-package") - (:file "postgresql-loader" :depends-on ("postgresql-package")) - (:file "postgresql-uffi" :depends-on ("postgresql-loader")) - (:file "postgresql-sql" :depends-on ("postgresql-uffi"))) - :depends-on (:uffi :clsql)) +;;;; -*- Mode: LISP; Syntax: ANSI-Common-Lisp; Base: 10 -*- +;;;; ************************************************************************* +;;;; FILE IDENTIFICATION +;;;; +;;;; Name: clsql-postgresql.system +;;;; Purpose: Defsystem-3/4 file for CLSQL PostgresSQL backend +;;;; Programmer: Kevin M. Rosenberg +;;;; Date Started: Feb 2002 +;;;; +;;;; $Id: clsql-postgresql.system,v 1.6 2002/05/13 00:45:10 kevin Exp $ +;;;; +;;;; This file, part of CLSQL, is Copyright (c) 2002 by Kevin M. Rosenberg +;;;; +;;;; CLSQL users are granted the rights to distribute and use this software +;;;; as governed by the terms of the Lisp Lesser GNU Public License +;;;; (http://opensource.franz.com/preamble.html), also known as the LLGPL. +;;;; ************************************************************************* + +(declaim (optimize (debug 3) (speed 3) (safety 1) (compilation-speed 0))) +(in-package :make) + +(defsystem :clsql-postgresql + :source-pathname "CL-LIBRARY:clsql;interfaces;postgresql;" + :source-extension "cl" + :binary-pathname "CL-LIBRARY:clsql;interfaces;postgresql;bin;" + :source-extension "cl" + :components ((:file "postgresql-package") + (:file "postgresql-loader" :depends-on ("postgresql-package")) + (:file "postgresql-api" :depends-on ("postgresql-loader")) + (:file "postgresql-sql" :depends-on ("postgresql-api")) + (:file "postgresql-usql" :depends-on ("postgresql-sql"))) + :depends-on (:uffi :clsql-base :clsql-uffi) + :finally-do + (when (clsql-sys:database-type-library-loaded :postgresql) + (clsql-sys:initialize-database-type :database-type :postgresql) + (pushnew :postgresql cl:*features*))) +