cleaning up nonlin for the compile/force build
[tsl.git] / lispstat.asd
blob8c3d72e61f3142169e2e3d04ef08a0ce105fabf5
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 "lstypes")
63                (:lispstat-lsp-source-file "lsbasics"
64                                           :depends-on ("lsobjects"
65                                                        "lstypes"
66                                                        "lsmacros"
67                                                        "sequence"
68                                                        "lsfloat"
69                                                        "matrices"))
70                (:lispstat-lsp-source-file "lsmath"
71                                           :depends-on ("lsbasics"
72                                                        "lsmacros"
73                                                        "lsfloat"))
75                (:lispstat-lsp-source-file "dists"
76                                           :depends-on ("lsbasics"))
77                (:lispstat-lsp-source-file "ladata"
78                                           :depends-on ("lsbasics")) ;; in lisp-stat-basics
79                (:lispstat-lsp-source-file "linalg"
80                                           :depends-on ("ladata"
81                                                        "matrices")) ;; in lisp-stat-basics
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                (:lispstat-lsp-source-file "maximize"
93                                           :depends-on ("lsobjects"))
94                (:lispstat-lsp-source-file "bayes"
95                                           :depends-on ("lsobjects"
96                                                        "dists")) ; in lisp-stat
97                
98                ;; (:lispstat-lsp-source-file "numlib") ;; do we need this?
99                ;; (:lispstat-lsp-source-file "defsys")
100                ;; (:lispstat-lsp-source-file "lstoplevel")
102                ;; (:lispstat-lsp-source-file "lspackages"
103                 ;;                        :depends-on ("lstoplevel"
104                 ;;                                     "fastmap"
105                 ;;                                     "lsobjects"
106                 ;;                                     "lsmath"
107                 ;;                                     "lsfloat"))))
108                ))