diff options
Diffstat (limited to '')
-rw-r--r-- | mk/after-config.mk | 6 | ||||
-rw-r--r-- | mk/before-config.mk | 2 | ||||
l--------- | mk/blake2b=no.mk | 1 | ||||
-rw-r--r-- | mk/blake2b=yes.mk | 4 | ||||
l--------- | mk/blake2s=no.mk | 1 | ||||
-rw-r--r-- | mk/blake2s=yes.mk | 4 |
6 files changed, 17 insertions, 1 deletions
diff --git a/mk/after-config.mk b/mk/after-config.mk index 7afa950..209a6b2 100644 --- a/mk/after-config.mk +++ b/mk/after-config.mk @@ -21,6 +21,8 @@ include mk/blake224=$(SUPPORT_BLAKE224).mk include mk/blake256=$(SUPPORT_BLAKE256).mk include mk/blake384=$(SUPPORT_BLAKE384).mk include mk/blake512=$(SUPPORT_BLAKE512).mk +include mk/blake2s=$(SUPPORT_BLAKE2S).mk +include mk/blake2b=$(SUPPORT_BLAKE2B).mk CPPFLAGS_FULL =\ @@ -43,7 +45,9 @@ CPPFLAGS_FULL =\ $(CPPFLAGS_BLAKE224)\ $(CPPFLAGS_BLAKE256)\ $(CPPFLAGS_BLAKE384)\ - $(CPPFLAGS_BLAKE512) + $(CPPFLAGS_BLAKE512)\ + $(CPPFLAGS_BLAKE2S)\ + $(CPPFLAGS_BLAKE2B) LDFLAGS_FULL =\ $(LDFLAGS)\ diff --git a/mk/before-config.mk b/mk/before-config.mk index c77dd47..0e16b94 100644 --- a/mk/before-config.mk +++ b/mk/before-config.mk @@ -19,3 +19,5 @@ SUPPORT_BLAKE224 = $(DEFAULT_SUPPORT) SUPPORT_BLAKE256 = $(DEFAULT_SUPPORT) SUPPORT_BLAKE384 = $(DEFAULT_SUPPORT) SUPPORT_BLAKE512 = $(DEFAULT_SUPPORT) +SUPPORT_BLAKE2S = $(DEFAULT_SUPPORT) +SUPPORT_BLAKE2B = $(DEFAULT_SUPPORT) diff --git a/mk/blake2b=no.mk b/mk/blake2b=no.mk new file mode 120000 index 0000000..54299a4 --- /dev/null +++ b/mk/blake2b=no.mk @@ -0,0 +1 @@ +no
\ No newline at end of file diff --git a/mk/blake2b=yes.mk b/mk/blake2b=yes.mk new file mode 100644 index 0000000..0790c78 --- /dev/null +++ b/mk/blake2b=yes.mk @@ -0,0 +1,4 @@ +CPPFLAGS_BLAKE2B = -DSUPPORT_BLAKE2B + +CPPFLAGS_LIBBLAKE_IF_SUPPORTED = $(CPPFLAGS_LIBBLAKE) +LDFLAGS_LIBBLAKE_IF_SUPPORTED = $(LDFLAGS_LIBBLAKE) diff --git a/mk/blake2s=no.mk b/mk/blake2s=no.mk new file mode 120000 index 0000000..54299a4 --- /dev/null +++ b/mk/blake2s=no.mk @@ -0,0 +1 @@ +no
\ No newline at end of file diff --git a/mk/blake2s=yes.mk b/mk/blake2s=yes.mk new file mode 100644 index 0000000..caeed5f --- /dev/null +++ b/mk/blake2s=yes.mk @@ -0,0 +1,4 @@ +CPPFLAGS_BLAKE2S = -DSUPPORT_BLAKE2S + +CPPFLAGS_LIBBLAKE_IF_SUPPORTED = $(CPPFLAGS_LIBBLAKE) +LDFLAGS_LIBBLAKE_IF_SUPPORTED = $(LDFLAGS_LIBBLAKE) |