diff options
Diffstat (limited to 'src/multicast/Makefile.am')
-rw-r--r-- | src/multicast/Makefile.am | 75 |
1 files changed, 75 insertions, 0 deletions
diff --git a/src/multicast/Makefile.am b/src/multicast/Makefile.am new file mode 100644 index 000000000..0e1c77c41 --- /dev/null +++ b/src/multicast/Makefile.am | |||
@@ -0,0 +1,75 @@ | |||
1 | # This Makefile.am is in the public domain | ||
2 | AM_CPPFLAGS = -I$(top_srcdir)/src/include \ | ||
3 | $(GNUNET_CPPFLAGS) | ||
4 | pkgcfgdir= $(pkgdatadir)/config.d/ | ||
5 | |||
6 | libexecdir= $(pkglibdir)/libexec/ | ||
7 | |||
8 | pkgcfg_DATA = \ | ||
9 | multicast.conf | ||
10 | |||
11 | if USE_COVERAGE | ||
12 | AM_CFLAGS = -fprofile-arcs -ftest-coverage | ||
13 | endif | ||
14 | |||
15 | lib_LTLIBRARIES = libgnunetmulticast.la | ||
16 | |||
17 | libgnunetmulticast_la_SOURCES = \ | ||
18 | multicast_api.c multicast.h | ||
19 | libgnunetmulticast_la_LIBADD = \ | ||
20 | -lgnunetutil \ | ||
21 | $(GN_LIBINTL) $(XLIB) | ||
22 | libgnunetmulticast_la_LDFLAGS = \ | ||
23 | $(GN_LIB_LDFLAGS) $(WINFLAGS) \ | ||
24 | -version-info 0:0:0 | ||
25 | |||
26 | |||
27 | bin_PROGRAMS = \ | ||
28 | gnunet-multicast | ||
29 | |||
30 | libexec_PROGRAMS = \ | ||
31 | gnunet-service-multicast \ | ||
32 | $(EXP_LIBEXEC) | ||
33 | |||
34 | gnunet_multicast_SOURCES = \ | ||
35 | gnunet-multicast.c | ||
36 | gnunet_multicast_LDADD = \ | ||
37 | -lgnunetutil \ | ||
38 | $(GN_LIBINTL) | ||
39 | |||
40 | gnunet_service_multicast_SOURCES = \ | ||
41 | gnunet-service-multicast.c | ||
42 | gnunet_service_multicast_LDADD = \ | ||
43 | -lgnunetutil \ | ||
44 | -lgnunetcadet \ | ||
45 | -lgnunetstatistics \ | ||
46 | $(GN_LIBINTL) | ||
47 | |||
48 | check_PROGRAMS = \ | ||
49 | test_multicast \ | ||
50 | test_multicast_multipeer_star \ | ||
51 | test_multicast_multipeer_line | ||
52 | |||
53 | if ENABLE_TEST_RUN | ||
54 | AM_TESTS_ENVIRONMENT=export GNUNET_PREFIX=$${GNUNET_PREFIX:-@libdir@}; export PATH=$${GNUNET_PREFIX:-@prefix@}/bin:$$PATH; unset XDG_DATA_HOME; unset XDG_CONFIG_HOME; | ||
55 | TESTS = $(check_PROGRAMS) | ||
56 | endif | ||
57 | |||
58 | test_multicast_SOURCES = \ | ||
59 | test_multicast.c | ||
60 | test_multicast_LDADD = \ | ||
61 | libgnunetmulticast.la \ | ||
62 | -lgnunettesting \ | ||
63 | -lgnunetutil | ||
64 | test_multicast_multipeer_star_SOURCES = \ | ||
65 | test_multicast_multipeer.c | ||
66 | test_multicast_multipeer_star_LDADD = \ | ||
67 | libgnunetmulticast.la \ | ||
68 | -lgnunettestbed \ | ||
69 | -lgnunetutil | ||
70 | test_multicast_multipeer_line_SOURCES = \ | ||
71 | test_multicast_multipeer.c | ||
72 | test_multicast_multipeer_line_LDADD = \ | ||
73 | libgnunetmulticast.la \ | ||
74 | -lgnunettestbed \ | ||
75 | -lgnunetutil | ||