1 # This Makefile.am is in the public domain
2 AM_CPPFLAGS = -I$(top_srcdir)/src/include
4 pkgcfgdir= $(pkgdatadir)/config.d/
6 libexecdir= $(pkglibdir)/libexec/
12 WINFLAGS = -Wl,--no-undefined -Wl,--export-all-symbols
16 AM_CFLAGS = -fprofile-arcs -ftest-coverage
19 lib_LTLIBRARIES = libgnunetmulticast.la
21 libgnunetmulticast_la_SOURCES = \
24 libgnunetmulticast_la_LIBADD = \
25 $(top_builddir)/src/util/libgnunetutil.la \
27 libgnunetmulticast_la_LDFLAGS = \
28 $(GN_LIB_LDFLAGS) $(WINFLAGS) \
36 gnunet-service-multicast
38 gnunet_multicast_SOURCES = \
40 gnunet_multicast_LDADD = \
41 $(top_builddir)/src/util/libgnunetutil.la \
44 gnunet_service_multicast_SOURCES = \
45 gnunet-service-multicast.c
46 gnunet_service_multicast_LDADD = \
47 $(top_builddir)/src/util/libgnunetutil.la \
48 $(top_builddir)/src/cadet/libgnunetcadetnew.la \
49 $(top_builddir)/src/statistics/libgnunetstatistics.la \
55 test_multicast_multipeer
58 AM_TESTS_ENVIRONMENT=export GNUNET_PREFIX=$${GNUNET_PREFIX:-@libdir@}; export PATH=$${GNUNET_PREFIX:-@prefix@}/bin:$$PATH; unset XDG_DATA_HOME; unset XDG_CONFIG_HOME; export GNUNET_FORCE_LOG=';;;;INFO'
59 TESTS = $(check_PROGRAMS)
62 test_multicast_SOURCES = \
64 test_multicast_LDADD = \
65 libgnunetmulticast.la \
66 $(top_builddir)/src/testing/libgnunettesting.la \
67 $(top_builddir)/src/util/libgnunetutil.la
69 test_multicast_multipeer_SOURCE = \
70 test_multicast_multipeer.c
71 test_multicast_multipeer_LDADD = \
72 libgnunetmulticast.la \
73 $(top_builddir)/src/testbed/libgnunettestbed.la \
74 $(top_builddir)/src/util/libgnunetutil.la