upstream: https://github.com/mirage/mirage-crypto
1(library
2 (name crypto)
3 (public_name crypto)
4 (libraries eqaf fmt)
5 (private_modules
6 aead
7 chacha20
8 ccm
9 cipher_block
10 cipher_stream
11 native
12 poly1305
13 uncommon)
14 (foreign_stubs
15 (language c)
16 (names
17 detect_cpu_features
18 misc
19 misc_sse
20 aes_generic
21 aes_aesni
22 ghash_generic
23 ghash_pclmul
24 ghash_ctmul
25 des_generic
26 chacha
27 poly1305-donna
28 entropy_cpu_stubs)
29 (flags
30 (:standard)
31 (:include cflags_optimized.sexp)))
32 (foreign_stubs
33 (language c)
34 (names chacha_generic)
35 (flags
36 (:standard)
37 (:include cflags.sexp))))
38
39(env
40 (dev
41 (c_flags
42 (:include cflags_warn.sexp))))
43
44(include_subdirs unqualified)
45
46(rule
47 (targets cflags.sexp cflags_optimized.sexp cflags_warn.sexp)
48 (action
49 (run ../config/cfg.exe)))