prep to add lift, clem, and move lispstat into a core module
[CommonLispStat.git] / lispstat.asd
bloba11024cba70b4701dbda566307b7f06e1daaca0b
1 ;;  -*- mode: lisp -*-
3 ;;; Copyright (c) 2005--2006, by AJ Rossini <blindglobe@gmail.com>
4 ;;; ASDF packaging for CommonLispStat
6 ;;(asdf:oos 'asdf:load-op 'cffi)
8 (defpackage #:lispstat-system
9   (:use :asdf :common-lisp))
11 (in-package #:lispstat-system)
13 ;;; To avoid renaming everything from *.lsp to *.lisp...
14 ;;; borrowed from Cyrus Harmon's work, for example for the ch-util.
15 (defclass lispstat-lsp-source-file (cl-source-file) ())
16 (defparameter *fasl-directory*
17    (make-pathname :directory '(:relative #+sbcl "sbcl-fasl"
18                               #+openmcl "openmcl-fasl"
19                               #-(or sbcl openmcl) "fasl")))
21 (defmethod source-file-type ((c lispstat-lsp-source-file) (s module)) "lsp")
22 (defmethod asdf::output-files :around ((operation compile-op)
23                                        (c lispstat-lsp-source-file))
24   (list (merge-pathnames *fasl-directory*
25                          (compile-file-pathname (component-pathname c)))))
26 ;;; again, thanks to Cyrus for saving me time...
29 (defsystem "lispstat"
30   :version #.(with-open-file
31                  (vers (merge-pathnames "version.lisp-expr" *load-truename*))
32                (read vers))
33   :author "A.J. Rossini <blindglobe@gmail.com>"
34   :license "BSD"
35   :description "CommonLispStat (CLS): A System for Statistical Computing with Common Lisp;
36 based on CLS by Luke Tierney <luke@stat.uiowa.edu> (originally written when Luke was at CMU, apparently).
37 Last touched 1991, then in 2005--2007."
38   :serial t
39   :depends-on (:cffi :lift :clem)
40   :components ((:static-file "version" :pathname #p"version.lisp-expr")
41                (:lispstat-lsp-source-file "defsys")
42                (:lispstat-lsp-source-file "lsobjects")
43                (:lispstat-lsp-source-file "fastmap")
44                (:lispstat-lsp-source-file "lstypes")
45                (:lispstat-lsp-source-file "lsfloat")
46                (:lispstat-lsp-source-file "sequence")
47                (:lispstat-lsp-source-file "compound" 
48                                           :depends-on ("lsobjects"
49                                                        "fastmap"
50                                                        "sequence"))
51                (:lispstat-lsp-source-file "lsmacros" 
52                                           :depends-on ("compound"))
53                (:lispstat-lsp-source-file "lsmath"
54                                           :depends-on ("lsobjects"
55                                                        "lsmacros"
56                                                        "lsfloat"))
57                (:lispstat-lsp-source-file "matrices"
58                                           :depends-on ("sequence"))
59                (:lispstat-lsp-source-file "lsbasics"
60                                           :depends-on ("lsobjects"
61                                                        "lstypes"
62                                                        "lsmacros"
63                                                        "sequence"
64                                                        "lsfloat"
65                                                        "matrices"
66                                                        "linalg"))
68                (:lispstat-lsp-source-file "linalg"
69                                           :depends-on ("lsbasics"
70                                                        "lsmath"
71                                                        "matrices"))
73                (:lispstat-lsp-source-file "dists"
74                                           :depends-on ("lsbasics"))
75                (:lispstat-lsp-source-file "ladata"
76                                           :depends-on ("lsbasics"))
79                ;; mix/match lsp vs. lisp in next 2.
80                (:file "data" :depends-on ("defsys"
81                                           "lsobjects"
82                                           "compound"))
83                
84                ;; Applications
85                (:lispstat-lsp-source-file "regression"
86                                           :depends-on ("lsbasics"
87                                                        "lsobjects"))
88                (:lispstat-lsp-source-file "nonlin"
89                                           :depends-on ("regression"))
90                (:lispstat-lsp-source-file "statistics"
91                                           :depends-on ("lsobjects"
92                                                        "lsmath"
93                                                        "data" ))
94                (:file "optimize" :depends-on ("lsobjects" "lstypes"))
95                (:lispstat-lsp-source-file "bayes"
96                                           :depends-on ("lsobjects"
97                                                        "lsmath"
98                                                        "dists")) ; in lisp-stat
99                ))
100 ;;             ;;; Top level
101 ;;             (:file "ls-user" :depends-on ("statistics"
102 ;;                                                  "data"))))