1 ;;;; -*- Mode: Lisp; Syntax: ANSI-Common-Lisp; Indent-tabs-mode: NIL -*-
3 ;;; io-multiplex.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 ;;; Need trivial-features to correctly handle the reader conditionals
27 ;;; in the system definition form.
28 (eval-when (:load-toplevel)
29 (asdf:oos 'asdf:load-op :trivial-features))
31 (asdf:defsystem :io.multiplex
32 :description "I/O multiplexing library for SBCL."
33 :author "Stelian Ionescu <sionescu@common-lisp.net>"
34 :maintainer "Stelian Ionescu <sionescu@common-lisp.net>"
36 :depends-on (:osicat :alexandria :bordeaux-threads :series)
37 :pathname (merge-pathnames #p"io.multiplex/" *load-truename*)
40 (:file "time" :depends-on ("pkgdcl"))
41 (:file "utils" :depends-on ("pkgdcl" "time"))
42 (:file "timers" :depends-on ("pkgdcl" "time"))
43 (:file "queue" :depends-on ("pkgdcl"))
44 (:file "scheduler" :depends-on ("pkgdcl" "timers" "queue"))
45 (:file "multiplexer" :depends-on ("pkgdcl" "utils"))
46 (:file "fd-entry" :depends-on ("pkgdcl"))
48 :depends-on ("pkgdcl" "time" "timers" "queue" "scheduler" "multiplexer"))
49 (:file "fd-wait" :depends-on ("pkgdcl" "utils"))
50 (:file "select" :depends-on ("pkgdcl" "utils" "multiplexer"))
51 #+linux (:file "epoll" :depends-on ("pkgdcl" "utils" "multiplexer"))
52 #+bsd (:file "kqueue" :depends-on ("pkgdcl" "utils" "multiplexer"))
53 (:file "detect" :depends-on ("pkgdcl" "multiplexer" "select"
54 #+linux "epoll" #+bsd "kqueue"))))