X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=uffi.asd;h=8d7d3f88f44b6bc8f2e20460b0988867e9ff4194;hb=c21ea91d9d4f421f6541df17b03700cbaf87ba5c;hp=1fc30bc1cf55ae98936c0ba19d95af95b62ed7b5;hpb=e59d8c7edc1d6b3d3e1f8351c8d9a58bff19030a;p=uffi.git diff --git a/uffi.asd b/uffi.asd index 1fc30bc..8d7d3f8 100644 --- a/uffi.asd +++ b/uffi.asd @@ -7,7 +7,7 @@ ;;;; Programmer: Kevin M. Rosenberg ;;;; Date Started: Aug 2002 ;;;; -;;;; $Id: uffi.asd,v 1.4 2002/08/23 19:21:54 kevin Exp $ +;;;; $Id: uffi.asd,v 1.21 2002/11/08 16:51:50 kevin Exp $ ;;;; ;;;; This file, part of UFFI, is Copyright (c) 2002 by Kevin M. Rosenberg ;;;; @@ -17,53 +17,36 @@ ;;;; ************************************************************************* (declaim (optimize (debug 3) (speed 3) (safety 1) (compilation-speed 0))) -(in-package :cl-user) - -;; For use with non-Common Lisp Controller installations -#-common-lisp-controller -(let ((path (make-pathname :name "set-logical" :type "cl" - :defaults *load-truename*))) - (when (probe-file path) - (load path) - (set-logical-host-for-pathname - "uffi" - (make-pathname :host (pathname-host *load-truename*) - :device (pathname-device *load-truename*) - :directory (pathname-directory *load-truename*))))) - -(defconstant +clsql-logical-host+ - #+common-lisp-controller "cl-library" - #-common-lisp-controller "clsql" - "Logical hostname for loading system") - (in-package :asdf) -(defclass uffi-cl-source-file (cl-source-file) ()) -(defmethod source-file-type ((c uffi-cl-source-file) (s module)) - "cl") - +#+(or allegro lispworks cmu mcl cormanlisp sbcl scl) (defsystem uffi :name "cl-uffi" - :author "Kevin M. Rosenberg " + :version "1.0.0" + :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." - :default-component-class uffi-cl-source-file - :pathname - #-mcl #.(format nil "~A:uffi;" cl-user:+clsql-logical-host+) - #+mcl #.(format nil "~A:uffi;mcl;" cl-user:+clsql-logical-host+) :perform (load-op :after (op uffi) - (pushnew :uffi cl:*features*)) - :components - ((:file "package") - (:file "primitives" :depends-on ("package")) - (:file "strings" :depends-on ("primitives")) - (:file "objects" :depends-on ("primitives")) - (:file "aggregates" :depends-on ("primitives")) - (:file "functions" :depends-on ("primitives")) - (:file "libraries" :depends-on ("package"))) - ) + (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 "functions" :depends-on ("primitives")) + (:file "libraries" :depends-on ("package")) + (:file "os" :depends-on ("package")))) + #+cormanlisp + (:module :src-corman + :components + ((:file "uffi-corman"))) + ))