diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2020-07-05 16:46:27 +0200 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2020-07-05 16:46:27 +0200 |
commit | feeb7602a9b386dfdd61190ce633a3b56a10c68f (patch) | |
tree | 44be1198f1bd797c9c0c84337ec1a0a1652521ea /src/Makefile.am | |
parent | d0a3a2b094f4057d8584e82deffb183a9b03b10d (diff) |
Add tool for creating argon2 hased passwords.
Diffstat (limited to 'src/Makefile.am')
-rw-r--r-- | src/Makefile.am | 27 |
1 files changed, 26 insertions, 1 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index c8a6560..750fb7c 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,6 +1,19 @@ SUBDIRS = ws -bin_PROGRAMS = muniad muniacli +noinst_LTLIBRARIES = libargon2.la + +bin_PROGRAMS = muniad muniacli muniapwd + +libargon2_la_CFLAGS = \ + -DARGON2_NO_THREADS -I$(top_srcdir)/argon2/include + +libargon2_la_SOURCES = \ + $(top_srcdir)/argon2/src/argon2.c \ + $(top_srcdir)/argon2/src/core.c \ + $(top_srcdir)/argon2/src/blake2/blake2b.c \ + $(top_srcdir)/argon2/src/thread.c \ + $(top_srcdir)/argon2/src/encoding.c \ + $(top_srcdir)/argon2/src/ref.c muniad_LDADD = $(LIBWEBSOCKETS_LIBS) $(EXPAT_LIBS) @@ -29,6 +42,18 @@ muniacli_CXXFLAGS = $(LIBWEBSOCKETS_CFLAGS) -I$(top_srcdir)/hugin muniacli_SOURCES = \ muniacli.cc +muniapwd_LDADD = libargon2.la + +muniapwd_CXXFLAGS = \ + -std=c++11 \ + $(LIBWEBSOCKETS_CFLAGS) \ + -I$(top_srcdir)/argon2/include + +muniapwd_SOURCES = \ + muniapwd.cc \ + salt.cc \ + hash.cc + EXTRA_DIST = \ connectionhandler.h \ errorcodes.h \ |