r2296: Autocommit for make-debian
[uffi.git] / uffi.asd
1 ;;;; -*- Mode: Lisp; Syntax: ANSI-Common-Lisp; Base: 10 -*-
2 ;;;; *************************************************************************
3 ;;;; FILE IDENTIFICATION
4 ;;;;
5 ;;;; Name:          uffi.asd
6 ;;;; Purpose:       ASDF system definition file for UFFI package
7 ;;;; Programmer:    Kevin M. Rosenberg
8 ;;;; Date Started:  Aug 2002
9 ;;;;
10 ;;;; $Id: uffi.asd,v 1.2 2002/08/18 01:57:18 kevin Exp $
11 ;;;;
12 ;;;; This file, part of UFFI, is Copyright (c) 2002 by Kevin M. Rosenberg
13 ;;;;
14 ;;;; UFFI 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 ;;;; *************************************************************************
18
19 (declaim (optimize (debug 3) (speed 3) (safety 1) (compilation-speed 0)))
20 (in-package :cl-user)
21
22 ;; For use with non-Debian installations
23 (let ((helper-pathname (make-pathname :name "set-cl-library" :type "cl"
24                                       :defaults *load-truename*)))
25   (when (probe-file helper-pathname)
26       (load helper-pathname)))
27
28 (in-package :asdf)
29
30 (defclass uffi-cl-source-file (cl-source-file) ())
31 (defmethod source-file-type ((c uffi-cl-source-file) (s module)) 
32   "cl")
33
34 (defsystem uffi
35   :name "cl-uffi"
36   :author "Kevin M. Rosenberg <kmr@debian.org"
37   :version "0.6.1"
38   :maintainer "Kevin M. Rosenberg <kmr@debian.org"
39   :license "Lessor Lisp General Public License"
40   :description "Universal Foreign Function Library for Common Lisp"
41   :long-description "UFFI provides a universal foreign function interface (FFI) for Common Lisp. UFFI supports CMUCL, Lispworks, and AllegroCL."
42   
43   :default-component-class uffi-cl-source-file
44   :pathname #-mcl "cl-library:uffi;"
45   #+mcl "cl-library:uffi;mcl;"
46   :perform (load-op :after (op uffi)
47                     (pushnew :uffi cl:*features*))
48   :components 
49   ((:file "package")
50    (:file "primitives" :depends-on ("package"))
51    (:file "strings" :depends-on ("primitives"))
52    (:file "objects" :depends-on ("primitives"))
53    (:file "aggregates" :depends-on ("primitives"))
54    (:file "functions" :depends-on ("primitives"))
55    (:file "libraries" :depends-on ("package")))
56   )
57