X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=contrib%2Fsb-rotate-byte%2Fsb-rotate-byte.asd;h=908392d7f103493db0feca20873038f786de0eb0;hb=d720bc359f03734ccb9baf66cb45dc01d623f369;hp=0451fd847b5929eda98241f932c42cbf0c3f4b90;hpb=93c941d86b264637de20aa1b713757b704d4c1a6;p=sbcl.git diff --git a/contrib/sb-rotate-byte/sb-rotate-byte.asd b/contrib/sb-rotate-byte/sb-rotate-byte.asd index 0451fd8..908392d 100644 --- a/contrib/sb-rotate-byte/sb-rotate-byte.asd +++ b/contrib/sb-rotate-byte/sb-rotate-byte.asd @@ -1,20 +1,33 @@ ;;; -*- Lisp -*- -(cl:defpackage #:sb-rotate-byte-system +(cl:defpackage #:sb-rotate-byte-system (:use #:asdf #:cl)) (cl:in-package #:sb-rotate-byte-system) (defsystem sb-rotate-byte :version "0.1" - :components ((:file "package") - (:file "compiler" :depends-on ("package")) - (:module "vm" - :depends-on ("compiler") - :components ((:file "x86-vm" - :in-order-to ((compile-op (feature :x86))))) - :pathname #.(make-pathname :directory '(:relative)) - :if-component-dep-fails :ignore) - (:file "rotate-byte" :depends-on ("compiler")))) + #+sb-building-contrib :pathname + #+sb-building-contrib #p"SYS:CONTRIB;SB-ROTATE-BYTE;" + :components + ((:file "package") + (:file "compiler" :depends-on ("package")) + (:module "vm" + :depends-on ("compiler") + :components + ((:file "x86-vm" + :in-order-to ((compile-op (feature :x86)))) + (:file "x86-64-vm" + :in-order-to ((compile-op (feature :x86-64)))) + (:file "ppc-vm" + :in-order-to ((compile-op (feature :ppc))))) + :pathname + #+sb-building-contrib #p"SYS:CONTRIB;SB-ROTATE-BYTE;" + #-sb-building-contrib #.(make-pathname :directory '(:relative)) + :if-component-dep-fails :ignore) + (:file "rotate-byte" :depends-on ("compiler")))) + +(defmethod perform :after ((o load-op) (c (eql (find-system :sb-rotate-byte)))) + (provide 'sb-rotate-byte)) (defmethod perform ((o test-op) (c (eql (find-system :sb-rotate-byte)))) (or (load (compile-file "rotate-byte-tests.lisp"))