X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=src%2Futil%2FMakefile.am;h=4ae073c2ccb5210a07a1348dea6a9883955d492a;hb=6ede545d597509fefcc3d4fd2ef865bc5f57603f;hp=2ca9770655c30b12b15d1a8b0614fff49363a545;hpb=c253a40bae417335fab8446f3c7182c8c5d4833f;p=oweals%2Fgnunet.git diff --git a/src/util/Makefile.am b/src/util/Makefile.am index 2ca977065..4ae073c2c 100644 --- a/src/util/Makefile.am +++ b/src/util/Makefile.am @@ -30,9 +30,9 @@ W32CONSOLEHELPER = gnunet-helper-w32-console endif if !MINGW - TEST_CLIENT_UNIC_NC = test_client_unix.nc + TEST_CLIENT_UNIX_NC = test_client_unix.nc else - TEST_CLIENT_UNIC_NC = + TEST_CLIENT_UNIX_NC = endif if USE_COVERAGE @@ -89,6 +89,8 @@ libgnunetutil_la_SOURCES = \ crypto_rsa.c \ disk.c \ disk.h \ + dnsparser.c \ + dnsstub.c \ getopt.c \ getopt_helpers.c \ helper.c \ @@ -104,12 +106,14 @@ libgnunetutil_la_SOURCES = \ peer.c \ plugin.c \ program.c \ + regex.c \ resolver_api.c resolver.h \ scheduler.c \ - service_new.c \ + service.c \ signal.c \ strings.c \ time.c \ + tun.c \ speedup.c speedup.h libgnunetutil_la_LIBADD = \ @@ -117,13 +121,12 @@ libgnunetutil_la_LIBADD = \ $(LIBGCRYPT_LIBS) \ $(LTLIBICONV) \ $(LTLIBINTL) \ - -lltdl $(Z_LIBS) -lunistring $(XLIB) + -lltdl -lidn $(Z_LIBS) -lunistring $(XLIB) libgnunetutil_la_LDFLAGS = \ $(GN_LIB_LDFLAGS) \ -version-info 13:0:0 - libgnunetutil_taler_wallet_la_SOURCES = \ common_allocation.c \ common_endian.c \ @@ -163,6 +166,7 @@ lib_LTLIBRARIES = libgnunetutil.la libexec_PROGRAMS = \ gnunet-service-resolver \ + gnunet-timeout \ $(W32CONSOLEHELPER) bin_SCRIPTS =\ @@ -189,6 +193,15 @@ endif endif +if !MINGW +gnunet_timeout_SOURCES = \ + gnunet-timeout.c +else +gnunet_timeout_SOURCES = \ + gnunet-timeout-w32.c +endif + + do_subst = $(SED) -e 's,[@]PYTHON[@],$(PYTHON),g' gnunet-qr: gnunet-qr.py.in Makefile @@ -200,6 +213,9 @@ gnunet_service_resolver_SOURCES = \ gnunet_service_resolver_LDADD = \ libgnunetutil.la \ $(GN_LIBINTL) +if HAVE_GETADDRINFO_A +gnunet_service_resolver_LDADD += -lanl +endif gnunet_resolver_SOURCES = \ @@ -289,19 +305,22 @@ check_PROGRAMS = \ test_crypto_rsa \ test_disk \ test_getopt \ + test_hexcoder \ test_mq \ test_os_network \ test_peer \ test_plugin \ test_program \ + test_regex \ test_resolver_api.nc \ test_scheduler \ test_scheduler_delay \ test_service \ test_strings \ test_strings_to_data \ - test_time \ test_speedup \ + test_time \ + test_tun \ $(BENCHMARKS) \ test_os_start_process \ test_common_logging_runtime_loglevels @@ -317,6 +336,20 @@ test_bio_SOURCES = \ test_bio_LDADD = \ libgnunetutil.la +test_hexcoder_SOURCES = \ + test_hexcoder.c +test_hexcoder_LDADD = \ + libgnunetutil.la + +test_tun_SOURCES = \ + test_tun.c +test_tun_LDADD = \ + libgnunetutil.la + +test_regex_SOURCES = \ + test_regex.c +test_regex_LDADD = \ + libgnunetutil.la test_os_start_process_SOURCES = \ test_os_start_process.c @@ -336,10 +369,10 @@ test_client_unix_nc_SOURCES = \ test_client_unix_nc_LDADD = \ libgnunetutil.la -test_socks_nc_SOURCES = \ - test_socks.c -test_socks_nc_LDADD = \ - libgnunetutil.la +#test_socks_nc_SOURCES = \ +# test_socks.c +#test_socks_nc_LDADD = \ +# libgnunetutil.la test_common_allocation_SOURCES = \ test_common_allocation.c