i am a dumb dummy
[oweals/gnunet.git] / src / monkey / Makefile.am
index dee65d729292c9a09ed52ca075071e092115abac..39e5f8d5d4fbed0bd96b750a20a9c84d6dbce4dd 100644 (file)
@@ -11,11 +11,12 @@ endif
 
 
 if !MINGW
+if HAVE_ESMTP
+if HAVE_OPENSSL
 
 bin_PROGRAMS = \
  gnunet-monkey \
- gnunet-service-monkey \
- mail_sender
+ gnunet-service-monkey 
 
 noinst_PROGRAMS = \
  bug_null_pointer_exception 
@@ -25,7 +26,6 @@ gnunet_monkey_SOURCES = \
  gdbmi_alloc.c \
  gdbmi_breakpoint.c \
  gdbmi_connect.c \
- gdbmi_cpp_int.cc \
  gdbmi_data_man.c \
  gdbmi_error.c \
  gdbmi_get_free_pty.c \
@@ -38,10 +38,13 @@ gnunet_monkey_SOURCES = \
  gdbmi_target_man.c \
  gdbmi_thread.c \
  gdbmi_var_obj.c \
- gnunet-monkey.c
+ gnunet-monkey.c \
+ mail_sender.c \
+ edb_api.c
 
 gnunet_monkey_LDADD = \
   $(top_builddir)/src/util/libgnunetutil.la \
+  -lesmtp \
   $(GN_LIBINTL)
 
 
@@ -52,28 +55,33 @@ gnunet_service_monkey_LDADD = \
   $(GN_LIBINTL)
 
 
-mail_sender_SOURCES = \
-       mail_sender.c
-mail_sender_LDADD = \
-       $(top_builddir)/src/util/libgnunetutil.la \
-        -lesmtp \
-       $(GN_LIBINTL)
+bug_null_pointer_exception:
+       gcc -g -O0 -o bug_null_pointer_exception bug_null_pointer_exception.c
+       
+check_PROGRAMS = \
+    bug_null_pointer_exception
+    #test_gnunet_monkey        
 
-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)
+if !DISABLE_TEST_RUN
+# TESTS = $(check_SCRIPTS)
+endif
 
+#test_gnunet_monkey_SOURCES = \
+ #test_gnunet_monkey.c
+#test_gnunet_monkey_LDADD = \
+  #$(top_builddir)/src/arm/libgnunetarm.la \
+  #$(top_builddir)/src/util/libgnunetutil.la  
+  
+  
 check_SCRIPTS = \
-  test_gnunet_monkey.sh
+  #test_gnunet_monkey.sh \
+  #test_monkey_npe.sh
 
-EXTRA_DIST = \
-  test_gnunet_monkey_data.conf \
-  $(check_SCRIPTS) 
+#EXTRA_DIST = \
+#$(check_SCRIPTS) 
+#test_gnunet_monkey_data.conf 
 
 endif
+endif
+endif