sequence depends on types
[CommonLispStat.git] / lispstat.asd
blobc89cc9171d46ea16b90120f06d4254a12c7a2d3c
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")
45                (:lispstat-lsp-source-file "fastmap")
46                (:lispstat-lsp-source-file "lstypes")
47                (:lispstat-lsp-source-file "lsfloat")
48                (:lispstat-lsp-source-file "sequence"
49                                           :depends-on ("lstypes"))
51                (:lispstat-lsp-source-file "compound" 
52                                           :depends-on ("lsobjects"
53                                                        "fastmap"
54                                                        "sequence"))
56                (:file "data" :depends-on ("lsobjects"
57                                           "compound" ))
59                (:lispstat-lsp-source-file "lsmacros" 
60                                           :depends-on ("compound"))
61                (:lispstat-lsp-source-file "lsmath"
62                                           :depends-on ("lsobjects"
63                                                        "lsmacros"
64                                                        "lsfloat"))
65                (:lispstat-lsp-source-file "matrices"
66                                           :depends-on ("cffiglue"
67                                                        "sequence"))
70                (:lispstat-lsp-source-file "dists"
71                                           :depends-on ("cffiglue"))
74                (:lispstat-lsp-source-file "ladata"
75                                           :depends-on ("defsys"
76                                                        ;;"lsbasics"))
77                                                        ))
78                (:lispstat-lsp-source-file "linalg"
79                                           :depends-on ("cffiglue"
80                                                        "lsmath"
81                                                        "matrices"
82                                                        "ladata"))
83                ;; there is a circ reference which we need to solve.
84                (:lispstat-lsp-source-file "lsbasics"
85                                           :depends-on ("lsobjects"
86                                                        "lstypes"
87                                                        "lsmacros"
88                                                        "sequence"
89                                                        "lsfloat"
90                                                        "matrices"
91                                                        "linalg"
92                                                        "dists"))
95                (:file "optimize" :depends-on ("lsobjects"
96                                               "cffiglue"
97                                               "lstypes"
98                                               "lsbasics"
99                                               "linalg" "matrices"))
101                
102                ;; Applications
103                (:lispstat-lsp-source-file "regression"
104                                           :depends-on ("lsobjects"
105                                                        "lsbasics"))
106                (:lispstat-lsp-source-file "nonlin"
107                                           :depends-on ("regression"))
108                (:lispstat-lsp-source-file "statistics"
109                                           :depends-on ("lsobjects"
110                                                        "lsmath"
111                                                        "data" ))
112                (:lispstat-lsp-source-file "bayes"
113                                           :depends-on ("lsobjects"
114                                                        "lsmath"
115                                                        "dists"))
118                (:file "ls-user" :depends-on ("lsobjects"
119                                              "lsbasics"
120                                              ;; and more!
121                                              ))
122                ))