rename fest
[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
19 noinst_PROGRAMS = \
20  bug_null_pointer_exception 
21
22 gnunet_monkey_SOURCES = \
23  gdbmi.h \
24  gdbmi_alloc.c \
25  gdbmi_breakpoint.c \
26  gdbmi_connect.c \
27  gdbmi_cpp_int.cc \
28  gdbmi_data_man.c \
29  gdbmi_error.c \
30  gdbmi_get_free_pty.c \
31  gdbmi_get_free_vt.c \
32  gdbmi_misc.c \
33  gdbmi_parse.c \
34  gdbmi_prg_control.c \
35  gdbmi_stack_man.c \
36  gdbmi_symbol_query.c \
37  gdbmi_target_man.c \
38  gdbmi_thread.c \
39  gdbmi_var_obj.c \
40  gnunet-monkey.c
41
42 gnunet_monkey_LDADD = \
43   $(top_builddir)/src/util/libgnunetutil.la \
44   $(GN_LIBINTL)
45
46
47 gnunet_service_monkey_SOURCES = \
48  gnunet-service-monkey.c         
49 gnunet_service_monkey_LDADD = \
50   $(top_builddir)/src/util/libgnunetutil.la \
51   $(GN_LIBINTL)
52
53
54 mail_sender_SOURCES = \
55         mail_sender.c
56 mail_sender_LDADD = \
57         $(top_builddir)/src/util/libgnunetutil.la \
58         $(GN_LIBINTL)
59
60 bug_null_pointer_exception_SOURCES = \
61         bug_null_pointer_exception.c
62 bug_null_pointer_exception_LDADD = \
63         $(top_builddir)/src/util/libgnunetutil.la \
64         $(GN_LIBINTL)
65
66
67 #TESTS = $(check_PROGRAMS) $(check_SCRIPTS)
68
69 check_SCRIPTS = \
70   test_gnunet_monkey.sh
71
72 EXTRA_DIST = \
73   test_gnunet_monkey_data.conf \
74   $(check_SCRIPTS) 
75
76 endif
77