Use g_memdup2() where available and add fallback for older GLib versions
[platform/upstream/gstreamer.git] / tests / benchmarks / Makefile.am
index e18c8de..3d769f5 100644 (file)
@@ -1,16 +1,25 @@
+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
+        gstbufferstress \
+        $(TRACER_BENCH)
 
 LDADD = $(GST_OBJ_LIBS)
 AM_CFLAGS = $(GST_OBJ_CFLAGS)
 
 controller_CFLAGS  = $(GST_OBJ_CFLAGS) -I$(top_builddir)/libs
-controller_LDFLAGS = $(top_builddir)/libs/gst/controller/libgstcontroller-@GST_MAJORMINOR@.la
+controller_LDADD = $(top_builddir)/libs/gst/controller/libgstcontroller-@GST_API_VERSION@.la $(LDADD)