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 :net.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 :cffi :cffi-grovel :osicat :babel
14 :bordeaux-threads :io.streams)
15 :pathname (merge-pathnames #p"net.sockets/" *load-truename*)
18 (cffi-grovel:grovel-file "grovel" :depends-on ("pkgdcl"))
19 (cffi-grovel:wrapper-file "wrappers" :depends-on ("pkgdcl"))
20 (:file "conditions" :depends-on ("pkgdcl" "grovel"))
21 (:file "bsd" :depends-on ("pkgdcl" "grovel" "conditions"))
22 (:file "common" :depends-on ("pkgdcl" "grovel" "bsd"))
23 (:file "config" :depends-on ("pkgdcl" "grovel"))
25 (:file "iface" :depends-on ("pkgdcl" "grovel" "bsd" "common"))
27 (:file "address" :depends-on ("pkgdcl" "common"))
28 (:file "address-predicates" :depends-on ("pkgdcl" "common" "address"))
29 (:file "address-arithmetic" :depends-on ("pkgdcl" "common" "address" "address-predicates"))
31 (:file "base-sockets" :depends-on ("pkgdcl" "bsd" "config"))
32 (:file "socket-options"
33 :depends-on ("pkgdcl" "grovel" "conditions" "bsd" "common" "config" "base-sockets"))
35 (:file "etc-files" :pathname #p"namedb/etc-files"
36 :depends-on ("pkgdcl"))
37 (:file "file-monitor" :pathname #p"namedb/file-monitor"
38 :depends-on ("pkgdcl"))
39 (:file "protocols" :pathname #p"namedb/protocols"
40 :depends-on ("pkgdcl" "common" "etc-files" "file-monitor"))
41 (:file "services" :pathname #p"namedb/services"
42 :depends-on ("pkgdcl" "common" "etc-files" "file-monitor"))
43 (:file "hosts" :pathname #p"namedb/hosts"
44 :depends-on ("pkgdcl" "address" "address-predicates" "etc-files"
47 (:file "socket-methods"
48 :depends-on ("pkgdcl" "grovel" "conditions" "bsd" "common" "config"
49 "address" "address-predicates" "base-sockets" "socket-options"
50 "protocols" "services"))
52 :depends-on ("pkgdcl" "grovel" "wrappers" "common" "config" "address"
53 "address-predicates" "socket-options" "services" "socket-methods"))
55 (:file "dns-common" :pathname #p"dns/common"
56 :depends-on ("pkgdcl" "common"))
57 (:file "nameservers" :pathname #p"dns/nameservers"
58 :depends-on ("pkgdcl" "address" "etc-files" "file-monitor"))
59 (:file "dynamic-buffer" :pathname #p"dns/dynamic-buffer"
60 :depends-on ("pkgdcl"))
61 (:file "message" :pathname #p"dns/message"
62 :depends-on ("pkgdcl" "common" "dns-common" "dynamic-buffer"))
63 (:file "query" :pathname #p"dns/query"
64 :depends-on ("pkgdcl" "conditions" "address" "address-predicates"
65 "socket-options" "socket-methods" "make-socket" "dns-common"
66 "nameservers" "dynamic-buffer" "message"))
67 (:file "dns-conditions" :pathname #p"dns/conditions"
68 :depends-on ("pkgdcl"))
69 (:file "lookup" :pathname #p"dns/lookup"
70 :depends-on ("pkgdcl" "address" "address-predicates" "file-monitor" "hosts"
71 "nameservers" "message" "query" "dns-conditions"))))