ignore fontlock droppings.
[CommonLispStat.git] / lispstat.asd
blob3cda769383e382688fb104c6902d200684b6d67b
1 ;;  -*- mode: lisp -*-
3 ;;; Copyright (c) 2005--2006, by AJ Rossini <blindglobe@gmail.com>
4 ;;; ASDF packaging for CommonLispStat
5 ;;; Provided under a BSD license.
7 ;;(asdf:oos 'asdf:load-op 'cffi)
9 (defpackage #:lispstat-system
10     (:use :asdf :common-lisp))
12 (in-package #:lispstat-system)
14 ;;; To avoid renaming everything from *.lsp to *.lisp...
15 ;;; borrowed from Cyrus Harmon's work, for example for the ch-util.
16 (defclass lispstat-lsp-source-file (cl-source-file) ())
17 (defparameter *fasl-directory*
18    (make-pathname :directory '(:relative #+sbcl "sbcl-fasl"
19                               #+openmcl "openmcl-fasl"
20                               #-(or sbcl openmcl) "fasl")))
22 (defmethod source-file-type ((c lispstat-lsp-source-file) (s module)) "lsp")
23 (defmethod asdf::output-files :around ((operation compile-op)
24                                        (c lispstat-lsp-source-file))
25   (list (merge-pathnames *fasl-directory*
26                          (compile-file-pathname (component-pathname c)))))
27 ;;; again, thanks to Cyrus for saving me time...
30 (defsystem "lispstat"
31   :version #.(with-open-file
32                  (vers (merge-pathnames "version.lisp-expr" *load-truename*))
33                (read vers))
34   :author "A.J. Rossini <blindglobe@gmail.com>"
35   :license "BSD"
36   :description "CommonLispStat (CLS): A System for Statistical Computing with Common Lisp;
37 based on CLS by Luke Tierney <luke@stat.uiowa.edu> (originally written when Luke was at CMU, apparently).
38 Last touched 1991, then in 2005--2007."
39   :serial t
40   :depends-on (:cffi :lift) ;;  :clem) not yet but soon!
41   :components ((:static-file "version" :pathname #p"version.lisp-expr")
42                (:lispstat-lsp-source-file "lsobjects")
43                (:lispstat-lsp-source-file "cffiglue")
44                (:lispstat-lsp-source-file "defsys")
47                (:lispstat-lsp-source-file "fastmap")
48                (:lispstat-lsp-source-file "lstypes")
49                (:lispstat-lsp-source-file "lsfloat")
50                (:lispstat-lsp-source-file "sequence"
51                                           :depends-on ("lstypes"))
53                (:lispstat-lsp-source-file "matrices"
54                                           :depends-on ("cffiglue"
55                                                        "sequence"))
56                (:lispstat-lsp-source-file "compound" 
57                                           :depends-on ("lsobjects"
58                                                        "fastmap"
59                                                        "sequence"))
60                (:lispstat-lsp-source-file "ladata"
61                                           :depends-on ("cffiglue"
62                                                        "defsys"
63                                                        "lstypes"
64                                                        "sequence"
65                                                        "compound"
66                                                        "matrices"
67                                                        ))
69                (:lispstat-lsp-source-file "lsmacros" 
70                                           :depends-on ("compound"))
72                (:lispstat-lsp-source-file "dists"
73                                           :depends-on ("cffiglue"
74                                                        "lsmacros"))
77                (:lispstat-lsp-source-file "lsmath"
78                                           :depends-on ("lsobjects"
79                                                        "compound"
80                                                        "lsmacros"
81                                                        "lsfloat"))
83                (:file "data" :depends-on ("lsobjects"
84                                           "compound"
85                                           "matrices"
86                                           "linalg"))
88                (:lispstat-lsp-source-file "statistics"
89                                           :depends-on ("lsobjects"
90                                                        "lsmath"
91                                                        "data" ))
94                (:lispstat-lsp-source-file "linalg"
95                                           :depends-on ("cffiglue"
96                                                        "lsmath"
97                                                        "matrices"
98                                                        "ladata"))
99                ;; there is a circ reference which we need to solve.
100                (:lispstat-lsp-source-file "lsbasics"
101                                           :depends-on ("lsobjects"
102                                                        "lstypes"
103                                                        "lsmacros"
104                                                        "sequence"
105                                                        "lsfloat"
106                                                        "matrices"
107                                                        "linalg"
108                                                        "dists"))
111                (:file "optimize" :depends-on ("lsobjects"
112                                               "cffiglue"
113                                               "lstypes"
114                                               "lsbasics"
115                                               "linalg" "matrices"))
117                
118                ;; Applications
119                (:lispstat-lsp-source-file "regression"
120                                           :depends-on ("lsobjects"
121                                                        "lsbasics"))
122                (:lispstat-lsp-source-file "nonlin"
123                                           :depends-on ("regression"))
124                (:lispstat-lsp-source-file "bayes"
125                                           :depends-on ("lsobjects"
126                                                        "lsmath"
127                                                        "dists"))
130                (:file "ls-user" :depends-on ("lsobjects"
131                                              "lsbasics"
132                                              ;; and more!
133                                              ))
134                ))