X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=src%2Futil%2FMakefile.am;h=44e22e390c48a977b8eee0ecd19785ee2b1d31d6;hb=72c8645af31896829b674b575c5375706f362a30;hp=ac855c25e9d0118ab48e8ad00c447f98039e648d;hpb=7e53c7855a15eb7049d391f1a1b32aff822c5c5b;p=oweals%2Fgnunet.git diff --git a/src/util/Makefile.am b/src/util/Makefile.am index ac855c25e..44e22e390 100644 --- a/src/util/Makefile.am +++ b/src/util/Makefile.am @@ -90,6 +90,7 @@ libgnunetutil_la_SOURCES = \ getopt_helpers.c \ helper.c \ load.c \ + mq.c \ network.c \ os_installation.c \ os_network.c \ @@ -109,18 +110,24 @@ libgnunetutil_la_SOURCES = \ time.c \ speedup.c +libgnunetutil_la_CPPFLAGS = \ + $(LTDLINCL) libgnunetutil_la_LIBADD = \ $(GCLIBADD) $(WINLIB) \ $(LIBGCRYPT_LIBS) \ $(LTLIBICONV) \ $(LTLIBINTL) \ - -lltdl -lz -lunistring $(XLIB) + $(LIBLTDL) $(Z_LIBS) -lunistring $(XLIB) libgnunetutil_la_LDFLAGS = \ $(GN_LIB_LDFLAGS) \ -version-info 11:0:2 +if HAVE_TESTING + GNUNET_ECC = gnunet-ecc +endif + libexec_PROGRAMS = \ gnunet-service-resolver @@ -128,7 +135,7 @@ libexec_PROGRAMS = \ bin_PROGRAMS = \ gnunet-resolver \ gnunet-config \ - gnunet-ecc \ + $(GNUNET_ECC) \ gnunet-rsa \ gnunet-uri @@ -230,8 +237,9 @@ check_PROGRAMS = \ test_connection_timeout \ test_connection_timeout_no_connect \ test_connection_transmit_cancel \ + test_mq \ + test_mq_client \ test_os_network \ - test_os_priority \ test_peer \ test_plugin \ test_program \ @@ -416,16 +424,21 @@ test_connection_transmit_cancel_SOURCES = \ test_connection_transmit_cancel_LDADD = \ $(top_builddir)/src/util/libgnunetutil.la +test_mq_SOURCES = \ + test_mq.c +test_mq_LDADD = \ + $(top_builddir)/src/util/libgnunetutil.la + +test_mq_client_SOURCES = \ + test_mq_client.c +test_mq_client_LDADD = \ + $(top_builddir)/src/util/libgnunetutil.la + test_os_network_SOURCES = \ test_os_network.c test_os_network_LDADD = \ $(top_builddir)/src/util/libgnunetutil.la -test_os_priority_SOURCES = \ - test_os_priority.c -test_os_priority_LDADD = \ - $(top_builddir)/src/util/libgnunetutil.la - test_peer_SOURCES = \ test_peer.c test_peer_LDADD = \