-avoid use after free
[oweals/gnunet.git] / src / conversation / Makefile.am
index e6469c00a34191fa2f19edcd751c9643b80d5a09..e408460984278a473b5851a834917e547e6329c4 100644 (file)
@@ -2,13 +2,11 @@ SUBDIRS = .
 
 plugindir = $(libdir)/gnunet
 
-INCLUDES = \
+AM_CPPFLAGS = \
+  $(GNUNET_CPPFLAGS) \
   -I$(top_srcdir)/src/include \
   -I$(top_srcdir)
 
-AM_CPPFLAGS = \
-  $(GNUNET_CPPFLAGS)
-
 lib_LTLIBRARIES = \
  libgnunetmicrophone.la \
  libgnunetspeaker.la \
@@ -49,7 +47,8 @@ libgnunetspeaker_la_LDFLAGS = \
 
 
 libgnunetconversation_la_SOURCES = \
-  conversation_api.c
+  conversation_api.c \
+  conversation_api_call.c
 libgnunetconversation_la_LIBADD = \
   $(top_builddir)/src/gns/libgnunetgns.la \
   $(top_builddir)/src/gnsrecord/libgnunetgnsrecord.la \
@@ -78,12 +77,14 @@ endif
 endif
 
 
-
 check_PROGRAMS = \
  test_conversation_api
 
+if HAVE_PULSE
+if HAVE_OPUS
 TESTS = $(check_PROGRAMS)
-
+endif
+endif
 
 gnunet_helper_audio_record_SOURCES = \
   gnunet-helper-audio-record.c