1 INCLUDES = -I$(top_srcdir)/src/include
3 pkgcfgdir= $(pkgdatadir)/config.d/
5 libexecdir= $(pkglibdir)/libexec/
11 WINFLAGS = -Wl,--no-undefined -Wl,--export-all-symbols
15 AM_CFLAGS = -fprofile-arcs -ftest-coverage
20 GN_MLP_SRC = gnunet-service-ats_addresses_mlp.c gnunet-service-ats_addresses_mlp.h
21 GN_MLP_TEST = test_ats_mlp
22 GN_MLP_TEST_AVG = test_ats_mlp_averaging
23 GN_MLP_PERF = perf_ats_mlp
26 lib_LTLIBRARIES = libgnunetats.la
28 libgnunetats_la_SOURCES = \
29 ats_api_scheduling.c \
32 libgnunetats_la_LIBADD = \
33 $(top_builddir)/src/util/libgnunetutil.la \
36 libgnunetats_la_LDFLAGS = \
44 gnunet_service_ats_SOURCES = \
45 gnunet-service-ats.c gnunet-service-ats.h\
46 gnunet-service-ats_addresses.c gnunet-service-ats_addresses.h \
48 gnunet-service-ats_performance.c gnunet-service-ats_performance.h \
49 gnunet-service-ats_scheduling.c gnunet-service-ats_scheduling.h \
50 gnunet-service-ats_reservations.c gnunet-service-ats_reservations.h
51 gnunet_service_ats_LDADD = \
52 $(top_builddir)/src/statistics/libgnunetstatistics.la \
53 $(top_builddir)/src/util/libgnunetutil.la \
56 gnunet_service_ats_DEPENDENCIES = \
60 test_ats_api_scheduling_add_address \
61 test_ats_api_scheduling \
62 test_ats_api_scheduling_destroy_address \
63 test_ats_api_scheduling_destroy_session \
64 test_ats_api_reset_backoff \
65 test_ats_api_performance \
69 # test_ats_api_scheduling_get_type
70 # test_ats_api_bandwidth_consumption
73 TESTS = $(check_PROGRAMS)
77 test_ats_mlp_SOURCES = \
80 test_ats_mlp_LDADD = \
82 $(top_builddir)/src/util/libgnunetutil.la \
83 $(top_builddir)/src/statistics/libgnunetstatistics.la
85 test_ats_mlp_averaging_SOURCES = \
87 test_ats_mlp_averaging.c
88 test_ats_mlp_averaging_LDADD = \
90 $(top_builddir)/src/util/libgnunetutil.la \
91 $(top_builddir)/src/statistics/libgnunetstatistics.la
93 perf_ats_mlp_SOURCES = \
96 perf_ats_mlp_LDADD = \
98 $(top_builddir)/src/util/libgnunetutil.la \
99 $(top_builddir)/src/statistics/libgnunetstatistics.la
102 test_ats_api_scheduling_SOURCES = \
103 test_ats_api_scheduling.c
104 test_ats_api_scheduling_LDADD = \
105 $(top_builddir)/src/util/libgnunetutil.la \
106 $(top_builddir)/src/testing/libgnunettesting.la \
107 $(top_builddir)/src/ats/libgnunetats.la
109 test_ats_api_reset_backoff_SOURCES = \
110 test_ats_api_reset_backoff.c
111 test_ats_api_reset_backoff_LDADD = \
112 $(top_builddir)/src/util/libgnunetutil.la \
113 $(top_builddir)/src/testing/libgnunettesting.la \
114 $(top_builddir)/src/ats/libgnunetats.la
116 test_ats_api_scheduling_add_address_SOURCES = \
117 test_ats_api_scheduling_add_address.c
118 test_ats_api_scheduling_add_address_LDADD = \
119 $(top_builddir)/src/util/libgnunetutil.la \
120 $(top_builddir)/src/testing/libgnunettesting.la \
121 $(top_builddir)/src/ats/libgnunetats.la
123 test_ats_api_scheduling_destroy_address_SOURCES = \
124 test_ats_api_scheduling_destroy_address.c
125 test_ats_api_scheduling_destroy_address_LDADD = \
126 $(top_builddir)/src/util/libgnunetutil.la \
127 $(top_builddir)/src/testing/libgnunettesting.la \
128 $(top_builddir)/src/ats/libgnunetats.la
130 test_ats_api_scheduling_destroy_session_SOURCES = \
131 test_ats_api_scheduling_destroy_session.c
132 test_ats_api_scheduling_destroy_session_LDADD = \
133 $(top_builddir)/src/util/libgnunetutil.la \
134 $(top_builddir)/src/testing/libgnunettesting.la \
135 $(top_builddir)/src/ats/libgnunetats.la
137 #test_ats_api_scheduling_get_type_SOURCES = \
138 # test_ats_api_scheduling_get_type.c
139 #test_ats_api_scheduling_get_type_LDADD = \
140 # $(top_builddir)/src/util/libgnunetutil.la \
141 # $(top_builddir)/src/ats/libgnunetats.la
143 #test_ats_api_bandwidth_consumption_SOURCES = \
144 # test_ats_api_bandwidth_consumption.c
145 #test_ats_api_bandwidth_consumption_LDADD = \
146 # $(top_builddir)/src/util/libgnunetutil.la \
147 # $(top_builddir)/src/testing/libgnunettesting.la \
148 # $(top_builddir)/src/ats/libgnunetats.la
150 #test_ats_api_update_address_SOURCES = \
151 # test_ats_api_update_address.c
152 #test_ats_api_update_address_LDADD = \
153 # $(top_builddir)/src/util/libgnunetutil.la \
154 # $(top_builddir)/src/ats/libgnunetats.la
156 test_ats_api_performance_SOURCES = \
157 test_ats_api_performance.c
158 test_ats_api_performance_LDADD = \
159 $(top_builddir)/src/util/libgnunetutil.la \
160 $(top_builddir)/src/testing/libgnunettesting.la \
161 $(top_builddir)/src/hello/libgnunethello.la \
162 $(top_builddir)/src/ats/libgnunetats.la