1 ;;;; -*- Mode: Lisp; indent-tabs-mode: nil -*-
3 (eval-when (:compile-toplevel :load-toplevel :execute)
4 (asdf:oos 'asdf:load-op :iolib.base)
5 (asdf:oos 'asdf:load-op :cffi-grovel))
7 (in-package :iolib.asdf)
9 (defsystem :iolib.syscalls
10 :description "Syscalls and foreign types."
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 (:trivial-features :cffi :cffi-grovel :iolib.base
19 :default-component-class iolib-source-file
20 :pathname #-asdf2 (merge-pathnames "syscalls/" *load-truename*)
25 (:file "syscall-path-strings" :pathname "unix-syscall-path-strings")
26 ;; Platform-specific files
27 (cffi-grovel:grovel-file "ffi-types" :pathname #+unix "ffi-types-unix")
29 (:file "os-conditions" :pathname #+unix "os-conditions-unix")
32 (:file "ffi-functions" :pathname #+unix "ffi-functions-unix"))