fix
[oweals/gnunet.git] / src / ats / Makefile.am
1 INCLUDES = -I$(top_srcdir)/src/include
2
3 if MINGW
4  WINFLAGS = -Wl,--no-undefined -Wl,--export-all-symbols 
5 endif
6
7 if USE_COVERAGE
8   AM_CFLAGS = -fprofile-arcs -ftest-coverage
9 endif
10
11 lib_LTLIBRARIES = libgnunetats.la
12
13 libgnunetats_la_SOURCES = \
14   ats_api_scheduling.c \
15   ats_api_performance.c 
16
17 libgnunetats_la_LIBADD = \
18  $(top_builddir)/src/util/libgnunetutil.la
19
20
21 bin_PROGRAMS = \
22  gnunet-service-ats
23
24 gnunet_service_ats_SOURCES = \
25  gnunet-service-ats.c \
26  gnunet-service-ats_addresses.c gnunet-service-ats_addresses.h \
27  gnunet-service-ats_performance.c gnunet-service-ats_performance.h \
28  gnunet-service-ats_scheduling.c gnunet-service-ats_scheduling.h \
29  gnunet-service-ats_reservations.c gnunet-service-ats_reservations.h
30 gnunet_service_ats_LDADD = \
31   $(top_builddir)/src/util/libgnunetutil.la \
32   $(GN_LIBINTL)
33
34
35 check_PROGRAMS = \
36  test_ats_api_scheduling
37 # test_ats_api_bandwidth_consumption
38  
39 if ENABLE_TEST_RUN
40 TESTS = $(check_PROGRAMS)
41 endif
42
43 test_ats_api_scheduling_SOURCES = \
44  test_ats_api_scheduling.c
45 test_ats_api_scheduling_LDADD = \
46   $(top_builddir)/src/util/libgnunetutil.la \
47   $(top_builddir)/src/ats/libgnunetats.la  
48
49 #test_ats_api_bandwidth_consumption_SOURCES = \
50 # test_ats_api_bandwidth_consumption.c
51 #test_ats_api_bandwidth_consumption_LDADD = \
52 #  $(top_builddir)/src/util/libgnunetutil.la \
53 #  $(top_builddir)/src/ats/libgnunetats.la  
54
55 #test_ats_api_update_address_SOURCES = \
56 # test_ats_api_update_address.c
57 #test_ats_api_update_address_LDADD = \
58 #  $(top_builddir)/src/util/libgnunetutil.la \
59 #  $(top_builddir)/src/ats/libgnunetats.la  
60
61
62 EXTRA_DIST = \
63   test_ats_api.conf
64