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.1 2002/03/23 14:04:49 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-uffi" :depends-on ("mysql-loader"))
32 (:file "mysql-sql" :depends-on ("mysql-uffi")))
33 :depends-on (:uffi :clsql)
36 (clsql-sys:initialize-database-type :database-type :mysql)
37 (setq clsql:*default-database-type* :mysql)
38 (pushnew :mysql cl:*features*)))