increase timeout to give sparc buildbot a chance
[oweals/gnunet.git] / src / monkey / 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
13 if !MINGW
14 if HAVE_ESMTP
15 if HAVE_OPENSSL
16
17 bin_PROGRAMS = \
18  gnunet-monkey \
19  gnunet-service-monkey 
20
21 noinst_PROGRAMS = \
22  bug_null_pointer_exception 
23
24 gnunet_monkey_SOURCES = \
25  gdbmi.h \
26  gdbmi_alloc.c \
27  gdbmi_breakpoint.c \
28  gdbmi_connect.c \
29  gdbmi_data_man.c \
30  gdbmi_error.c \
31  gdbmi_get_free_pty.c \
32  gdbmi_get_free_vt.c \
33  gdbmi_misc.c \
34  gdbmi_parse.c \
35  gdbmi_prg_control.c \
36  gdbmi_stack_man.c \
37  gdbmi_symbol_query.c \
38  gdbmi_target_man.c \
39  gdbmi_thread.c \
40  gdbmi_var_obj.c \
41  gnunet-monkey.c \
42  mail_sender.c
43
44 gnunet_monkey_LDADD = \
45   $(top_builddir)/src/util/libgnunetutil.la \
46   -lesmtp \
47   $(GN_LIBINTL)
48
49
50 gnunet_service_monkey_SOURCES = \
51  gnunet-service-monkey.c         
52 gnunet_service_monkey_LDADD = \
53   $(top_builddir)/src/util/libgnunetutil.la \
54   $(GN_LIBINTL)
55
56
57 bug_null_pointer_exception_SOURCES = \
58         bug_null_pointer_exception.c
59 bug_null_pointer_exception_LDADD = \
60         $(top_builddir)/src/util/libgnunetutil.la \
61         $(GN_LIBINTL)
62         
63 check_PROGRAMS = \
64     bug_null_pointer_exception \
65     test_gnunet_monkey  
66
67 if !DISABLE_TEST_RUN
68 # TESTS = $(check_SCRIPTS)
69 endif
70
71 test_gnunet_monkey_SOURCES = \
72  test_gnunet_monkey.c
73 test_gnunet_monkey_LDADD = \
74   $(top_builddir)/src/arm/libgnunetarm.la \
75   $(top_builddir)/src/util/libgnunetutil.la  
76   
77   
78 check_SCRIPTS = \
79   test_gnunet_monkey.sh 
80 #  test_monkey_npe.sh
81
82 EXTRA_DIST = \
83   test_gnunet_monkey_data.conf \
84   $(check_SCRIPTS) 
85
86 endif
87 endif
88 endif
89