dee65d729292c9a09ed52ca075071e092115abac
[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
15 bin_PROGRAMS = \
16  gnunet-monkey \
17  gnunet-service-monkey \
18  mail_sender
19
20 noinst_PROGRAMS = \
21  bug_null_pointer_exception 
22
23 gnunet_monkey_SOURCES = \
24  gdbmi.h \
25  gdbmi_alloc.c \
26  gdbmi_breakpoint.c \
27  gdbmi_connect.c \
28  gdbmi_cpp_int.cc \
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
43 gnunet_monkey_LDADD = \
44   $(top_builddir)/src/util/libgnunetutil.la \
45   $(GN_LIBINTL)
46
47
48 gnunet_service_monkey_SOURCES = \
49  gnunet-service-monkey.c         
50 gnunet_service_monkey_LDADD = \
51   $(top_builddir)/src/util/libgnunetutil.la \
52   $(GN_LIBINTL)
53
54
55 mail_sender_SOURCES = \
56         mail_sender.c
57 mail_sender_LDADD = \
58         $(top_builddir)/src/util/libgnunetutil.la \
59         -lesmtp \
60         $(GN_LIBINTL)
61
62 bug_null_pointer_exception_SOURCES = \
63         bug_null_pointer_exception.c
64 bug_null_pointer_exception_LDADD = \
65         $(top_builddir)/src/util/libgnunetutil.la \
66         $(GN_LIBINTL)
67
68
69 #TESTS = $(check_PROGRAMS) $(check_SCRIPTS)
70
71 check_SCRIPTS = \
72   test_gnunet_monkey.sh
73
74 EXTRA_DIST = \
75   test_gnunet_monkey_data.conf \
76   $(check_SCRIPTS) 
77
78 endif
79