summaryrefslogtreecommitdiff
path: root/src/skey
diff options
context:
space:
mode:
authorWu Xiaotian <[email protected]>2020-04-05 22:02:48 +0800
committerraveit65 <[email protected]>2020-08-15 17:28:55 +0200
commitbc13d9f3af1d5114e47b75633c4fd5578214b460 (patch)
treec5641c063f491a00e98d17bd854cbd4c09c78581 /src/skey
parent2bb203914be10384b168282cb0ce592086fc99c8 (diff)
downloadmate-terminal-bc13d9f3af1d5114e47b75633c4fd5578214b460.tar.bz2
mate-terminal-bc13d9f3af1d5114e47b75633c4fd5578214b460.tar.xz
add meson build system
Diffstat (limited to 'src/skey')
-rw-r--r--src/skey/meson.build27
1 files changed, 27 insertions, 0 deletions
diff --git a/src/skey/meson.build b/src/skey/meson.build
new file mode 100644
index 0000000..0560e47
--- /dev/null
+++ b/src/skey/meson.build
@@ -0,0 +1,27 @@
+libskey = static_library(
+ 'skey',
+ sources : [
+ 'btoe.c',
+ 'btoe.h',
+ 'skey.h',
+ 'skey.c',
+ 'skeyutil.h',
+ 'skeyutil.c',
+ 'md4.c',
+ 'md4.h',
+ 'md5.c',
+ 'md5.h',
+ 'sha1.h',
+ 'sha1.c',
+ ],
+ dependencies : term_deps,
+ install: false,
+)
+
+t=executable('testskey',
+ 'test.c',
+ link_with : [libskey],
+ dependencies : term_deps,
+)
+
+test('test skey', t)