r2296: Autocommit for make-debian
[uffi.git] / set-logical.cl
index 82b4002862952f43f1d53c0a5271cc7481e26fa7..e14fa1cf04c38e3cbe437ee1c8557204702cf7be 100644 (file)
@@ -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.
 ;;;; *************************************************************************
@@ -37,7 +37,8 @@
     #+sbcl "sbcl"
     #+corman "corman"
     #+mcl "mcl"
-    #-(or allegro lispworks clisp cmu sbcl corman mcl) "unknown")
+    #+openmcl "openmcl"
+    #-(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)))
+      ("**;*.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/<compiler> 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)))))
+