X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=set-logical.cl;h=cc153dd8c931d42931e2c85d79864b968fa76ff5;hb=b990d2bcfe8f1a215bdbd1061f844e4973a496f5;hp=4990e7dd5d6f58fccca36b5533f27f56a864b2a5;hpb=f1b05bb7890f520bfa5c3e5c7b1f456823ba3fc8;p=uffi.git diff --git a/set-logical.cl b/set-logical.cl index 4990e7d..cc153dd 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))) - ("**;bin;*.*.*" ,(merge-pathnames - (make-pathname - :name :wild - :type :wild - :directory - (append '(:relative :wild-inferiors - ".bin" #.+set-logical-compiler-name+))) - base-pathname)) - ("**;*.*.*" ,(merge-pathnames + ("**;*.cl.*" ,(merge-pathnames (make-pathname :name :wild :type :wild :directory '(:relative :wild-inferiors)) - base-pathname)))) - ) - -(export 'set-logical-host-for-pathname) + 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+))) + base-pathname))) + ;; default is to place in .bin/ directory + ("**;*.*.*" ,(merge-pathnames + (make-pathname + :name :wild + :type :wild + :directory + (append '(:relative :wild-inferiors + ".bin" #.+set-logical-compiler-name+))) + base-pathname)) + ))