-
Notifications
You must be signed in to change notification settings - Fork 0
/
dune
52 lines (48 loc) · 1.21 KB
/
dune
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
(vendored_dirs vendor)
(data_only_dirs submodules)
(rule
(copy lsp.opam.template jsonrpc.opam.template))
(env
(_
(flags :standard -alert -unstable)))
(subdir
vendor
(subdir
lev-fiber-csexp
(library
(name lev_fiber_csexp)
(libraries fiber csexp stdune dyn lev_fiber))
(copy_files# %{project_root}/submodules/lev/lev-fiber-csexp/src/*.{ml,mli}))
(subdir
lev-fiber
(subdir
util
(copy_files# %{project_root}/submodules/lev/lev-fiber/src/util/*.{ml,mli})
(library
(name lev_fiber_util)
(libraries stdune threads.posix)))
(copy_files# %{project_root}/submodules/lev/lev-fiber/src/*.{ml,mli})
(library
(name lev_fiber)
(libraries unix dyn stdune threads.posix fiber lev lev_fiber_util)))
(subdir
lev
(copy_files# %{project_root}/submodules/lev/lev/vendor/*.c)
(copy_files#
%{project_root}/submodules/lev/lev/vendor/{ev,ev_vars,ev_wrap}.h)
(copy_files# %{project_root}/submodules/lev/lev/src/*.{ml,mli,c,h})
(library
(name lev)
(synopsis "libev bindings")
(libraries unix)
(foreign_stubs
(language c)
(extra_deps
ev_kqueue.c
ev_epoll.c
ev_iouring.c
ev_poll.c
ev_port.c
ev_select.c
ev_win32.c)
(names lev_stubs ev)))))