From 7ea68e43017a769ef14823e519b346ba6c63d5e0 Mon Sep 17 00:00:00 2001 Message-Id: <7ea68e43017a769ef14823e519b346ba6c63d5e0.1714026400.git.mdw@distorted.org.uk> From: Mark Wooding Date: Wed, 11 Jul 2018 12:56:36 +0100 Subject: [PATCH] plugins/Makefile.am: Build standalone tracklength program. Organization: Straylight/Edgeware From: Mark Wooding This is mostly how I've been testing it; it seems harmless to include it here. --- plugins/Makefile.am | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/plugins/Makefile.am b/plugins/Makefile.am index 6c79cf6..0a64c1e 100644 --- a/plugins/Makefile.am +++ b/plugins/Makefile.am @@ -20,6 +20,7 @@ VPATH+=${top_srcdir}/common pkglib_LTLIBRARIES=disorder-tracklength.la fs.la notify.la exec.la shell.la \ execraw.la +check_PROGRAMS= AUTOMAKE_OPTIONS=subdir-objects AM_CPPFLAGS=-I${top_srcdir}/lib AM_CFLAGS= @@ -54,4 +55,10 @@ tracklength_gstreamer_la_LDFLAGS=-module tracklength_gstreamer_la_LIBADD=$(LIBOBJS) \ $(GSTREAMER_PLUGINS_BASE_LIBS) \ $(GSTREAMER_LIBS) +check_PROGRAMS+=tracklength-gstreamer-test +tracklength_gstreamer_test_SOURCES=tracklength-gstreamer.c +tracklength_gstreamer_test_LDADD=$(LIBOBJS) ../lib/libdisorder.a \ + $(GSTREAMER_PLUGINS_BASE_LIBS) \ + $(GSTREAMER_LIBS) +tracklength_gstreamer_test_CFLAGS=$(AM_CFLAGS) $(CFLAGS) -DSTANDALONE endif -- [mdw]