diff options
Diffstat (limited to 'src/multicast/Makefile.am')
-rw-r--r-- | src/multicast/Makefile.am | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/src/multicast/Makefile.am b/src/multicast/Makefile.am new file mode 100644 index 000000000..e5bc04dfa --- /dev/null +++ b/src/multicast/Makefile.am | |||
@@ -0,0 +1,61 @@ | |||
1 | INCLUDES = -I$(top_srcdir)/src/include | ||
2 | |||
3 | pkgcfgdir= $(pkgdatadir)/config.d/ | ||
4 | |||
5 | libexecdir= $(pkglibdir)/libexec/ | ||
6 | |||
7 | pkgcfg_DATA = \ | ||
8 | multicast.conf | ||
9 | |||
10 | if MINGW | ||
11 | WINFLAGS = -Wl,--no-undefined -Wl,--export-all-symbols | ||
12 | endif | ||
13 | |||
14 | if USE_COVERAGE | ||
15 | AM_CFLAGS = -fprofile-arcs -ftest-coverage | ||
16 | endif | ||
17 | |||
18 | lib_LTLIBRARIES = libgnunetmulticast.la | ||
19 | |||
20 | libgnunetmulticast_la_SOURCES = \ | ||
21 | multicast_api.c | ||
22 | # multicast.h | ||
23 | libgnunetmulticast_la_LIBADD = \ | ||
24 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
25 | $(GN_LIBINTL) $(XLIB) | ||
26 | libgnunetmulticast_la_LDFLAGS = \ | ||
27 | $(GN_LIB_LDFLAGS) $(WINFLAGS) \ | ||
28 | -version-info 0:0:0 | ||
29 | |||
30 | |||
31 | bin_PROGRAMS = \ | ||
32 | gnunet-multicast | ||
33 | |||
34 | libexec_PROGRAMS = \ | ||
35 | gnunet-service-multicast | ||
36 | |||
37 | gnunet_multicast_SOURCES = \ | ||
38 | gnunet-multicast.c | ||
39 | gnunet_multicast_LDADD = \ | ||
40 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
41 | $(GN_LIBINTL) | ||
42 | |||
43 | gnunet_service_multicast_SOURCES = \ | ||
44 | gnunet-service-multicast.c | ||
45 | gnunet_service_multicast_LDADD = \ | ||
46 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
47 | $(GN_LIBINTL) | ||
48 | |||
49 | |||
50 | check_PROGRAMS = \ | ||
51 | test_multicast_api | ||
52 | |||
53 | if ENABLE_TEST_RUN | ||
54 | TESTS = $(check_PROGRAMS) | ||
55 | endif | ||
56 | |||
57 | test_multicast_api_SOURCES = \ | ||
58 | test_multicast_api.c | ||
59 | test_multicast_api_LDADD = \ | ||
60 | $(top_builddir)/src/util/libgnunetutil.la | ||
61 | |||