aboutsummaryrefslogtreecommitdiffstats
path: root/mk/after-config.mk
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2024-08-27 21:02:25 +0200
committerMattias Andrée <maandree@kth.se>2024-08-27 21:02:25 +0200
commit31d9446dc092f1787a19734ae9c30286a9fdba2a (patch)
tree52f32de3f10992a7f7e079f3b0b517272c349151 /mk/after-config.mk
parentm fix (diff)
downloadlibhashsum-31d9446dc092f1787a19734ae9c30286a9fdba2a.tar.gz
libhashsum-31d9446dc092f1787a19734ae9c30286a9fdba2a.tar.bz2
libhashsum-31d9446dc092f1787a19734ae9c30286a9fdba2a.tar.xz
m misc
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'mk/after-config.mk')
-rw-r--r--mk/after-config.mk53
1 files changed, 53 insertions, 0 deletions
diff --git a/mk/after-config.mk b/mk/after-config.mk
new file mode 100644
index 0000000..71a470c
--- /dev/null
+++ b/mk/after-config.mk
@@ -0,0 +1,53 @@
+CPPFLAGS_LIBKECCAK_IF_SUPPORTED =
+LDFLAGS_LIBKECCAK_IF_SUPPORTED =
+
+CPPFLAGS_LIBBLAKE_IF_SUPPORTED =
+LDFLAGS_LIBBLAKE_IF_SUPPORTED =
+
+include mk/md2=$(SUPPORT_MD2).mk
+include mk/md4=$(SUPPORT_MD4).mk
+include mk/md5=$(SUPPORT_MD5).mk
+include mk/ripemd-128=$(SUPPORT_RIPEMD_128).mk
+include mk/ripemd-160=$(SUPPORT_RIPEMD_160).mk
+include mk/ripemd-256=$(SUPPORT_RIPEMD_256).mk
+include mk/ripemd-320=$(SUPPORT_RIPEMD_320).mk
+include mk/sha1=$(SUPPORT_SHA1).mk
+include mk/sha2=$(SUPPORT_SHA2).mk
+include mk/keccak=$(SUPPORT_KECCAK).mk
+include mk/sha3=$(SUPPORT_SHA3).mk
+include mk/shake=$(SUPPORT_SHAKE).mk
+include mk/rawshake=$(SUPPORT_RAWSHAKE).mk
+include mk/blake224=$(SUPPORT_SHA3).mk
+include mk/blake256=$(SUPPORT_SHA3).mk
+include mk/blake384=$(SUPPORT_SHA3).mk
+include mk/blake512=$(SUPPORT_SHA3).mk
+
+
+CPPFLAGS_FULL =\
+ $(CPPFLAGS)\
+ $(CPPFLAGS_MD2)\
+ $(CPPFLAGS_MD4)\
+ $(CPPFLAGS_MD5)\
+ $(CPPFLAGS_RIPEMD_128)\
+ $(CPPFLAGS_RIPEMD_160)\
+ $(CPPFLAGS_RIPEMD_256)\
+ $(CPPFLAGS_RIPEMD_320)\
+ $(CPPFLAGS_SHA1)\
+ $(CPPFLAGS_SHA2)\
+ $(CPPFLAGS_LIBKECCAK_IF_SUPPORTED)\
+ $(CPPFLAGS_KECCAK)\
+ $(CPPFLAGS_SHA3)\
+ $(CPPFLAGS_SHAKE)\
+ $(CPPFLAGS_RAWSHAKE)\
+ $(CPPFLAGS_LIBBLAKE_IF_SUPPORTED)\
+ $(CPPFLAGS_BLAKE224)\
+ $(CPPFLAGS_BLAKE256)\
+ $(CPPFLAGS_BLAKE384)\
+ $(CPPFLAGS_BLAKE512)
+
+LDFLAGS_FULL =\
+ $(LDFLAGS)\
+ $(LDFLAGS_SHA1)\
+ $(LDFLAGS_SHA2)\
+ $(LDFLAGS_LIBKECCAK_IF_SUPPORTED)\
+ $(LDFLAGS_LIBBLAKE_IF_SUPPORTED)