aboutsummaryrefslogtreecommitdiff
path: root/src/experimentation/Makefile.am
blob: 2521e48babbb00f2df27cf94e0971129909bb749 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
INCLUDES = -I$(top_srcdir)/src/include

pkgcfgdir= $(pkgdatadir)/config.d/

libexecdir= $(pkglibdir)/libexec/

pkgcfg_DATA = \
  experimentation.conf

if MINGW
 WINFLAGS = -Wl,--no-undefined -Wl,--export-all-symbols -lole32 -lshell32 -liconv -lstdc++ -lcomdlg32 -lgdi32
endif

if USE_COVERAGE
  AM_CFLAGS = --coverage -O0
  XLIB = -lgcov
endif


if HAVE_EXPERIMENTAL
 TEXT_EXP_CLIQUE = test_experimentation_clique
endif 

check_PROGRAMS = \
 $(TEXT_EXP_CLIQUE)
 
if ENABLE_TEST_RUN
 TESTS = \
 $(TEXT_EXP_CLIQUE)
endif

libexec_PROGRAMS = \
 gnunet-daemon-experimentation

gnunet_daemon_experimentation_SOURCES = \
 gnunet-daemon-experimentation.c \
 gnunet-daemon-experimentation_capabilities.c \
 gnunet-daemon-experimentation_nodes.c \
 gnunet-daemon-experimentation_experiments.c
gnunet_daemon_experimentation_LDADD = \
  $(top_builddir)/src/core/libgnunetcore.la \
  $(top_builddir)/src/statistics/libgnunetstatistics.la \
  $(top_builddir)/src/util/libgnunetutil.la 

test_experimentation_clique_SOURCES = \
 test_experimentation_clique.c
test_experimentation_clique_LDADD = \
 $(top_builddir)/src/util/libgnunetutil.la \
 $(top_builddir)/src/statistics/libgnunetstatistics.la \
 $(top_builddir)/src/testbed/libgnunettestbed.la
 
EXTRA_DIST = \
 test_experimentation_clique.conf