mte/src/dune

120 lines
1.5 KiB
Text
Raw Normal View History

2025-09-13 15:56:19 +02:00
(executable
(name mte)
2026-03-20 23:08:55 +01:00
(modules
fat
headers
respond
pg_type
pg
2026-03-30 15:20:19 +02:00
env
mte_device
mte_handler
2026-03-20 23:08:55 +01:00
mte
mte_terms
mte_info
mte_management
secmod_eddsa
secmod_rsa
keys
log_reporter)
2026-03-11 14:17:52 +01:00
(link_flags :standard -cclib "-z solo5-abi=hvt")
2025-09-13 15:56:19 +02:00
(libraries
2026-03-20 23:08:55 +01:00
mte
2026-03-11 14:17:52 +01:00
;
mkernel
mnet
mnet-happy-eyeballs
mnet-dns
vifu
gmp
mirage-crypto
mirage-crypto-rng
mirage-crypto-rng-mkernel
mirage-mtime.solo5
mirage-ptime.solo5
mfat
;
2025-09-13 15:56:19 +02:00
caqti
caqti-miou
2026-03-11 14:17:52 +01:00
caqti-mnet
2025-09-13 15:56:19 +02:00
caqti-driver-pgx
2026-03-21 16:31:11 +01:00
pgx)
2026-03-20 23:08:55 +01:00
(foreign_stubs
(language c)
(names manifest)))
(library
(name mte)
(wrapped false)
(modules
result
2026-03-20 23:08:55 +01:00
syntax
bbin
2026-03-20 23:08:55 +01:00
amount
libtool_version
time
assets_crunch
assets
hash
eddsa
rsa
signkey
denomination
config_parser
config
signatures
api)
(libraries
2026-03-21 16:31:11 +01:00
(re_export b32)
2026-03-30 15:13:38 +02:00
(re_export taler_signature_purpose_codes)
2026-03-20 23:08:55 +01:00
;
2026-03-21 16:31:11 +01:00
angstrom
2026-03-20 23:08:55 +01:00
fmt
logs
logs.fmt
2026-03-21 16:31:11 +01:00
fpath
cohttp
2025-09-13 15:56:19 +02:00
bin
2026-03-20 23:08:55 +01:00
caqti
2026-03-11 14:17:52 +01:00
jsont
2026-03-20 23:08:55 +01:00
jsont.bytesrw
2025-09-13 15:56:19 +02:00
digestif
2026-03-20 23:08:55 +01:00
kdf.hkdf
2026-03-21 16:31:11 +01:00
zarith
eqaf
2026-03-20 23:08:55 +01:00
mirage-crypto-ec
mirage-crypto-pk
2026-03-21 16:31:11 +01:00
ptime
uri
;
))
2025-09-13 15:56:19 +02:00
(library ; crockford base32
(name b32)
(modules b32)
(libraries base32))
(rule
(target assets_crunch.ml)
(deps
2026-02-10 11:59:51 +01:00
(source_tree ../assets))
2025-09-13 15:56:19 +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-11 14:17:52 +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 "")))