1.0.39.19: asdf2 merge from upstream
[sbcl.git] / contrib / sb-rotate-byte / sb-rotate-byte.asd
1 ;;; -*-  Lisp -*-
2
3 (cl:defpackage #:sb-rotate-byte-system
4   (:use #:asdf #:cl))
5 (cl:in-package #:sb-rotate-byte-system)
6
7 (defsystem sb-rotate-byte
8   :version "0.1"
9   #+sb-building-contrib :pathname
10   #+sb-building-contrib #.(logical-pathname "SYS:CONTRIB;SB-ROTATE-BYTE;")
11   :components
12   ((:file "package")
13    (:file "compiler" :depends-on ("package"))
14    (:module "vm"
15             :depends-on ("compiler")
16             :components
17             ((:file "x86-vm"
18                     :in-order-to ((compile-op (feature :x86))))
19              (:file "x86-64-vm"
20                     :in-order-to ((compile-op (feature :x86-64))))
21              (:file "ppc-vm"
22                     :in-order-to ((compile-op (feature :ppc)))))
23             :pathname
24             #+sb-building-contrib #.(logical-pathname "SYS:CONTRIB;SB-ROTATE-BYTE;")
25             #-sb-building-contrib #.(make-pathname :directory '(:relative))
26             :if-component-dep-fails :ignore)
27    (:file "rotate-byte" :depends-on ("compiler"))))
28
29 (defmethod perform :after ((o load-op) (c (eql (find-system :sb-rotate-byte))))
30   (provide 'sb-rotate-byte))
31
32 (defmethod perform ((o test-op) (c (eql (find-system :sb-rotate-byte))))
33   (or (load (compile-file "rotate-byte-tests.lisp"))
34       (error "test-op failed")))