The return of copying support
[cl-graph.git] / cl-graph.asd
1 ;;; -*- Mode: Lisp; package: CL-USER; Syntax: Common-lisp; Base: 10 -*-
2
3 #|
4
5 |#
6
7 (in-package :common-lisp-user)
8 (defpackage "ASDF-CL-GRAPH" (:use #:cl #:asdf))
9 (in-package "ASDF-CL-GRAPH")
10
11 (unless (find-system 'asdf-system-connections nil)
12  (when (find-package 'asdf-install)
13    (print "Trying to install asdf-system-connections with ASDF-Install...")
14    (funcall (intern "INSTALL" "ASDF-INSTALL") 'asdf-system-connections)))
15 ;; give up with a useful (?) error message
16 (unless (find-system 'asdf-system-connections nil)
17   (error "The CL-Graph system requires ASDF-SYSTEM-CONNECTIONS. See 
18 http://www.cliki.net/asdf-system-connections for details and download
19 instructions."))
20
21 (asdf:operate 'asdf:load-op 'asdf-system-connections)
22
23 (defsystem cl-graph
24   :version "0.8"
25   :author "Gary Warren King <gwking@metabang.com>"
26   :maintainer "Gary Warren King <gwking@metabang.com>"
27   :licence "MIT Style License"
28   :description "Graph manipulation utilities for Common Lisp"
29   :components ((:module "dev"
30                         :components ((:file "package")
31                                      (:file "api"
32                                             :depends-on ("package"))
33                                      (:file "macros"
34                                             :depends-on ("package"))
35                                      (:file "graph"
36                                             :depends-on ("api" "macros"))
37                                      (:file "graph-container"
38                                             :depends-on ("graph"))
39                                      (:file "graph-matrix"
40                                             :depends-on ("graph"))
41                                      (:file "graph-metrics"
42                                             :depends-on ("graph"))
43                                      (:file "graph-algorithms"
44                                             :depends-on ("graph"))
45                                      
46                                      (:static-file "notes.text")
47
48                                      (:module "graphviz" :depends-on ("graph")
49                                               :components ((:file "graphviz-support")))))
50                (:module "website"
51                         :components ((:module "source"
52                                               :components ((:static-file "index.lml"))))))
53   
54   :depends-on (metatilities 
55                cl-containers
56                metabang-bind
57                cl-mathstats
58                asdf-system-connections          ; makes ASDF-Install get this automatically
59                ))
60
61 ;;; ---------------------------------------------------------------------------
62
63 (asdf:defsystem-connection cl-graph-and-cl-variates
64   :requires (cl-graph cl-variates)
65   :components ((:module "dev"
66                         :components ((:file "graph-and-variates")
67                                      (:file "graph-generation"
68                                             :depends-on ("graph-and-variates"))))))
69
70 (asdf:defsystem-connection cl-graph-and-cl-graphviz
71   :requires (cl-graph cl-graphviz)
72   :components ((:module "dev"
73                         :components
74                         ((:module "graphviz"
75                                   :components
76                                   ((:file "graphviz-support-optional")))))))
77
78 (asdf:defsystem-connection cl-graph-and-metacopy
79   :requires (cl-graph metacopy)
80   :components ((:module "dev"
81                         :components ((:file "copying")))))