X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=uffi.asd;h=a2ed7954b86c15347d033582b618fc157023a6ba;hb=9ca3cce60961b1fd140467a233700a08e7ef65b1;hp=1076b827897557e0e86de44f6ec1d6e8d156f8dc;hpb=7653a03580807774202e699a091a2e8520db5cf8;p=uffi.git diff --git a/uffi.asd b/uffi.asd index 1076b82..a2ed795 100644 --- a/uffi.asd +++ b/uffi.asd @@ -4,10 +4,10 @@ ;;;; ;;;; Name: uffi.asd ;;;; Purpose: ASDF system definition file for UFFI package -;;;; Programmer: Kevin M. Rosenberg +;;;; Author: Kevin M. Rosenberg ;;;; Date Started: Aug 2002 ;;;; -;;;; $Id: uffi.asd,v 1.19 2002/10/14 03:07:41 kevin Exp $ +;;;; $Id$ ;;;; ;;;; This file, part of UFFI, is Copyright (c) 2002 by Kevin M. Rosenberg ;;;; @@ -16,41 +16,36 @@ ;;;; (http://opensource.franz.com/preamble.html), also known as the LLGPL. ;;;; ************************************************************************* -(declaim (optimize (debug 3) (speed 3) (safety 1) (compilation-speed 0))) -(in-package :asdf) +(defpackage #:uffi-system (:use #:asdf #:cl)) +(in-package #:uffi-system) -#+(or allegro lispworks cmu mcl cormanlisp sbcl) +#+(or allegro lispworks cmu mcl cormanlisp sbcl scl) (defsystem uffi - :name "cl-uffi" - :author "Kevin M. Rosenberg " - :version "1.0.0" + :name "uffi" + :author "Kevin Rosenberg " + :version "1.2.x" :maintainer "Kevin M. Rosenberg " :licence "Lessor Lisp General Public License" :description "Universal Foreign Function Library for Common Lisp" :long-description "UFFI provides a universal foreign function interface (FFI) for Common Lisp. UFFI supports CMUCL, Lispworks, and AllegroCL." - :perform (load-op :after (op uffi) - (pushnew :uffi cl:*features*)) - :components ((:module :src :components ((:file "package") (:file "primitives" :depends-on ("package")) #+mcl (:file "readmacros-mcl" :depends-on ("package")) - (:file "strings" :depends-on ("primitives")) (:file "objects" :depends-on ("primitives")) (:file "aggregates" :depends-on ("primitives")) + (:file "strings" :depends-on ("primitives" "functions" "aggregates" "objects")) (:file "functions" :depends-on ("primitives")) (:file "libraries" :depends-on ("package")) (:file "os" :depends-on ("package")))) - #+cormanlisp - (:module :src-corman - :components - ((:file "uffi-corman"))) - )) + )) + +#+(or allegro lispworks cmu mcl cormanlisp sbcl scl) +(defmethod perform ((o test-op) (c (eql (find-system 'uffi)))) + (oos 'load-op 'uffi-tests) + (oos 'test-op 'uffi-tests :force t)) + -#+(or allegro lispworks cmu mcl cormanlisp sbcl) -(when (ignore-errors (find-class 'load-compiled-op)) - (defmethod perform :after ((op load-compiled-op) (c (eql (find-system :uffi)))) - (pushnew :uffi cl:*features*)))