X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=uffi.system;h=5ccaba482bfdad0eea7e62040279ac3be9f82d76;hb=0715838b028bbbd29189309987087473689f42e5;hp=d16817e752a7176e056ef924e30bd6238caf2d80;hpb=e6ead14af8cd0833a49d7cd33c8bc33d3404da6d;p=uffi.git diff --git a/uffi.system b/uffi.system index d16817e..5ccaba4 100644 --- a/uffi.system +++ b/uffi.system @@ -7,7 +7,7 @@ ;;;; Programmer: Kevin M. Rosenberg ;;;; Date Started: Feb 2002 ;;;; -;;;; $Id: uffi.system,v 1.10 2002/04/03 00:31:32 kevin Exp $ +;;;; $Id: uffi.system,v 1.14 2002/04/09 20:06:18 kevin Exp $ ;;;; ;;;; This file, part of UFFI, is Copyright (c) 2002 by Kevin M. Rosenberg ;;;; @@ -23,27 +23,25 @@ :defaults *load-truename*)) (set-logical-host-for-pathname "UFFI" *load-truename*) - -(defconstant +uffi-src-dir+ - (format nil "UFFI:src;~A;" - #+allegro "allegro" - #+lispworks "lispworks" - #+cmu "cmucl" - #+mcl "mcl" - #+clisp "clisp" - #+corman "corman") - "Logical pathname for source") - -(defconstant +uffi-bin-dir+ (concatenate 'string +uffi-src-dir+ "bin;") - "Logical pathname for binaries") +(set-logical-host-for-pathname "UFFI-SRC" + (merge-pathnames + (make-pathname + :directory + #+(or cmu allegro lispworks) + '(:relative "src") + #+mcl + '(:relative "src" "mcl") + #+cormanlisp + '(:relative "src" "corman") + ) + *load-truename*)) ;;; UFFI system definition -#+(or cmu allegro lispworks) (mk:defsystem :uffi - :source-pathname "UFFI:src;" + :source-pathname "UFFI-SRC:" :source-extension "cl" - :binary-pathname "UFFI:src;bin;" + :binary-pathname "UFFI-SRC:bin;" :components ((:file "package") (:file "primitives" :depends-on ("package")) @@ -55,23 +53,3 @@ :finally-do (pushnew :uffi cl:*features*)) -#-(or cmu allegro lispworks) -(mk:defsystem :uffi - :source-pathname #.+uffi-src-dir+ - :source-extension "cl" - :binary-pathname #.+uffi-bin-dir+ - :components - ((:file "package") - (:file "primitives" :depends-on ("package")) - (:file "strings" :depends-on ("primitives")) - (:file "objects" :depends-on ("primitives")) - (:file "aggregates" :depends-on ("primitives")) - (:file "functions" :depends-on ("primitives")) - (:file "libraries" :depends-on ("package")))) - - - - - - -