X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=set-logical.cl;h=e14fa1cf04c38e3cbe437ee1c8557204702cf7be;hb=00edf198c2b21f4f2715e5a6c80308f4f6f1e87f;hp=4990e7dd5d6f58fccca36b5533f27f56a864b2a5;hpb=f1b05bb7890f520bfa5c3e5c7b1f456823ba3fc8;p=uffi.git diff --git a/set-logical.cl b/set-logical.cl index 4990e7d..e14fa1c 100644 --- a/set-logical.cl +++ b/set-logical.cl @@ -1,4 +1,4 @@ -;;;; -*- Mode: Lisp; Syntax: ANSI-Common-Lisp; Base: 10 -*- +;;;; -*- Mode: LISP; Syntax: ANSI-Common-Lisp; Base: 10 -*- ;;;; ************************************************************************* ;;;; FILE IDENTIFICATION ;;;; @@ -7,9 +7,9 @@ ;;;; Programmer: Kevin M. Rosenberg ;;;; Date Started: Feb 2002 ;;;; -;;;; This file, part of UFFI, is Copyright (c) 2002 by Kevin M. Rosenberg +;;;; This file, part of CLSQL, is Copyright (c) 2002 by Kevin M. Rosenberg ;;;; -;;;; UFFI users are granted the rights to distribute and use this software +;;;; CLSQL users are granted the rights to distribute and use this software ;;;; as governed by the terms of the Lisp Lesser GNU Public License ;;;; (http://opensource.franz.com/preamble.html), also known as the LLGPL. ;;;; ************************************************************************* @@ -35,10 +35,10 @@ #+clisp "clisp" #+cmu "cmucl" #+sbcl "sbcl" - #+cormanlisp "corman" + #+corman "corman" #+mcl "mcl" #+openmcl "openmcl" - #-(or allegro lispworks clisp cmu sbcl cormanlisp mcl openmcl) "unknown") + #-(or allegro lispworks clisp cmu sbcl corman mcl openmcl) "unknown") (defun set-logical-host-for-pathname (host base-pathname) (setf (logical-pathname-translations host) @@ -46,20 +46,45 @@ :host (pathname-host base-pathname) :device (pathname-device base-pathname) :directory (pathname-directory base-pathname))) + ("**;*.cl.*" ,(merge-pathnames + (make-pathname + :name :wild + :type :wild + :directory '(:relative :wild-inferiors)) + base-pathname)) + ("**;*.lisp.*" ,(merge-pathnames + (make-pathname + :name :wild + :type :wild + :directory '(:relative :wild-inferiors)) + base-pathname)) + ("**;*.c.*" ,(merge-pathnames + (make-pathname + :name :wild + :type :wild + :directory '(:relative :wild-inferiors)) + base-pathname)) + ("**;*.h.*" ,(merge-pathnames + (make-pathname + :name :wild + :type :wild + :directory '(:relative :wild-inferiors)) + base-pathname)) ("**;bin;*.*.*" ,(merge-pathnames (make-pathname :name :wild :type :wild :directory (append '(:relative :wild-inferiors - ".bin" #.+set-logical-compiler-name+))) + ".bin" #.+set-logical-compiler-name+))) base-pathname)) + ;; default is to place in .bin/ directory ("**;*.*.*" ,(merge-pathnames - (make-pathname + (make-pathname :name :wild :type :wild - :directory '(:relative :wild-inferiors)) - base-pathname)))) - ) + :directory + (append '(:relative :wild-inferiors + ".bin" #.+set-logical-compiler-name+))) + base-pathname))))) -(export 'set-logical-host-for-pathname)