Don't warn if we name FFI types using symbols in package COMMON-LISP
[cffi.git] / cffi.asd
blobb56f578702f0199e67df9d2b3a1fdfdea9d971b6
1 ;;;; -*- Mode: lisp; indent-tabs-mode: nil -*-
2 ;;;
3 ;;; cffi.asd --- ASDF system definition for CFFI.
4 ;;;
5 ;;; Copyright (C) 2005-2006, James Bielman  <jamesjb@jamesjb.com>
6 ;;; Copyright (C) 2005-2010, Luis Oliveira  <loliveira@common-lisp.net>
7 ;;;
8 ;;; Permission is hereby granted, free of charge, to any person
9 ;;; obtaining a copy of this software and associated documentation
10 ;;; files (the "Software"), to deal in the Software without
11 ;;; restriction, including without limitation the rights to use, copy,
12 ;;; modify, merge, publish, distribute, sublicense, and/or sell copies
13 ;;; of the Software, and to permit persons to whom the Software is
14 ;;; furnished to do so, subject to the following conditions:
15 ;;;
16 ;;; The above copyright notice and this permission notice shall be
17 ;;; included in all copies or substantial portions of the Software.
18 ;;;
19 ;;; THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
20 ;;; EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
21 ;;; MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
22 ;;; NONINFRINGEMENT.  IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
23 ;;; HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
24 ;;; WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
25 ;;; OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
26 ;;; DEALINGS IN THE SOFTWARE.
27 ;;;
29 (in-package :asdf)
31 #-(or openmcl mcl sbcl cmu scl clisp lispworks ecl allegro cormanlisp abcl mkcl)
32 (error "Sorry, this Lisp is not yet supported.  Patches welcome!")
34 (defsystem :cffi
35   :description "The Common Foreign Function Interface"
36   :author "James Bielman  <jamesjb@jamesjb.com>"
37   :maintainer "Luis Oliveira  <loliveira@common-lisp.net>"
38   :licence "MIT"
39   :depends-on (:alexandria :trivial-features :babel)
40   :components
41   ((:module "src"
42     :serial t
43     :components
44     (#+openmcl    (:file "cffi-openmcl")
45      #+mcl        (:file "cffi-mcl")
46      #+sbcl       (:file "cffi-sbcl")
47      #+cmu        (:file "cffi-cmucl")
48      #+scl        (:file "cffi-scl")
49      #+clisp      (:file "cffi-clisp")
50      #+lispworks  (:file "cffi-lispworks")
51      #+ecl        (:file "cffi-ecl")
52      #+allegro    (:file "cffi-allegro")
53      #+cormanlisp (:file "cffi-corman")
54      #+abcl       (:file "cffi-abcl")
55      #+mkcl       (:file "cffi-mkcl")
56      (:file "package")
57      (:file "utils")
58      (:file "libraries")
59      (:file "early-types")
60      (:file "types")
61      (:file "enum")
62      (:file "strings")
63      (:file "structures")
64      (:file "functions")
65      (:file "foreign-vars")
66      (:file "features")))))
68 (defmethod operation-done-p ((o test-op) (c (eql (find-system :cffi))))
69   nil)
71 (defmethod perform ((o test-op) (c (eql (find-system :cffi))))
72   (operate 'asdf:load-op :cffi-tests)
73   (operate 'asdf:test-op :cffi-tests))
75 ;; vim: ft=lisp et