1 ;;;; -*- Mode: Lisp; Syntax: ANSI-Common-Lisp; indent-tabs-mode: nil -*-
3 ;;; net.sockets.asd --- ASDF system definition.
5 ;;; Copyright (C) 2006-2008, Stelian Ionescu <sionescu@common-lisp.net>
7 ;;; This code is free software; you can redistribute it and/or
8 ;;; modify it under the terms of the version 2.1 of
9 ;;; the GNU Lesser General Public License as published by
10 ;;; the Free Software Foundation, as clarified by the
11 ;;; preamble found here:
12 ;;; http://opensource.franz.com/preamble.html
14 ;;; This program is distributed in the hope that it will be useful,
15 ;;; but WITHOUT ANY WARRANTY; without even the implied warranty of
16 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 ;;; GNU General Public License for more details.
19 ;;; You should have received a copy of the GNU Lesser General
20 ;;; Public License along with this library; if not, write to the
21 ;;; Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
22 ;;; Boston, MA 02110-1301, USA
24 (in-package :common-lisp-user)
26 (eval-when (:compile-toplevel :load-toplevel :execute)
27 (asdf:oos 'asdf:load-op :cffi-grovel))
29 (asdf:defsystem :net.sockets
30 :description "Socket library."
31 :author "Stelian Ionescu <sionescu@common-lisp.net>"
32 :maintainer "Stelian Ionescu <sionescu@common-lisp.net>"
34 :depends-on (:osicat :babel :bordeaux-threads :series
35 :io.streams :alexandria :split-sequence)
36 :pathname (merge-pathnames #p"net.sockets/" *load-truename*)
39 (cffi-grovel:grovel-file "grovel" :depends-on ("pkgdcl"))
40 (cffi-grovel:wrapper-file "wrappers" :depends-on ("pkgdcl"))
41 (:file "conditions" :depends-on ("pkgdcl" "grovel"))
42 (:file "bsd" :depends-on ("pkgdcl" "grovel" "conditions"))
43 (:file "common" :depends-on ("pkgdcl" "grovel" "bsd"))
44 (:file "config" :depends-on ("pkgdcl" "grovel"))
46 (:file "iface" :depends-on ("pkgdcl" "grovel" "bsd" "common"))
48 (:file "address" :depends-on ("pkgdcl" "common"))
49 (:file "address-predicates" :depends-on ("pkgdcl" "common" "address"))
50 (:file "address-arithmetic" :depends-on ("pkgdcl" "common" "address" "address-predicates"))
52 (:file "base-sockets" :depends-on ("pkgdcl" "bsd" "config"))
53 (:file "socket-options"
54 :depends-on ("pkgdcl" "grovel" "conditions" "bsd" "common" "config" "base-sockets"))
56 (:file "etc-files" :pathname #p"namedb/etc-files"
57 :depends-on ("pkgdcl"))
58 (:file "file-monitor" :pathname #p"namedb/file-monitor"
59 :depends-on ("pkgdcl"))
60 (:file "protocols" :pathname #p"namedb/protocols"
61 :depends-on ("pkgdcl" "common" "etc-files" "file-monitor"))
62 (:file "services" :pathname #p"namedb/services"
63 :depends-on ("pkgdcl" "common" "etc-files" "file-monitor"))
64 (:file "hosts" :pathname #p"namedb/hosts"
65 :depends-on ("pkgdcl" "address" "address-predicates" "etc-files"
68 (:file "socket-methods"
69 :depends-on ("pkgdcl" "grovel" "conditions" "bsd" "common" "config"
70 "address" "address-predicates" "base-sockets" "socket-options"
71 "protocols" "services"))
73 :depends-on ("pkgdcl" "grovel" "wrappers" "common" "config" "address"
74 "address-predicates" "socket-options" "services" "socket-methods"))
76 (:file "dns-common" :pathname #p"dns/common"
77 :depends-on ("pkgdcl" "common"))
78 (:file "nameservers" :pathname #p"dns/nameservers"
79 :depends-on ("pkgdcl" "address" "etc-files" "file-monitor"))
80 (:file "dynamic-buffer" :pathname #p"dns/dynamic-buffer"
81 :depends-on ("pkgdcl"))
82 (:file "message" :pathname #p"dns/message"
83 :depends-on ("pkgdcl" "common" "dns-common" "dynamic-buffer"))
84 (:file "query" :pathname #p"dns/query"
85 :depends-on ("pkgdcl" "conditions" "address" "address-predicates"
86 "socket-options" "socket-methods" "make-socket" "dns-common"
87 "nameservers" "dynamic-buffer" "message"))
88 (:file "dns-conditions" :pathname #p"dns/conditions"
89 :depends-on ("pkgdcl"))
90 (:file "lookup" :pathname #p"dns/lookup"
91 :depends-on ("pkgdcl" "address" "address-predicates" "file-monitor" "hosts"
92 "nameservers" "message" "query" "dns-conditions"))))