X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=uffi.asd;h=edc52e050723713e2278b2198080a6e43bc2925a;hb=37e017b3488a879dab0ec7570379ddd0c055fbe9;hp=48346e5d17b571a1ec1a8bf97fd0869fb90712f2;hpb=7646d3f762e674ec8b54c8478e111a7f6f5810cd;p=uffi.git diff --git a/uffi.asd b/uffi.asd index 48346e5..edc52e0 100644 --- a/uffi.asd +++ b/uffi.asd @@ -7,7 +7,7 @@ ;;;; Programmer: Kevin M. Rosenberg ;;;; Date Started: Aug 2002 ;;;; -;;;; $Id: uffi.asd,v 1.7 2002/08/28 03:29:01 kevin Exp $ +;;;; $Id: uffi.asd,v 1.9 2002/09/06 11:01:53 kevin Exp $ ;;;; ;;;; This file, part of UFFI, is Copyright (c) 2002 by Kevin M. Rosenberg ;;;; @@ -31,16 +31,11 @@ :device (pathname-device *load-truename*) :directory (pathname-directory *load-truename*))))) -(defconstant +uffi-logical-host+ - #+common-lisp-controller "cl-library" - #-common-lisp-controller "uffi" - "Logical hostname for loading system") - -(defmethod source-file-type ((c cl-source-file) (s (eql (find-system 'uffi)))) - "cl") - -;(defclass uffi-cl-source-file (cl-source-file) ()) -;(defmethod source-file-type ((c uffi-cl-source-file) (s module)) "cl") +(eval-when (:compile-toplevel :load-toplevel :execute) + (defconstant +uffi-logical-host+ + #+common-lisp-controller "cl-library" + #-common-lisp-controller "uffi" + "Logical hostname for loading system")) (defsystem uffi :name "cl-uffi" @@ -51,7 +46,6 @@ :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;" +uffi-logical-host+) #+mcl #.(format nil "~A:uffi;mcl;" +uffi-logical-host+) @@ -67,3 +61,7 @@ (:file "libraries" :depends-on ("package"))) ) + +(defmethod source-file-type ((c cl-source-file) (s (eql (find-system 'uffi)))) + "cl") +