X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=uffi.asd;h=7e22276b341d10292b9987a3b0602f031b9cbcbb;hb=8b9d9cf55526764995756bd9db9ac1eb4c3bbd98;hp=7e7c3ec3777648c8064de3cc1fa47150b02f490e;hpb=c6173422ade336ec21cd0a9ae866bafd7d402469;p=uffi.git diff --git a/uffi.asd b/uffi.asd index 7e7c3ec..7e22276 100644 --- a/uffi.asd +++ b/uffi.asd @@ -7,7 +7,7 @@ ;;;; Programmer: Kevin M. Rosenberg ;;;; Date Started: Aug 2002 ;;;; -;;;; $Id: uffi.asd,v 1.2 2002/08/18 01:57:18 kevin Exp $ +;;;; $Id: uffi.asd,v 1.5 2002/08/23 19:29:06 kevin Exp $ ;;;; ;;;; This file, part of UFFI, is Copyright (c) 2002 by Kevin M. Rosenberg ;;;; @@ -17,15 +17,24 @@ ;;;; ************************************************************************* (declaim (optimize (debug 3) (speed 3) (safety 1) (compilation-speed 0))) -(in-package :cl-user) +(in-package :asdf) -;; For use with non-Debian installations -(let ((helper-pathname (make-pathname :name "set-cl-library" :type "cl" +;; 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 helper-pathname) - (load helper-pathname))) + (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*))))) -(in-package :asdf) +(defconstant +uffi-logical-host+ + #+common-lisp-controller "cl-library" + #-common-lisp-controller "uffi" + "Logical hostname for loading system") (defclass uffi-cl-source-file (cl-source-file) ()) (defmethod source-file-type ((c uffi-cl-source-file) (s module)) @@ -36,13 +45,14 @@ :author "Kevin M. Rosenberg