2025-09-13 15:56:19 +02:00
|
|
|
(executable
|
|
|
|
|
(name mte)
|
2025-10-03 21:24:02 +02:00
|
|
|
(modules mte)
|
2026-03-12 12:29:50 +01:00
|
|
|
(link_flags :standard -cclib "-z solo5-abi=hvt")
|
|
|
|
|
(libraries mte)
|
|
|
|
|
(foreign_stubs
|
|
|
|
|
(language c)
|
|
|
|
|
(names manifest)))
|
2025-10-03 21:24:02 +02:00
|
|
|
|
|
|
|
|
(library
|
|
|
|
|
(name mte)
|
|
|
|
|
(wrapped false)
|
2025-11-28 09:55:41 +01:00
|
|
|
(modules :standard \ mte b32)
|
2025-09-28 21:27:15 +02:00
|
|
|
(libraries
|
2025-10-16 08:23:40 +02:00
|
|
|
b32
|
2025-10-06 22:26:50 +02:00
|
|
|
;
|
2025-11-11 03:12:12 +01:00
|
|
|
caqti
|
|
|
|
|
caqti-miou
|
|
|
|
|
caqti-miou.unix
|
|
|
|
|
caqti-driver-pgx
|
2025-10-06 23:56:10 +02:00
|
|
|
bin
|
2025-10-02 16:32:43 +02:00
|
|
|
mirage-crypto
|
2026-02-13 09:34:03 +01:00
|
|
|
kdf.hkdf
|
2025-10-17 22:04:35 +02:00
|
|
|
digestif
|
2025-10-01 19:34:42 +02:00
|
|
|
duration
|
2025-09-28 21:27:15 +02:00
|
|
|
vif
|
|
|
|
|
fmt
|
|
|
|
|
jsont
|
2025-10-17 15:09:47 +02:00
|
|
|
cohttp
|
2025-11-29 19:36:35 +01:00
|
|
|
ptime
|
|
|
|
|
logs
|
|
|
|
|
logs.fmt
|
|
|
|
|
logs.threaded
|
|
|
|
|
fmt.tty))
|
2025-09-28 21:27:15 +02:00
|
|
|
|
2025-11-28 09:55:41 +01:00
|
|
|
(library ; crockford base32
|
|
|
|
|
(name b32)
|
|
|
|
|
(modules b32)
|
|
|
|
|
(libraries base32))
|
|
|
|
|
|
2025-09-13 19:32:30 +02:00
|
|
|
(rule
|
2025-09-23 20:58:34 +02:00
|
|
|
(target assets_crunch.ml)
|
2025-09-13 19:32:30 +02:00
|
|
|
(deps
|
2026-02-10 11:59:51 +01:00
|
|
|
(source_tree ../assets))
|
2025-09-13 19:32:30 +02:00
|
|
|
(action
|
|
|
|
|
(with-stdout-to
|
|
|
|
|
%{null}
|
2026-02-10 11:59:51 +01:00
|
|
|
(run ocaml-crunch -m plain ../assets -o %{target}))))
|
2026-03-12 12:29:50 +01:00
|
|
|
|
|
|
|
|
(rule
|
|
|
|
|
(targets manifest.c)
|
|
|
|
|
(deps manifest.json)
|
|
|
|
|
(enabled_if
|
|
|
|
|
(= %{context_name} "solo5"))
|
|
|
|
|
(action
|
|
|
|
|
(run solo5-elftool gen-manifest manifest.json manifest.c)))
|
|
|
|
|
|
|
|
|
|
(rule
|
|
|
|
|
(targets manifest.c)
|
|
|
|
|
(enabled_if
|
|
|
|
|
(= %{context_name} "default"))
|
|
|
|
|
(action
|
|
|
|
|
(write-file manifest.c "")))
|