1 ;;;; -*- Mode: Lisp; Syntax: ANSI-Common-Lisp; Base: 10 -*-
2 ;;;; *************************************************************************
3 ;;;; FILE IDENTIFICATION
6 ;;;; Purpose: ASDF system definition file for UFFI package
7 ;;;; Programmer: Kevin M. Rosenberg
8 ;;;; Date Started: Aug 2002
10 ;;;; $Id: uffi.asd,v 1.2 2002/08/18 01:57:18 kevin Exp $
12 ;;;; This file, part of UFFI, is Copyright (c) 2002 by Kevin M. Rosenberg
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 ;;;; *************************************************************************
19 (declaim (optimize (debug 3) (speed 3) (safety 1) (compilation-speed 0)))
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)))
30 (defclass uffi-cl-source-file (cl-source-file) ())
31 (defmethod source-file-type ((c uffi-cl-source-file) (s module))
36 :author "Kevin M. Rosenberg <kmr@debian.org"
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."
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*))
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")))