Fix main test function arguments for perf_ats
[oweals/gnunet.git] / src / ats-tests / Makefile.am
1 INCLUDES = -I$(top_srcdir)/src/include
2
3 pkgcfgdir= $(pkgdatadir)/config.d/
4
5 libexecdir= $(pkglibdir)/libexec/
6
7 if MINGW
8  WINFLAGS = -Wl,--no-undefined -Wl,--export-all-symbols 
9 endif
10
11 if USE_COVERAGE
12   AM_CFLAGS = -fprofile-arcs -ftest-coverage
13 endif
14
15 if HAVE_LIBGLPK
16
17 endif
18
19 if HAVE_TESTING
20 TESTING_TESTS = \
21  perf_ats_proportional_bandwidth \
22  perf_ats_proportional_delay
23 endif
24
25 check_PROGRAMS = \
26  $(TESTING_TESTS)
27  
28 if ENABLE_TEST_RUN
29 TESTS = $(check_PROGRAMS)
30 endif
31
32 perf_ats_proportional_bandwidth_SOURCES = \
33   perf_ats.c  
34 perf_ats_proportional_bandwidth_LDADD = \
35   $(top_builddir)/src/util/libgnunetutil.la \
36   $(top_builddir)/src/testbed/libgnunettestbed.la \
37   $(top_builddir)/src/ats/libgnunetats.la \
38   $(top_builddir)/src/core/libgnunetcore.la  
39
40 perf_ats_proportional_delay_SOURCES = \
41   perf_ats.c  
42 perf_ats_proportional_delay_LDADD = \
43   $(top_builddir)/src/util/libgnunetutil.la \
44   $(top_builddir)/src/testbed/libgnunettestbed.la \
45   $(top_builddir)/src/ats/libgnunetats.la \
46   $(top_builddir)/src/core/libgnunetcore.la  
47
48 EXTRA_DIST = \
49   perf_ats_proportional_bandwidth.conf \
50   perf_ats_proportional_delay.conf