check experimental
[oweals/gnunet.git] / src / experimentation / 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   experimentation.conf
9
10 if MINGW
11  WINFLAGS = -Wl,--no-undefined -Wl,--export-all-symbols -lole32 -lshell32 -liconv -lstdc++ -lcomdlg32 -lgdi32
12 endif
13
14 if USE_COVERAGE
15   AM_CFLAGS = --coverage -O0
16   XLIB = -lgcov
17 endif
18
19
20 if HAVE_EXPERIMENTAL
21  TEXT_EXP_CLIQUE = test_experimentation_clique
22 endif 
23
24 check_PROGRAMS = \
25  $(TEXT_EXP_CLIQUE)
26  
27 if ENABLE_TEST_RUN
28  TESTS = \
29  $(TEXT_EXP_CLIQUE)
30 endif
31
32 libexec_PROGRAMS = \
33  gnunet-daemon-experimentation
34
35 gnunet_daemon_experimentation_SOURCES = \
36  gnunet-daemon-experimentation.c \
37  gnunet-daemon-experimentation_capabilites.c \
38  gnunet-daemon-experimentation_nodes.c 
39 gnunet_daemon_experimentation_LDADD = \
40   $(top_builddir)/src/core/libgnunetcore.la \
41   $(top_builddir)/src/statistics/libgnunetstatistics.la \
42   $(top_builddir)/src/util/libgnunetutil.la 
43
44 test_experimentation_clique_SOURCES = \
45  test_experimentation_clique.c
46 test_experimentation_clique_LDADD = \
47  $(top_builddir)/src/util/libgnunetutil.la \
48  $(top_builddir)/src/statistics/libgnunetstatistics.la \
49  $(top_builddir)/src/testbed/libgnunettestbed.la
50  
51 EXTRA_DIST = \
52  test_experimentation_clique.conf