small text cleanup
[tsl.git] / lispstat.asd
blob40c3442d51b9fd32aa713d53eebf75bf76111679
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)
9 (defpackage #:lispstat-system
10   (:use :asdf :common-lisp))
12 (in-package #:lispstat-system)
15 ;;; To avoid renaming everything from *.lsp to *.lisp...
16 ;;; borrowed from Cyrus Harmon's work, for example for the ch-util.
17 (defclass lispstat-lsp-source-file (cl-source-file) ())
18 (defparameter *fasl-directory*
19    (make-pathname :directory '(:relative #+sbcl "sbcl-fasl"
20                               #+openmcl "openmcl-fasl"
21                               #-(or sbcl openmcl) "fasl")))
23 (defmethod source-file-type ((c lispstat-lsp-source-file) (s module)) "lsp")
24 (defmethod asdf::output-files :around ((operation compile-op)
25                                        (c lispstat-lsp-source-file))
26   (list (merge-pathnames *fasl-directory*
27                          (compile-file-pathname (component-pathname c)))))
28 ;;; again, thanks to Cyrus for saving me time...
32 (defsystem "lispstat"
33   :version #.(with-open-file
34                  (vers (merge-pathnames "version.lisp-expr" *load-truename*))
35                (read vers))
36   :author "A.J. Rossini <blindglobe@gmail.com>"
37   :license "BSD"
38   :description "CommonLispStat (CLS): A System for Statistical Computing with Common Lisp;
39 based on CLS by Luke Tierney <luke@stat.uiowa.edu> (originally written when Luke was at CMU, apparently).
40 Last touched 1991, then in 2005--2007."
42   :depends-on (:cffi )
43   
44   ;; FFI systems:
45   ;; kclglue.lsp  kclpatch.lsp exclglue.lsp mclglue.lsp 
47   :components ((:static-file "version" :pathname #p"version.lisp-expr")
48                (:lispstat-lsp-source-file "lsobjects")
49                (:lispstat-lsp-source-file "fastmap")
50                ;; ls-basisc
51                (:lispstat-lsp-source-file "compound" 
52                                           :depends-on ("lsobjects"
53                                                        "fastmap"))
54                (:lispstat-lsp-source-file "sequence"
55                                           :depends-on ("compound"))
56                (:lispstat-lsp-source-file "matrices"
57                                           :depends-on ("sequence"))
58                (:lispstat-lsp-source-file "lsmacros" 
59                                           :depends-on ("compound"))
61                (:lispstat-lsp-source-file "lsfloat")
62                (:lispstat-lsp-source-file "lsbasics"
63                                           :depends-on ("lsobjects"
64                                                        "lsmacros"
65                                                        "sequence"
66                                                        "lsfloat"
67                                                        "matrices"))
68                (:lispstat-lsp-source-file "lsmath"
69                                           :depends-on ("lsbasics"
70                                                        "lsmacros"
71                                                        "lsfloat"))
73                (:lispstat-lsp-source-file "dists"
74                                           :depends-on ("lsbasics"))
75                (:lispstat-lsp-source-file "ladata"
76                                           :depends-on ("lsbasics")) ;; in lisp-stat-basics
77                (:lispstat-lsp-source-file "linalg"
78                                           :depends-on ("ladata"
79                                                        "matrices")) ;; in lisp-stat-basics
81                
82                ;; Applications
83                (:lispstat-lsp-source-file "regression"
84                                           :depends-on ("lsbasics"
85                                                        "lsobjects"))
86                (:lispstat-lsp-source-file "nonlin"
87                                           :depends-on ("regression"))
88                (:lispstat-lsp-source-file "statistics"
89                                           :depends-on ("lsobjects"))
90                (:lispstat-lsp-source-file "maximize"
91                                           :depends-on ("lsobjects"))
92                (:lispstat-lsp-source-file "bayes"
93                                           :depends-on ("lsobjects"
94                                                        "dists")) ; in lisp-stat
95                
96                ;; (:lispstat-lsp-source-file "numlib") ;; do we need this?
97                ;; (:lispstat-lsp-source-file "defsys")
98                ;; (:lispstat-lsp-source-file "lstoplevel")
100                ;; (:lispstat-lsp-source-file "lspackages"
101                 ;;                        :depends-on ("lstoplevel"
102                 ;;                                     "fastmap"
103                 ;;                                     "lsobjects"
104                 ;;                                     "lsmath"
105                 ;;                                     "lsfloat"))))
106                ))