mirror of
https://gitlab.kit.edu/kit/scc/sys/mail/exim-encrypt-dlfunc.git
synced 2025-12-06 10:23:55 +01:00
23 lines
869 B
Meson
23 lines
869 B
Meson
configure_file(output: 'config.h', configuration: conf_data)
|
|
|
|
executable('libexim-encrypt-dlfunc-genkeys', 'libexim-encrypt-dlfunc-genkeys.c',
|
|
dependencies : [ sodium_deps ],
|
|
install: true)
|
|
|
|
executable('libexim-encrypt-dlfunc-decrypt-sealedbox', 'libexim-encrypt-dlfunc-decrypt-sealedbox.c',
|
|
dependencies : [ sodium_deps ],
|
|
install: true)
|
|
|
|
executable('libexim-encrypt-dlfunc-decrypt-secretbox', 'libexim-encrypt-dlfunc-decrypt-secretbox.c',
|
|
dependencies : [ sodium_deps ],
|
|
install: true)
|
|
|
|
shared_library('exim-encrypt-dlfunc', 'libexim-encrypt-dlfunc.c',
|
|
dependencies : [ sodium_deps ],
|
|
install: true)
|
|
|
|
dlfunc_test = find_program('test_libexim-encrypt-dlfunc.sh')
|
|
test('simple test', dlfunc_test)
|
|
|
|
decrypt_secretbox_test = find_program('test_libexim-encrypt-dlfunc-decrypt-secretbox.sh')
|
|
test('decrypt-secretbox', decrypt_secretbox_test) |