1 ;;;; -*- Mode: Lisp; Syntax: ANSI-Common-Lisp; indent-tabs-mode: nil -*-
3 (in-package :common-lisp-user)
5 (eval-when (:compile-toplevel :load-toplevel :execute)
6 (asdf:oos 'asdf:load-op :cffi-grovel))
8 (asdf:defsystem :iolib.sockets
9 :description "Socket library."
10 :author "Stelian Ionescu <sionescu@common-lisp.net>"
11 :maintainer "Stelian Ionescu <sionescu@common-lisp.net>"
13 :depends-on (:iolib.base :iolib.syscalls :iolib.streams
14 :babel :cffi :cffi-grovel :bordeaux-threads)
15 :pathname (merge-pathnames #p"sockets/" *load-truename*)
18 (cffi-grovel:grovel-file "grovel" :depends-on ("pkgdcl"))
19 (:file "conditions" :depends-on ("pkgdcl" "grovel"))
20 (:file "bsd" :depends-on ("pkgdcl" "grovel" "conditions"))
21 (:file "common" :depends-on ("pkgdcl" "grovel" "bsd"))
22 (:file "config" :depends-on ("pkgdcl" "grovel" "bsd"))
24 (:file "iface" :depends-on ("pkgdcl" "grovel" "bsd" "common"))
26 (:file "address" :depends-on ("pkgdcl" "common"))
27 (:file "address-predicates" :depends-on ("pkgdcl" "common" "address"))
28 (:file "address-arithmetic" :depends-on ("pkgdcl" "common" "address" "address-predicates"))
30 (:file "base-sockets" :depends-on ("pkgdcl" "bsd" "config"))
31 (:file "socket-options"
32 :depends-on ("pkgdcl" "grovel" "conditions" "bsd" "common" "config" "base-sockets"))
34 (:file "etc-files" :pathname #p"namedb/etc-files"
35 :depends-on ("pkgdcl"))
36 (:file "file-monitor" :pathname #p"namedb/file-monitor"
37 :depends-on ("pkgdcl"))
38 (:file "protocols" :pathname #p"namedb/protocols"
39 :depends-on ("pkgdcl" "common" "etc-files" "file-monitor"))
40 (:file "services" :pathname #p"namedb/services"
41 :depends-on ("pkgdcl" "common" "etc-files" "file-monitor"))
42 (:file "hosts" :pathname #p"namedb/hosts"
43 :depends-on ("pkgdcl" "address" "address-predicates" "etc-files"
46 (:file "socket-methods"
47 :depends-on ("pkgdcl" "grovel" "conditions" "bsd" "common" "config"
48 "address" "address-predicates" "base-sockets" "socket-options"
49 "protocols" "services"))
51 :depends-on ("pkgdcl" "grovel" "common" "config" "address" "address-predicates"
52 "socket-options" "services" "socket-methods"))
54 (:file "dns-common" :pathname #p"dns/common"
55 :depends-on ("pkgdcl" "common"))
56 (:file "nameservers" :pathname #p"dns/nameservers"
57 :depends-on ("pkgdcl" "address" "etc-files" "file-monitor"))
58 (:file "dynamic-buffer" :pathname #p"dns/dynamic-buffer"
59 :depends-on ("pkgdcl"))
60 (:file "message" :pathname #p"dns/message"
61 :depends-on ("pkgdcl" "common" "dns-common" "dynamic-buffer"))
62 (:file "query" :pathname #p"dns/query"
63 :depends-on ("pkgdcl" "conditions" "address" "address-predicates"
64 "socket-options" "socket-methods" "make-socket" "dns-common"
65 "nameservers" "dynamic-buffer" "message"))
66 (:file "dns-conditions" :pathname #p"dns/conditions"
67 :depends-on ("pkgdcl"))
68 (:file "lookup" :pathname #p"dns/lookup"
69 :depends-on ("pkgdcl" "address" "address-predicates" "file-monitor" "hosts"
70 "nameservers" "message" "query" "dns-conditions"))))