1 ;;;; -*- Mode: LISP; Syntax: ANSI-Common-Lisp; Base: 10 -*-
2 ;;;; *************************************************************************
3 ;;;; FILE IDENTIFICATION
5 ;;;; Name: clsql-mysql.system
6 ;;;; Purpose: Defsystem-3/4 definition file for CLSQL MySQL backend
7 ;;;; Programmer: Kevin M. Rosenberg
8 ;;;; Date Started: Feb 2002
10 ;;;; $Id: clsql-mysql.system,v 1.5 2002/04/01 05:27:54 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)))
25 (defsystem :clsql-mysql
26 :source-pathname "CLSQL:interfaces;mysql;"
27 :source-extension "cl"
28 :binary-pathname "CLSQL:interfaces;mysql;bin;"
29 :components ((:file "mysql-package")
30 (:file "mysql-loader" :depends-on ("mysql-package"))
31 (:file "mysql-api" :depends-on ("mysql-loader"))
32 (:file "mysql-sql" :depends-on ("mysql-api"))
33 (:file "mysql-usql" :depends-on ("mysql-sql")))
34 :depends-on (:uffi :clsql :clsql-uffi)
36 (when (clsql-sys:database-type-library-loaded :mysql)
37 (clsql-sys:initialize-database-type :database-type :mysql)
38 (setq clsql:*default-database-type* :mysql)
39 (pushnew :mysql cl:*features*)))