- fix cli arg parse
[oweals/gnunet.git] / src / util / Makefile.am
index 98af961d5182574d7f728c9ced69ef960add37c1..a33d6f63dfd1bbe86ea0a0a6c3e57a97e0a0ffcf 100644 (file)
@@ -91,6 +91,8 @@ libgnunetutil_la_SOURCES = \
   crypto_hash.c \
   crypto_hkdf.c \
   crypto_kdf.c \
+  crypto_mpi.c \
+  crypto_paillier.c \
   crypto_random.c \
   disk.c \
   disk.h \
@@ -116,7 +118,7 @@ libgnunetutil_la_SOURCES = \
   signal.c \
   strings.c \
   time.c \
-  speedup.c
+  speedup.c speedup.h
 
 libgnunetutil_la_LIBADD = \
   $(GCLIBADD) $(WINLIB) \
@@ -127,7 +129,7 @@ libgnunetutil_la_LIBADD = \
 
 libgnunetutil_la_LDFLAGS = \
   $(GN_LIB_LDFLAGS) \
-  -version-info 11:0:2
+  -version-info 12:0:0
 
 if HAVE_TESTING
   GNUNET_ECC = gnunet-ecc
@@ -243,6 +245,7 @@ check_PROGRAMS = \
  test_crypto_ecdhe \
  test_crypto_hash \
  test_crypto_hkdf \
+ test_crypto_paillier \
  test_crypto_random \
  test_disk \
  test_getopt \
@@ -276,6 +279,7 @@ check_PROGRAMS = \
  test_common_logging_runtime_loglevels
 
 if ENABLE_TEST_RUN
+AM_TESTS_ENVIRONMENT=export GNUNET_PREFIX=$${GNUNET_PREFIX:-@libdir@};export PATH=$${GNUNET_PREFIX:-@prefix@}/bin:$$PATH;
 TESTS = $(check_PROGRAMS)
 endif
 
@@ -395,6 +399,12 @@ test_crypto_hkdf_SOURCES = \
 test_crypto_hkdf_LDADD = \
  $(top_builddir)/src/util/libgnunetutil.la
 
+test_crypto_paillier_SOURCES = \
+ test_crypto_paillier.c
+test_crypto_paillier_LDADD = \
+ -lgcrypt \
+ $(top_builddir)/src/util/libgnunetutil.la
+
 test_crypto_random_SOURCES = \
  test_crypto_random.c
 test_crypto_random_LDADD = \