r2259: *** empty log message ***
[uffi.git] / set-logical.cl
index 228023a5ae62e8d7095caf3b344ffa8d9a5099c8..e14fa1cf04c38e3cbe437ee1c8557204702cf7be 100644 (file)
@@ -7,24 +7,11 @@
 ;;;; Programmer:    Kevin M. Rosenberg
 ;;;; Date Started:  Feb 2002
 ;;;;
-;;;; Copyright (c) 2002 Kevin M. Rosenberg
+;;;; This file, part of CLSQL, is Copyright (c) 2002 by Kevin M. Rosenberg
 ;;;;
-;;;; $Id: set-logical.cl,v 1.1 2002/03/11 18:00:57 kevin Exp $
-;;;;
-;;;; This file is part of UFFI. 
-;;;;
-;;;; UFFI is free software; you can redistribute it and/or modify
-;;;; it under the terms of the GNU General Public License (version 2) as
-;;;; published by the Free Software Foundation.
-;;;;
-;;;; UFFI is distributed in the hope that it will be useful,
-;;;; but WITHOUT ANY WARRANTY; without even the implied warranty of
-;;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-;;;; GNU General Public License for more details.
-;;;;
-;;;; You should have received a copy of the GNU General Public License
-;;;; along with UFFI; if not, write to the Free Software Foundation, Inc.,
-;;;; 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+;;;; 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.
 ;;;; *************************************************************************
 
 
@@ -50,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)))))
+