forked from ryszard/clsql
-
Notifications
You must be signed in to change notification settings - Fork 12
/
clsql-mysql.asd
48 lines (42 loc) · 1.85 KB
/
clsql-mysql.asd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
;;;; -*- Mode: LISP; Syntax: ANSI-Common-Lisp; Base: 10 -*-
;;;; *************************************************************************
;;;; FILE IDENTIFICATION
;;;;
;;;; Name: clsql-mysql.asd
;;;; Purpose: ASDF definition file for CLSQL MySQL backend
;;;; Programmer: Kevin M. Rosenberg
;;;; Date Started: Aug 2002
;;;;
;;;; This file, part of CLSQL, is Copyright (c) 2002-2010 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.
;;;; *************************************************************************
(defpackage #:clsql-mysql-system (:use #:asdf #:cl))
(in-package #:clsql-mysql-system)
(eval-when (:compile-toplevel :load-toplevel :execute)
(unless (find-package 'uffi)
(asdf:operate 'asdf:load-op 'uffi)))
(defvar *library-file-dir*
(merge-pathnames "db-mysql/"
(make-pathname :name nil :type nil
:defaults *load-truename*)))
;;; System definition
(defsystem :clsql-mysql
:name "cl-sql-mysql"
:author "Kevin M. Rosenberg <[email protected]>"
:maintainer "Kevin M. Rosenberg <[email protected]>"
:licence "Lessor Lisp General Public License"
:description "Common Lisp SQL MySQL Driver"
:long-description "cl-sql-mysql package provides a database driver to the MySQL database system."
:depends-on (clsql clsql-uffi)
:components
((:module :db-mysql
:components
((:file "mysql-package")
(:file "mysql-loader" :depends-on ("mysql-package"))
(:file "mysql-client-info" :depends-on ("mysql-loader"))
(:file "mysql-api" :depends-on ("mysql-client-info"))
(:file "mysql-sql" :depends-on ("mysql-api"))
(:file "mysql-objects" :depends-on ("mysql-sql"))))))