Use g_memdup2() where available and add fallback for older GLib versions
[platform/upstream/gstreamer.git] / tests / benchmarks / Makefile.am
index 3871e8c..3d769f5 100644 (file)
@@ -1,4 +1,25 @@
-noinst_PROGRAMS = caps mass-elements complexity
+if !GST_DISABLE_GST_DEBUG
+TRACER_BENCH = tracerserialize
+else
+TRACER_BENCH =
+endif
+
+noinst_PROGRAMS = \
+        caps \
+        capsnego \
+        complexity \
+        controller \
+        init \
+        mass-elements \
+        gstpollstress \
+        gstpoolstress \
+        gstclockstress \
+        gstbufferstress \
+        $(TRACER_BENCH)
 
 LDADD = $(GST_OBJ_LIBS)
 AM_CFLAGS = $(GST_OBJ_CFLAGS)
+
+controller_CFLAGS  = $(GST_OBJ_CFLAGS) -I$(top_builddir)/libs
+controller_LDADD = $(top_builddir)/libs/gst/controller/libgstcontroller-@GST_API_VERSION@.la $(LDADD)
+