aboutsummaryrefslogtreecommitdiff
path: root/src/monkey/Makefile.am
blob: 6c8c6f9b3eca80419e51896c8e4cb690e5e6b951 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
INCLUDES = -I$(top_srcdir)/src/include

if MINGW
 WINFLAGS = -Wl,--no-undefined -Wl,--export-all-symbols 
endif

if USE_COVERAGE
  AM_CFLAGS = --coverage -O0
  XLIB = -lgcov
endif


if !MINGW
if HAVE_ESMTP
if HAVE_OPENSSL

bin_PROGRAMS = \
 gnunet-monkey \
 gnunet-service-monkey \
 mail_sender

noinst_PROGRAMS = \
 bug_null_pointer_exception 

gnunet_monkey_SOURCES = \
 gdbmi.h \
 gdbmi_alloc.c \
 gdbmi_breakpoint.c \
 gdbmi_connect.c \
 gdbmi_data_man.c \
 gdbmi_error.c \
 gdbmi_get_free_pty.c \
 gdbmi_get_free_vt.c \
 gdbmi_misc.c \
 gdbmi_parse.c \
 gdbmi_prg_control.c \
 gdbmi_stack_man.c \
 gdbmi_symbol_query.c \
 gdbmi_target_man.c \
 gdbmi_thread.c \
 gdbmi_var_obj.c \
 gnunet-monkey.c

gnunet_monkey_LDADD = \
  $(top_builddir)/src/util/libgnunetutil.la \
  $(GN_LIBINTL)


gnunet_service_monkey_SOURCES = \
 gnunet-service-monkey.c         
gnunet_service_monkey_LDADD = \
  $(top_builddir)/src/util/libgnunetutil.la \
  $(GN_LIBINTL)


mail_sender_SOURCES = \
	mail_sender.c
mail_sender_LDADD = \
	$(top_builddir)/src/util/libgnunetutil.la \
        -lesmtp \
	$(GN_LIBINTL)

bug_null_pointer_exception_SOURCES = \
	bug_null_pointer_exception.c
bug_null_pointer_exception_LDADD = \
	$(top_builddir)/src/util/libgnunetutil.la \
	$(GN_LIBINTL)


#TESTS = $(check_PROGRAMS) $(check_SCRIPTS)

check_SCRIPTS = \
  test_gnunet_monkey.sh

EXTRA_DIST = \
  test_gnunet_monkey_data.conf \
  $(check_SCRIPTS) 

endif
endif
endif