ignore binary objects
[tsl.git] / lispstat.asd
blob21594bb80232e3a453051012026004e74bf7b93e
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   :depends-on (:cffi )
39   :components ((:static-file "version" :pathname #p"version.lisp-expr")
40                (:lispstat-lsp-source-file "lsobjects")
41                (:lispstat-lsp-source-file "fastmap")
42                (:lispstat-lsp-source-file "lstypes")
43                (:lispstat-lsp-source-file "lsfloat")
44                (:lispstat-lsp-source-file "compound" 
45                                           :depends-on ("lsobjects"
46                                                        "fastmap"))
47                (:lispstat-lsp-source-file "lsmacros" 
48                                           :depends-on ("compound"))
49                (:lispstat-lsp-source-file "sequence"
50                                           :depends-on ("compound"))
51                (:lispstat-lsp-source-file "matrices"
52                                           :depends-on ("sequence"))
53                (:lispstat-lsp-source-file "linalg"
54                                           :depends-on (;;"ladata"
55                                                        "lstypes"
56                                                        "matrices"))
57                (:lispstat-lsp-source-file "lsbasics"
58                                           :depends-on ("lsobjects"
59                                                        "lstypes"
60                                                        "lsmacros"
61                                                        "sequence"
62                                                        "lsfloat"
63                                                        "matrices"
64                                                        "linalg"))
66                (:lispstat-lsp-source-file "lsmath"
67                                           :depends-on ("lsbasics"
68                                                        "lsmacros"
69                                                        "lsfloat"))
71                (:lispstat-lsp-source-file "dists"
72                                           :depends-on ("lsbasics"))
73                (:lispstat-lsp-source-file "ladata"
74                                           :depends-on ("lsbasics")) ;; in lisp-stat-basics
76                
77                ;; Applications
78                (:lispstat-lsp-source-file "regression"
79                                           :depends-on ("lsbasics"
80                                                        "lsobjects"))
81                (:lispstat-lsp-source-file "nonlin"
82                                           :depends-on ("regression"))
83                (:lispstat-lsp-source-file "statistics"
84                                           :depends-on ("lsobjects"))
85                (:lispstat-lsp-source-file "maximize"
86                                           :depends-on ("lsobjects"))
87                (:lispstat-lsp-source-file "bayes"
88                                           :depends-on ("lsobjects"
89                                                        "dists")) ; in lisp-stat
90                
91                ;; (:lispstat-lsp-source-file "numlib") ;; do we need this?
92                ;; (:lispstat-lsp-source-file "defsys")
93                ;; (:lispstat-lsp-source-file "lstoplevel")
95                ;; (:lispstat-lsp-source-file "lspackages"
96                 ;;                        :depends-on ("lstoplevel"
97                 ;;                                     "fastmap"
98                 ;;                                     "lsobjects"
99                 ;;                                     "lsmath"
100                 ;;                                     "lsfloat"))))
101                ))