crypto_paillier.c \
crypto_random.c \
crypto_rsa.c \
- crypto_abe.c \
disk.c \
disk.h \
getopt.c \
$(LIBGCRYPT_LIBS) \
$(LTLIBICONV) \
$(LTLIBINTL) \
- $(ABE_LIBADD) \
- -lbswabe \
- -lssl \
- -lpbc \
- -lglib-2.0 \
-lltdl $(Z_LIBS) -lunistring $(XLIB)
+if HAVE_PBC
+if HAVE_ABE
+libgnunetutil_la_SOURCES += \
+ crypto_abe.c
+libgnunetutil_la_LIBADD += \
+ $(ABE_LIBADD) \
+ -lgabe \
+ -lpbc \
+ -lglib-2.0
+endif
+endif
+
libgnunetutil_la_LDFLAGS = \
$(GN_LIB_LDFLAGS) \
- $(ABE_LDADD) \
-version-info 13:0:0
-libgnunetutil_la_CFLAGS = \
- $(ABE_CFLAGS)
-
libgnunetutil_taler_wallet_la_SOURCES = \
common_allocation.c \
common_endian.c \
test_container_multipeermap \
test_container_heap \
test_crypto_symmetric \
- test_crypto_abe \
test_crypto_crc \
test_crypto_ecdsa \
test_crypto_eddsa \
test_crypto_symmetric_LDADD = \
libgnunetutil.la
-test_crypto_abe_SOURCES = \
- test_crypto_abe.c
-test_crypto_abe_LDADD = \
- libgnunetutil.la
-
test_crypto_crc_SOURCES = \
test_crypto_crc.c
test_crypto_crc_LDADD = \
test_speedup_LDADD = \
libgnunetutil.la
+if HAVE_PBC
+if HAVE_ABE
+test_crypto_abe_SOURCES = \
+ test_crypto_abe.c
+test_crypto_abe_LDADD = \
+ libgnunetutil.la
+check_PROGRAMS += \
+ test_crypto_abe
+endif
+endif
+
perf_crypto_hash_SOURCES = \
perf_crypto_hash.c
perf_crypto_hash_LDADD = \