added repo.or.cz incantation
[rclg.git] / clsr / gcc-xml-ffi / gcc-xml-ffi.asd
blob23470275c326f304ef867f5f786b21a7e80b263b
2 (defpackage #:gcc-xml-ffi-system (:use #:asdf #:cl))
3 (in-package #:gcc-xml-ffi-system)
5 ;;;;
6 ;;;; The following section customizes asdf to work with filenames
7 ;;;; with a .cl extension and to put fasl files in a separate
8 ;;;; directory.
9 ;;;;
10 ;;;; To enable this behvior, use asdf component type
11 ;;;;  :gcc-xml-ffi-cl-source-file
12 ;;;;
13 (defclass gcc-xml-ffi-cl-source-file (cl-source-file) ())
15 (defparameter *fasl-directory*
16   (make-pathname :directory '(:relative
17                               #+sbcl "sbcl-fasl"
18                               #+openmcl "openmcl-fasl"
19                               #-(or sbcl openmcl) "fasl")))
21 (defmethod source-file-type ((c gcc-xml-ffi-cl-source-file) (s module)) "cl")
23 (defmethod asdf::output-files :around ((operation compile-op) (c gcc-xml-ffi-cl-source-file))
24   (list (merge-pathnames *fasl-directory* (compile-file-pathname (component-pathname c)))))
27 (defsystem :gcc-xml-ffi
28     :name "gcc-xml-ffi"
29     :author "Cyrus Harmon"
30     :version "0.1.4-20060315"
31     :depends-on (:xmls :uffi)
32     :components
33     ((:module
34       :src
35       :components
36       ((:gcc-xml-ffi-cl-source-file "defpackage")
37        (:gcc-xml-ffi-cl-source-file "gcc-xml-util"
38                                     :depends-on ("defpackage"))
39        (:gcc-xml-ffi-cl-source-file "gcc-xml-classes"
40                                     :depends-on ("defpackage" "gcc-xml-util"))
41        (:gcc-xml-ffi-cl-source-file "gcc-xml-parse"
42                                     :depends-on ("defpackage" "gcc-xml-util" "gcc-xml-classes"))
43        (:gcc-xml-ffi-cl-source-file "gcc-xml-uffi"
44                                     :depends-on ("defpackage" "gcc-xml-util" "gcc-xml-classes"))
45        (:gcc-xml-ffi-cl-source-file "gcc-xml-sb-alien"
46                                     :depends-on ("defpackage" "gcc-xml-util" "gcc-xml-classes"))))
47      (:static-file "README")
48      (:static-file "TODO")
49      (:static-file "LICENSE")
50      (:static-file "Makefile")
51      (:static-file "ChangeLog")))