low level network API
[oweals/gnunet.git] / src / testing / 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 = --coverage -O0
9   XLIB = -lgcov
10 endif
11
12 lib_LTLIBRARIES = libgnunettesting.la
13
14 libgnunettesting_la_SOURCES = \
15   testing.c  \
16   testing_group.c \
17   testing_testbed.c 
18 libgnunettesting_la_LIBADD = $(XLIB) \
19  $(top_builddir)/src/core/libgnunetcore.la \
20  $(top_builddir)/src/transport/libgnunettransport.la \
21  $(top_builddir)/src/util/libgnunetutil.la 
22
23 check_PROGRAMS = \
24  test_testing
25
26 TESTS = $(check_PROGRAMS)
27
28 test_testing_SOURCES = \
29  test_testing.c
30 test_testing_LDADD = \
31  $(top_builddir)/src/testing/libgnunettesting.la \
32  $(top_builddir)/src/util/libgnunetutil.la  
33
34 EXTRA_DIST = test_testing_data.conf