diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 34 |
1 files changed, 31 insertions, 3 deletions
@@ -18,6 +18,10 @@ SUPPORT_KECCAK = $(DEFAULT_SUPPORT) SUPPORT_SHA3 = $(DEFAULT_SUPPORT) SUPPORT_SHAKE = $(DEFAULT_SUPPORT) SUPPORT_RAWSHAKE = $(DEFAULT_SUPPORT) +SUPPORT_BLAKE224 = $(DEFAULT_SUPPORT) +SUPPORT_BLAKE256 = $(DEFAULT_SUPPORT) +SUPPORT_BLAKE384 = $(DEFAULT_SUPPORT) +SUPPORT_BLAKE512 = $(DEFAULT_SUPPORT) CONFIGFILE = config.mk @@ -39,6 +43,9 @@ LIB_NAME = hashsum 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 @@ -52,6 +59,10 @@ 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 =\ @@ -69,13 +80,19 @@ CPPFLAGS_FULL =\ $(CPPFLAGS_KECCAK)\ $(CPPFLAGS_SHA3)\ $(CPPFLAGS_SHAKE)\ - $(CPPFLAGS_RAWSHAKE) + $(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_LIBKECCAK_IF_SUPPORTED)\ + $(LDFLAGS_LIBBLAKE_IF_SUPPORTED) OBJ =\ @@ -115,6 +132,13 @@ OBJ =\ libhashsum_init_rawshake256_hasher.o\ libhashsum_init_rawshake512_hasher.o\ libhashsum_init_rawshake_hasher.o\ + libhashsum_init_blake224_hasher.o\ + libhashsum_init_blake256_hasher.o\ + libhashsum_init_blakes_hasher.o\ + libhashsum_init_blake384_hasher.o\ + libhashsum_init_blake512_hasher.o\ + libhashsum_init_blakeb_hasher.o\ + libhashsum_init_blake_hasher.o\ libhashsum_reverse_byte__.o\ libhashsum_init_keccak__.o @@ -145,7 +169,11 @@ TEST =\ sha3_224.t\ sha3_256.t\ sha3_384.t\ - sha3_512.t + sha3_512.t\ + blake224.t\ + blake256.t\ + blake384.t\ + blake512.t LOBJ = $(OBJ:.o=.lo) TOBJ = $(TEST:.t=.o) |