1 ;;;; -*- Mode: Lisp; indent-tabs-mode: nil -*-
3 (asdf:defsystem :iolib.sockets
4 :description "Socket library."
5 :author "Stelian Ionescu <sionescu@cddr.org>"
6 :maintainer "Stelian Ionescu <sionescu@cddr.org>"
7 :version #.(with-open-file (f (merge-pathnames "../version.lisp-expr"
8 (or *compile-file-pathname*
12 :defsystem-depends-on (:iolib.asdf :iolib.conf :iolib-grovel)
13 :depends-on (:iolib.base :iolib.syscalls :iolib.streams
14 :babel :cffi :iolib-grovel :bordeaux-threads
16 :default-component-class :iolib-source-file
20 (:iolib-grovel-file "grovel" :depends-on ("pkgdcl"))
21 (:file "conditions" :depends-on ("pkgdcl" "grovel"))
22 (:file "bsd" :depends-on ("pkgdcl" "grovel" "conditions"))
23 (:file "common" :depends-on ("pkgdcl" "grovel" "bsd"))
24 (:file "config" :depends-on ("pkgdcl" "grovel" "bsd"))
26 (:file "iface" :depends-on ("pkgdcl" "grovel" "bsd" "common"))
28 (:file "address" :depends-on ("pkgdcl" "common"))
29 (:file "address-predicates" :depends-on ("pkgdcl" "common" "address"))
30 (:file "address-arithmetic" :depends-on ("pkgdcl" "common" "address" "address-predicates"))
32 (:file "base-sockets" :depends-on ("pkgdcl" "bsd" "config"))
33 (:file "socket-options"
34 :depends-on ("pkgdcl" "grovel" "conditions" "bsd" "common" "config" "base-sockets"))
36 ;; Local file configuration (/etc/hosts etc...)
37 (:file "etc-files" :pathname "namedb/etc-files"
38 :depends-on ("pkgdcl"))
39 (:file "file-monitor" :pathname "namedb/file-monitor"
40 :depends-on ("pkgdcl"))
41 (:file "protocols" :pathname "namedb/protocols"
42 :depends-on ("pkgdcl" "common" "etc-files" "file-monitor"))
43 (:file "services" :pathname "namedb/services"
44 :depends-on ("pkgdcl" "common" "etc-files" "file-monitor"))
45 (:file "hosts" :pathname "namedb/hosts"
46 :depends-on ("pkgdcl" "address" "address-predicates" "etc-files" "file-monitor"))
48 (:file "socket-methods"
49 :depends-on ("pkgdcl" "grovel" "conditions" "bsd" "common" "config"
50 "address" "address-predicates" "base-sockets" "socket-options"
51 "protocols" "services"))
53 :depends-on ("pkgdcl" "grovel" "common" "config" "address" "address-predicates"
54 "socket-options" "services" "socket-methods"))
57 (:file "dns-common" :pathname "dns/common"
58 :depends-on ("pkgdcl" "common"))
59 (:file "nameservers" :pathname "dns/nameservers"
60 :depends-on ("pkgdcl" "address" "etc-files" "file-monitor"))
61 (:file "dynamic-buffer" :pathname "dns/dynamic-buffer"
62 :depends-on ("pkgdcl"))
63 (:file "message":pathname "dns/message"
64 :depends-on ("pkgdcl" "common" "dns-common" "dynamic-buffer"))
65 (:file "query" :pathname "dns/query"
66 :depends-on ("pkgdcl" "conditions" "address" "address-predicates"
67 "socket-options" "socket-methods" "make-socket" "dns-common"
68 "nameservers" "dynamic-buffer" "message"))
69 (:file "dns-conditions" :pathname "dns/conditions"
70 :depends-on ("pkgdcl"))
71 (:file "lookup" :pathname "dns/lookup"
72 :depends-on ("pkgdcl" "address" "address-predicates" "file-monitor" "hosts"
73 "nameservers" "message" "query" "dns-conditions"))))