-fix time assertion introduce in last patch
[oweals/gnunet.git] / src / util / Makefile.am
index f8f6e2edef3052f08985a2c028ec5d70e88766dd..d4b0bb2e9f06ac59511445303c4fa5a946467fd8 100644 (file)
@@ -73,6 +73,7 @@ libgnunetutil_la_SOURCES = \
   bandwidth.c \
   bio.c \
   client.c \
+  client_manager.c \
   common_allocation.c \
   common_endian.c \
   common_logging.c \
@@ -91,6 +92,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 +119,7 @@ libgnunetutil_la_SOURCES = \
   signal.c \
   strings.c \
   time.c \
-  speedup.c
+  speedup.c speedup.h
 
 libgnunetutil_la_LIBADD = \
   $(GCLIBADD) $(WINLIB) \
@@ -127,10 +130,11 @@ 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
+  GNUNET_SCRYPT = gnunet-scrypt
 endif
 
 
@@ -145,6 +149,7 @@ bin_PROGRAMS = \
  gnunet-resolver \
  gnunet-config \
  $(GNUNET_ECC) \
+ $(GNUNET_SCRYPT) \
  gnunet-uri
 
 do_subst = $(SED) -e 's,[@]PYTHON[@],$(PYTHON),g'
@@ -179,6 +184,14 @@ gnunet_ecc_LDADD = \
 gnunet_ecc_DEPENDENCIES = \
   libgnunetutil.la
 
+gnunet_scrypt_SOURCES = \
+ gnunet-scrypt.c
+gnunet_scrypt_LDADD = \
+  $(top_builddir)/src/util/libgnunetutil.la \
+  $(GN_LIBINTL) -lgcrypt
+gnunet_scrypt_DEPENDENCIES = \
+  libgnunetutil.la
+
 
 gnunet_config_SOURCES = \
  gnunet-config.c
@@ -233,6 +246,7 @@ check_PROGRAMS = \
  test_crypto_ecdhe \
  test_crypto_hash \
  test_crypto_hkdf \
+ test_crypto_paillier \
  test_crypto_random \
  test_disk \
  test_getopt \
@@ -266,6 +280,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
 
@@ -385,6 +400,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 = \
+ $(LIBGCRYPT_LIBS) \
+ $(top_builddir)/src/util/libgnunetutil.la
+
 test_crypto_random_SOURCES = \
  test_crypto_random.c
 test_crypto_random_LDADD = \