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.14 2002/09/20 05:38:01 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)))
24 :author "Kevin M. Rosenberg <kmr@debian.org>"
26 :maintainer "Kevin M. Rosenberg <kmr@debian.org>"
27 :licence "Lessor Lisp General Public License"
28 :description "Universal Foreign Function Library for Common Lisp"
29 :long-description "UFFI provides a universal foreign function interface (FFI) for Common Lisp. UFFI supports CMUCL, Lispworks, and AllegroCL."
31 :perform (load-op :after (op uffi)
32 (pushnew :uffi cl:*features*))
36 #+(or cmu sbcl allegro lispworks)
40 (:file "primitives" :depends-on ("package"))
41 (:file "strings" :depends-on ("primitives"))
42 (:file "objects" :depends-on ("primitives"))
43 (:file "aggregates" :depends-on ("primitives"))
44 (:file "functions" :depends-on ("primitives"))
45 (:file "libraries" :depends-on ("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"))))
59 ((:file "uffi-corman")))
63 (defmethod source-file-type ((c cl-source-file) (s (eql (find-system :uffi))))
66 (when (ignore-errors (find-class 'load-compiled-op))
67 (defmethod perform :after ((op load-compiled-op) (c (eql (find-system :uffi))))
68 (pushnew :uffi cl:*features*)))