aboutsummaryrefslogtreecommitdiff
path: root/src/ats-tests/Makefile.am
blob: eace51e5d65364ad9c55a4723dea0c7660f6c358 (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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
AM_CPPFLAGS = -I$(top_srcdir)/src/include

pkgcfgdir= $(pkgdatadir)/config.d/

libexecdir= $(pkglibdir)/libexec/

if MINGW
 WINFLAGS = -Wl,--no-undefined -Wl,--export-all-symbols 
endif

if USE_COVERAGE
  AM_CFLAGS = -fprofile-arcs -ftest-coverage
endif

if HAVE_LIBGLPK
 PERF_MLP_BANDWIDTH = perf_ats_mlp_bandwidth
 PERF_MLP_LATENCY = perf_ats_mlp_latency
endif

if HAVE_TESTING
TESTING_TESTS = \
 perf_ats_proportional_bandwidth \
 perf_ats_proportional_latency
 #perf_ats_ril_bandwidth \
 #perf_ats_ril_latency \
 #$(PERF_MLP_BANDWIDTH) $(PERF_MLP_LATENCY)
endif

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

perf_ats_proportional_bandwidth_SOURCES = \
  perf_ats.c  
perf_ats_proportional_bandwidth_LDADD = \
  $(top_builddir)/src/util/libgnunetutil.la \
  $(top_builddir)/src/testbed/libgnunettestbed.la \
  $(top_builddir)/src/ats/libgnunetats.la \
  $(top_builddir)/src/core/libgnunetcore.la  

perf_ats_proportional_latency_SOURCES = \
  perf_ats.c  
perf_ats_proportional_latency_LDADD = \
  $(top_builddir)/src/util/libgnunetutil.la \
  $(top_builddir)/src/testbed/libgnunettestbed.la \
  $(top_builddir)/src/ats/libgnunetats.la \
  $(top_builddir)/src/core/libgnunetcore.la  
  
if HAVE_LIBGLPK
perf_ats_mlp_bandwidth_SOURCES = \
  perf_ats.c  
perf_ats_mlp_bandwidth_LDADD = \
  $(top_builddir)/src/util/libgnunetutil.la \
  $(top_builddir)/src/testbed/libgnunettestbed.la \
  $(top_builddir)/src/ats/libgnunetats.la \
  $(top_builddir)/src/core/libgnunetcore.la  
  
perf_ats_mlp_latency_SOURCES = \
  perf_ats.c  
perf_ats_mlp_latency_LDADD = \
  $(top_builddir)/src/util/libgnunetutil.la \
  $(top_builddir)/src/testbed/libgnunettestbed.la \
  $(top_builddir)/src/ats/libgnunetats.la \
  $(top_builddir)/src/core/libgnunetcore.la
endif

perf_ats_ril_bandwidth_SOURCES = \
  perf_ats.c  
perf_ats_ril_bandwidth_LDADD = \
  $(top_builddir)/src/util/libgnunetutil.la \
  $(top_builddir)/src/testbed/libgnunettestbed.la \
  $(top_builddir)/src/ats/libgnunetats.la \
  $(top_builddir)/src/core/libgnunetcore.la  
  
perf_ats_ril_latency_SOURCES = \
  perf_ats.c  
perf_ats_ril_latency_LDADD = \
  $(top_builddir)/src/util/libgnunetutil.la \
  $(top_builddir)/src/testbed/libgnunettestbed.la \
  $(top_builddir)/src/ats/libgnunetats.la \
  $(top_builddir)/src/core/libgnunetcore.la

EXTRA_DIST = \
  perf_ats_proportional_bandwidth.conf \
  perf_ats_proportional_latency.conf \
  perf_ats_mlp_bandwidth.conf \
  perf_ats_mlp_latency.conf \
  perf_ats_ril_bandwidth.conf \
  perf_ats_ril_latency.conf