clique
[oweals/gnunet.git] / src / integration-tests / 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 bin_PROGRAMS =
13
14 check_PROGRAMS =
15
16
17 if HAVE_PYTHON_PEXPECT
18 check_SCRIPTS = \
19  test_integration_bootstrap_and_connect.py \
20  test_integration_disconnect.py \
21  test_integration_clique.py
22 endif
23
24
25 if ENABLE_TEST_RUN
26 TESTS = \
27  $(check_SCRIPTS)  
28 endif
29
30 do_subst = $(SED) -e 's,[@]PYTHON[@],$(PYTHON),g'
31
32 test_integration_bootstrap_and_connect.py: test_integration_bootstrap_and_connect.py.in Makefile
33         $(do_subst) < $(srcdir)/test_integration_bootstrap_and_connect.py.in > test_integration_bootstrap_and_connect.py
34         chmod +x test_integration_bootstrap_and_connect.py
35
36 test_integration_disconnect.py: test_integration_disconnect.py.in Makefile
37         $(do_subst) < $(srcdir)/test_integration_disconnect.py.in > test_integration_disconnect.py
38         chmod +x test_integration_disconnect.py
39         
40 test_integration_clique.py: test_integration_clique.py.in Makefile
41         $(do_subst) < $(srcdir)/test_integration_clique.py.in > test_integration_clique.py
42         chmod +x test_integration_clique.py     
43
44 EXTRA_DIST = \
45    test_integration_bootstrap_and_connect.py.in \
46    test_integration_disconnect.py.in \ 
47    test_integration_clique.py.in
48
49
50 CLEANFILES = $(check_SCRIPTS)