Improved calculation of flags in SOCKET-SEND and SOCKET-RECEIVE.
[iolib.git] / net.sockets.asd
blob78fd18d08a15512ad98e6a9eea4d94029a7fd08a
1 ;;;; -*- Mode: Lisp; Syntax: ANSI-Common-Lisp; Indent-tabs-mode: NIL -*-
2 ;;;
3 ;;; bsd-sockets.asd --- ASDF system definition.
4 ;;;
5 ;;; Copyright (C) 2006-2007, Stelian Ionescu  <sionescu@common-lisp.net>
6 ;;;
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
13 ;;;
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.
18 ;;;
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 (:load-toplevel :execute)
27   (asdf:oos 'asdf:load-op :cffi-grovel))
29 (defpackage #:net.sockets-system
30   (:use #:common-lisp :cffi-grovel))
32 (in-package #:net.sockets-system)
34 (asdf:defsystem :net.sockets
35   :description "Socket library."
36   :author "Stelian Ionescu <sionescu@common-lisp.net>"
37   :maintainer "Stelian Ionescu <sionescu@common-lisp.net>"
38   :licence "LLGPL-2.1"
39   :depends-on (:osicat
40                :babel
41                :io.streams
42                :alexandria
43                :split-sequence
44                :series)
45   :pathname (merge-pathnames (make-pathname :directory '(:relative "sockets"))
46                              *load-truename*)
47   :serial t
48   :components
49   ((:file "pkgdcl")
50    (:grovel-file "grovel")
51    (:file "bsd")
52    #+windows (:file "winsock")
53    (:file "common")
54    (:file "conditions")
55    (:file "config")
56    #-windows (:file "iface")
57    (:file "address")
58    (:file "address-predicates")
59    (:file "base-sockets")
60    (:file "socket-options")
61    (:module :namedb
62      :components
63      ((:file "etc-files")
64       (:file "file-monitor")
65       (:file "protocols" :depends-on ("etc-files" "file-monitor"))
66       (:file "services" :depends-on ("etc-files" "file-monitor"))
67       (:file "hosts" :depends-on ("etc-files" "file-monitor"))))
68    (:file "socket-methods")
69    (:module :dns
70      :serial t
71      :components
72      ((:file "common")
73       (:file "nameservers")
74       (:file "dynamic-buffer")
75       (:file "message")
76       (:file "query")
77       (:file "lookup")))
78    (:file "make-socket")))