summaryrefslogtreecommitdiffstats
path: root/lib/crypto_backend/argon2/Makemodule.am
blob: 6fef2f16ce9e0939c4172e8240b3f0788c2703e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
noinst_LTLIBRARIES += libargon2.la

libargon2_la_CFLAGS = $(AM_CFLAGS) -std=c89 -pthread -O3
libargon2_la_CPPFLAGS = $(AM_CPPFLAGS) \
	-I lib/crypto_backend/argon2 \
	-I lib/crypto_backend/argon2/blake2

libargon2_la_SOURCES = \
	lib/crypto_backend/argon2/blake2/blake2b.c \
	lib/crypto_backend/argon2/blake2/blake2.h \
	lib/crypto_backend/argon2/blake2/blake2-impl.h \
	lib/crypto_backend/argon2/argon2.c \
	lib/crypto_backend/argon2/argon2.h \
	lib/crypto_backend/argon2/core.c \
	lib/crypto_backend/argon2/core.h \
	lib/crypto_backend/argon2/encoding.c \
	lib/crypto_backend/argon2/encoding.h \
	lib/crypto_backend/argon2/thread.c \
	lib/crypto_backend/argon2/thread.h

if CRYPTO_INTERNAL_SSE_ARGON2
libargon2_la_SOURCES += lib/crypto_backend/argon2/blake2/blamka-round-opt.h \
			lib/crypto_backend/argon2/opt.c
else
libargon2_la_SOURCES += lib/crypto_backend/argon2/blake2/blamka-round-ref.h \
			lib/crypto_backend/argon2/ref.c
endif

EXTRA_DIST += lib/crypto_backend/argon2/LICENSE
EXTRA_DIST += lib/crypto_backend/argon2/README