1 ;;;; -*- Mode: Lisp; indent-tabs-mode: nil -*-
3 (eval-when (:compile-toplevel :load-toplevel :execute)
4 (asdf:oos 'asdf:load-op :iolib.base))
6 (in-package :iolib.asdf)
8 (defsystem :iolib.multiplex
9 :description "I/O multiplexing library."
10 :author "Stelian Ionescu <sionescu@cddr.org>"
11 :maintainer "Stelian Ionescu <sionescu@cddr.org>"
12 :version #.(with-open-file (f (merge-pathnames "../version.lisp-expr"
13 (or *compile-file-pathname*
17 :depends-on (:iolib.base :iolib.syscalls :cffi)
18 :default-component-class iolib-source-file
19 :pathname #-asdf2 (merge-pathnames "multiplex/" *load-truename*)
25 (:file "utils" :depends-on ("pkgdcl"))
26 (:file "timers" :depends-on ("pkgdcl"))
27 (:file "queue" :depends-on ("pkgdcl"))
28 (:file "scheduler" :depends-on ("pkgdcl" "timers" "queue"))
31 (:file "fd-entry" :depends-on ("pkgdcl" "timers"))
32 (:file "multiplexer" :depends-on ("pkgdcl" "utils" "fd-entry"))
33 (:file "event-loop" :depends-on ("pkgdcl" "timers" "queue" "scheduler"
34 "fd-entry" "multiplexer"))
37 (:file "fd-wait" :depends-on ("pkgdcl" "utils"))
40 (:file "backend-select"
41 :depends-on ("pkgdcl" "utils" "fd-entry" "multiplexer"))
43 (:file "backend-epoll"
44 :depends-on ("pkgdcl" "utils" "fd-entry" "multiplexer"))
46 (:file "backend-kqueue"
47 :depends-on ("pkgdcl" "utils" "fd-entry" "multiplexer"))
49 :depends-on ("pkgdcl" "multiplexer" "backend-select"
50 #+linux "backend-epoll" #+bsd "backend-kqueue"))))