r2246: *** empty log message ***
[uffi.git] / set-logical.cl
index 4990e7dd5d6f58fccca36b5533f27f56a864b2a5..cc153dd8c931d42931e2c85d79864b968fa76ff5 100644 (file)
@@ -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.
 ;;;; *************************************************************************
     #+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)
                :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/<compiler> directory
+      ("**;*.*.*" ,(merge-pathnames
+                   (make-pathname 
+                    :name :wild
+                    :type :wild
+                    :directory 
+                    (append '(:relative :wild-inferiors
+                                        ".bin" #.+set-logical-compiler-name+)))
+                   base-pathname))
+      ))