partial docs
[oweals/gnunet.git] / src / set / Makefile.am
1 INCLUDES = -I$(top_srcdir)/src/include
2
3 pkgcfgdir= $(pkgdatadir)/config.d/
4
5 libexecdir= $(pkglibdir)/libexec/
6
7 pkgcfg_DATA = \
8   set.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 bin_PROGRAMS = \
19  gnunet-set
20
21 libexec_PROGRAMS = \
22  gnunet-service-set
23
24 lib_LTLIBRARIES = \
25   libgnunetset.la
26
27 gnunet_set_SOURCES = \
28  gnunet-set.c
29 gnunet_set_LDADD = \
30   $(top_builddir)/src/util/libgnunetutil.la \
31   $(top_builddir)/src/set/libgnunetset.la \
32   $(top_builddir)/src/testbed/libgnunettestbed.la \
33   $(GN_LIBINTL)
34 gnunet_set_DEPENDENCIES = \
35   libgnunetset.la
36
37 gnunet_service_set_SOURCES = \
38  gnunet-service-set.c \
39  ibf.c \
40  strata_estimator.c
41 gnunet_service_set_LDADD = \
42   $(top_builddir)/src/util/libgnunetutil.la \
43   $(top_builddir)/src/core/libgnunetcore.la \
44   $(top_builddir)/src/stream/libgnunetstream.la \
45   $(top_builddir)/src/mesh/libgnunetmesh.la \
46   $(GN_LIBINTL)
47
48 libgnunetset_la_SOURCES = \
49   set_api.c \
50   mq.c
51 libgnunetset_la_LIBADD = \
52   $(top_builddir)/src/util/libgnunetutil.la \
53   $(LTLIBINTL)
54 libgnunetset_la_LDFLAGS = \
55   $(GN_LIB_LDFLAGS)
56
57 check_PROGRAMS = \
58  test_set_api
59
60 if ENABLE_TEST_RUN
61 TESTS = $(check_PROGRAMS)
62 endif
63
64 test_set_api_SOURCES = \
65  test_set_api.c
66 test_set_api_LDADD = \
67   $(top_builddir)/src/util/libgnunetutil.la \
68   $(top_builddir)/src/testing/libgnunettesting.la \
69   $(top_builddir)/src/set/libgnunetset.la
70
71 EXTRA_DIST = \
72   test_set.conf
73