This repository has been archived by the owner on Jun 12, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathclaw.asd
111 lines (101 loc) · 3.59 KB
/
claw.asd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
(asdf:defsystem :claw/util
:description "Various utilities used across CLAW subsystems"
:author "Ryan Pavlik, Pavel Korolev"
:license "BSD-2-Clause"
:version "1.0"
:depends-on (:uiop :alexandria :cl-ppcre :local-time)
:pathname "src/"
:serial t
:components ((:file "sha1")
(:file "util")))
(asdf:defsystem :claw/spec
:description "Spec generation support and c2ffi interop for CLAW"
:author "Ryan Pavlik, Pavel Korolev"
:license "BSD-2-Clause"
:version "1.0"
:depends-on (:uiop :alexandria :claw-support :claw/util :cl-json)
:pathname "src/spec/"
:serial t
:components ((:file "packages")
(:file "util")
(:file "json")
(:file "c2ffi")
(:file "inclusion")
(:file "specification")
(:module entity
:serial t
:components ((:file "entity")
(:file "primitive")
(:file "alias")
(:file "pointer")
(:file "array")
(:file "enum")
(:file "record")
(:file "function")
(:file "extern")))))
(asdf:defsystem :claw/wrapper
:description "Wrapper definition interface for CLAW"
:author "Pavel Korolev"
:license "BSD-2-Clause"
:version "1.0"
:depends-on (:uiop :alexandria :cl-ppcre :claw/util :claw/spec)
:pathname "src/wrapper/"
:serial t
:components ((:file "packages")
(:file "library")
(:file "wrapper")))
(asdf:defsystem :claw/cffi
:description "CFFI generator for CLAW"
:author "Pavel Korolev"
:license "BSD-2-Clause"
:version "1.0"
:depends-on (:uiop :alexandria
:cffi :cl-json :cl-ppcre :trivial-features
:claw/util :claw/spec :claw/wrapper)
:pathname "src/cffi/c/"
:serial t
:components ((:file "packages")
(:file "util")
(:module generator
:serial t
:components ((:file "type")
(:file "primitive")
(:file "extern")
(:file "constant")
(:file "typedef")
(:file "enum")
(:file "struct")
(:file "function")))
(:module adapter
:serial t
:components ((:file "adapter")
(:static-file "template/dynamic.c")
(:file "dynamic")
(:static-file "template/static.c")
(:file "static")))
(:file "library")))
(asdf:defsystem :claw
:description "Generate clean & lean bindings easily"
:author "Pavel Korolev"
:license "BSD-2-Clause"
:version "1.0"
:depends-on (:cffi :claw/wrapper :claw/cffi)
:pathname "src/"
:serial t
:components ((:file "packages")))
(asdf:defsystem :claw/tests
:description "Tests for CLAW"
:author "Pavel Korolev"
:license "BSD-2-Clause"
:version "1.0"
:depends-on (:cffi :claw :fiveam :cffi-c-ref :claw-utils)
:pathname "t/"
:serial t
:components ((:file "packages")
(:module :c
:components ((:static-file "c.h")
(:static-file "c.c")
(:module :cffi
:serial t
:components ((:file "c")
(:file "tests")))))))