indentation
[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.c
15
16 libgnunetats_la_LIBADD = \
17  $(top_builddir)/src/util/libgnunetutil.la
18
19
20 #bin_PROGRAMS = \
21 # gnunet-service-ats
22
23 #gnunet_service_ats_SOURCES = \
24 # gnunet-service-ats.c         
25 #gnunet_service_ats_LDADD = \
26 #  $(top_builddir)/src/util/libgnunetutil.la \
27 #  $(GN_LIBINTL)
28
29
30 check_PROGRAMS = \
31  test_ats_api \
32  test_ats_api_update_address
33
34 if ENABLE_TEST_RUN
35 TESTS = $(check_PROGRAMS)
36 endif
37
38 test_ats_api_SOURCES = \
39  test_ats_api.c
40 test_ats_api_LDADD = \
41   $(top_builddir)/src/util/libgnunetutil.la \
42   $(top_builddir)/src/ats/libgnunetats.la  
43
44 test_ats_api_update_address_SOURCES = \
45  test_ats_api_update_address.c
46 test_ats_api_update_address_LDADD = \
47   $(top_builddir)/src/util/libgnunetutil.la \
48   $(top_builddir)/src/ats/libgnunetats.la  
49
50
51 EXTRA_DIST = \
52   test_ats_api.conf
53