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