From 8972308e317b9dc354e68bc411983e396080caf1 Mon Sep 17 00:00:00 2001
From: Koh Ueno <koh.ueno@ligo.org>
Date: Thu, 12 Apr 2018 17:45:57 +0900
Subject: [PATCH] gstlal,gstlal-ugly,gstlal-inspiral,gstlal-burst:

- adjust gstreamer plugin .so filenames on gstreamer 1.14+ to work
around changes to name mangling used by the plugin scanner
---
 gstlal-burst/configure.ac            |  8 ++++++++
 gstlal-burst/gst/lal/Makefile.am     | 10 +++++-----
 gstlal-inspiral/configure.ac         |  8 ++++++++
 gstlal-inspiral/gst/lal/Makefile.am  | 10 +++++-----
 gstlal-ugly/configure.ac             |  8 ++++++++
 gstlal-ugly/gst/framecpp/Makefile.am | 10 +++++-----
 gstlal-ugly/gst/gds/Makefile.am      | 10 +++++-----
 gstlal-ugly/gst/lal/Makefile.am      | 10 +++++-----
 gstlal/configure.ac                  |  6 ++++++
 gstlal/doc/gobject/Makefile.am       |  4 ++--
 gstlal/gst/debug/Makefile.am         | 10 +++++-----
 gstlal/gst/gst/Makefile.am           | 10 +++++-----
 gstlal/gst/lal/Makefile.am           | 10 +++++-----
 13 files changed, 72 insertions(+), 42 deletions(-)

diff --git a/gstlal-burst/configure.ac b/gstlal-burst/configure.ac
index af76483741..6981690490 100644
--- a/gstlal-burst/configure.ac
+++ b/gstlal-burst/configure.ac
@@ -163,6 +163,14 @@ AC_MSG_NOTICE([If you have chosen to install the software in a location not incl
 to your GST_PLUGIN_PATH environment variable.])
 AC_SUBST([GSTLAL_PLUGIN_LDFLAGS], ["-module -avoid-version -export-symbols-regex [_]*\(gst_\|Gst\|GST_\|gstlal_\|GstLAL_\|GSTLAL_\).*"])
 
+gstreamer_VERSION=`$PKG_CONFIG --modversion gstreamer-${GSTREAMER_RELEASE}`
+AX_COMPARE_VERSION([$gstreamer_VERSION], [ge], [1.14.0], [
+	GSTPLUGINPREFIX="gst"
+], [
+	GSTPLUGINPREFIX=""
+])
+AC_SUBST([GSTPLUGINPREFIX])
+
 
 #
 # Check for GStreamer Audio Library
diff --git a/gstlal-burst/gst/lal/Makefile.am b/gstlal-burst/gst/lal/Makefile.am
index de024aa67c..9ae8941bc8 100644
--- a/gstlal-burst/gst/lal/Makefile.am
+++ b/gstlal-burst/gst/lal/Makefile.am
@@ -1,10 +1,10 @@
 AM_CPPFLAGS = -I$(top_srcdir)/lib
 
-plugin_LTLIBRARIES = libgstlalburst.la
+plugin_LTLIBRARIES = lib@GSTPLUGINPREFIX@gstlalburst.la
 
-libgstlalburst_la_SOURCES = \
+lib@GSTPLUGINPREFIX@gstlalburst_la_SOURCES = \
 	gstlalburst.c
-libgstlalburst_la_CFLAGS = $(AM_CFLAGS) $(LAL_CFLAGS) $(GSTLAL_CFLAGS) $(gstreamer_CFLAGS)
-libgstlalburst_la_LIBADD = $(top_builddir)/lib/libgstlalburst.la
-libgstlalburst_la_LDFLAGS = $(AM_LDFLAGS) $(LAL_LIBS) $(GSTLAL_LIBS) $(gstreamer_LIBS) $(GSTLAL_PLUGIN_LDFLAGS)
+lib@GSTPLUGINPREFIX@gstlalburst_la_CFLAGS = $(AM_CFLAGS) $(LAL_CFLAGS) $(GSTLAL_CFLAGS) $(gstreamer_CFLAGS)
+lib@GSTPLUGINPREFIX@gstlalburst_la_LIBADD = $(top_builddir)/lib/libgstlalburst.la
+lib@GSTPLUGINPREFIX@gstlalburst_la_LDFLAGS = $(AM_LDFLAGS) $(LAL_LIBS) $(GSTLAL_LIBS) $(gstreamer_LIBS) $(GSTLAL_PLUGIN_LDFLAGS)
 
diff --git a/gstlal-inspiral/configure.ac b/gstlal-inspiral/configure.ac
index dc1138b916..e857d0b780 100644
--- a/gstlal-inspiral/configure.ac
+++ b/gstlal-inspiral/configure.ac
@@ -182,6 +182,14 @@ AC_MSG_NOTICE([If you have chosen to install the software in a location not incl
 to your GST_PLUGIN_PATH environment variable.])
 AC_SUBST([GSTLAL_PLUGIN_LDFLAGS], ["-module -avoid-version -export-symbols-regex [_]*\(gst_\|Gst\|GST_\|gstlal_\|GstLAL_\|GSTLAL_\).*"])
 
+gstreamer_VERSION=`$PKG_CONFIG --modversion gstreamer-${GSTREAMER_RELEASE}`
+AX_COMPARE_VERSION([$gstreamer_VERSION], [ge], [1.14.0], [
+	GSTPLUGINPREFIX="gst"
+], [
+	GSTPLUGINPREFIX=""
+])
+AC_SUBST([GSTPLUGINPREFIX])
+
 
 #
 # Check for GStreamer Audio Library
diff --git a/gstlal-inspiral/gst/lal/Makefile.am b/gstlal-inspiral/gst/lal/Makefile.am
index e2ef260338..3de553fb2d 100644
--- a/gstlal-inspiral/gst/lal/Makefile.am
+++ b/gstlal-inspiral/gst/lal/Makefile.am
@@ -1,8 +1,8 @@
 AM_CPPFLAGS = -I$(top_srcdir)/lib -I$(top_srcdir)/lib/skymap
 
-plugin_LTLIBRARIES = libgstlalinspiral.la
+plugin_LTLIBRARIES = lib@GSTPLUGINPREFIX@gstlalinspiral.la
 
-libgstlalinspiral_la_SOURCES = \
+lib@GSTPLUGINPREFIX@gstlalinspiral_la_SOURCES = \
 	gstlalinspiral.c \
 	gstlal_itac.h gstlal_itac.c
 #gstlal_triggergen.h gstlal_triggergen.c
@@ -10,6 +10,6 @@ libgstlalinspiral_la_SOURCES = \
 #gstlal_coinc.h gstlal_coinc.c \
 #gstlal_skymap.h gstlal_skymap.c \
 #gstlal_timeslicechisq.h gstlal_timeslicechisq.c
-libgstlalinspiral_la_CFLAGS = $(AM_CFLAGS) $(GSL_CFLAGS) $(LAL_CFLAGS) $(GSTLAL_CFLAGS) $(gstreamer_CFLAGS) $(gstreamer_audio_CFLAGS)
-libgstlalinspiral_la_LIBADD = $(top_builddir)/lib/libgstlalinspiral.la  $(top_builddir)/lib/skymap/libwanalysis.la
-libgstlalinspiral_la_LDFLAGS = $(AM_LDFLAGS) $(GSL_LIBS) $(LAL_LIBS) $(GSTLAL_LIBS) $(gstreamer_LIBS) $(gstreamer_audio_LIBS) $(GSTLAL_PLUGIN_LDFLAGS)
+lib@GSTPLUGINPREFIX@gstlalinspiral_la_CFLAGS = $(AM_CFLAGS) $(GSL_CFLAGS) $(LAL_CFLAGS) $(GSTLAL_CFLAGS) $(gstreamer_CFLAGS) $(gstreamer_audio_CFLAGS)
+lib@GSTPLUGINPREFIX@gstlalinspiral_la_LIBADD = $(top_builddir)/lib/libgstlalinspiral.la  $(top_builddir)/lib/skymap/libwanalysis.la
+lib@GSTPLUGINPREFIX@gstlalinspiral_la_LDFLAGS = $(AM_LDFLAGS) $(GSL_LIBS) $(LAL_LIBS) $(GSTLAL_LIBS) $(gstreamer_LIBS) $(gstreamer_audio_LIBS) $(GSTLAL_PLUGIN_LDFLAGS)
diff --git a/gstlal-ugly/configure.ac b/gstlal-ugly/configure.ac
index 4ad30b087d..cf88d22ba1 100644
--- a/gstlal-ugly/configure.ac
+++ b/gstlal-ugly/configure.ac
@@ -226,6 +226,14 @@ AC_MSG_NOTICE([If you have chosen to install the software in a location not incl
 to your GST_PLUGIN_PATH environment variable.])
 AC_SUBST([GSTLAL_PLUGIN_LDFLAGS], ["-module -avoid-version -export-symbols-regex [_]*\(gst_\|Gst\|GST_\|gstlal_\|GstLAL_\|GSTLAL_\).*"])
 
+gstreamer_VERSION=`$PKG_CONFIG --modversion gstreamer-${GSTREAMER_RELEASE}`
+AX_COMPARE_VERSION([$gstreamer_VERSION], [ge], [1.14.0], [
+	GSTPLUGINPREFIX="gst"
+], [
+	GSTPLUGINPREFIX=""
+])
+AC_SUBST([GSTPLUGINPREFIX])
+
 
 #
 # Check for GStreamer Video Library
diff --git a/gstlal-ugly/gst/framecpp/Makefile.am b/gstlal-ugly/gst/framecpp/Makefile.am
index c06d40c2ff..9d98fa2280 100644
--- a/gstlal-ugly/gst/framecpp/Makefile.am
+++ b/gstlal-ugly/gst/framecpp/Makefile.am
@@ -1,8 +1,8 @@
 AM_CPPFLAGS = -I$(top_srcdir)/lib
 
-plugin_LTLIBRARIES = libframecpp_plugin.la
+plugin_LTLIBRARIES = libgstframecpp.la
 
-libframecpp_plugin_la_SOURCES = \
+libgstframecpp_la_SOURCES = \
 	framecpp_plugin.c \
 	gstfrpad.c gstfrpad.h \
 	marshal.c marshal.h \
@@ -12,6 +12,6 @@ libframecpp_plugin_la_SOURCES = \
 	framecpp_channeldemux.cc framecpp_channeldemux.h \
 	framecpp_filesink.c framecpp_filesink.h \
 	framecpp_igwdparse.cc framecpp_igwdparse.h
-libframecpp_plugin_la_CFLAGS = $(AM_CFLAGS) $(GSTLAL_CFLAGS) $(gstreamer_CFLAGS) $(gstreamer_audio_CFLAGS) $(framecpp_CFLAGS)
-libframecpp_plugin_la_CXXFLAGS = $(AM_CFLAGS) $(GSTLAL_CFLAGS) $(gstreamer_CFLAGS) $(gstreamer_audio_CFLAGS) $(framecpp_CXXFLAGS)
-libframecpp_plugin_la_LDFLAGS = $(AM_LDFLAGS) $(GSTLAL_LIBS) $(gstreamer_LIBS) $(gstreamer_audio_LIBS) $(framecpp_LIBS) $(GSTLAL_PLUGIN_LDFLAGS)
+libgstframecpp_la_CFLAGS = $(AM_CFLAGS) $(GSTLAL_CFLAGS) $(gstreamer_CFLAGS) $(gstreamer_audio_CFLAGS) $(framecpp_CFLAGS)
+libgstframecpp_la_CXXFLAGS = $(AM_CFLAGS) $(GSTLAL_CFLAGS) $(gstreamer_CFLAGS) $(gstreamer_audio_CFLAGS) $(framecpp_CXXFLAGS)
+libgstframecpp_la_LDFLAGS = $(AM_LDFLAGS) $(GSTLAL_LIBS) $(gstreamer_LIBS) $(gstreamer_audio_LIBS) $(framecpp_LIBS) $(GSTLAL_PLUGIN_LDFLAGS)
diff --git a/gstlal-ugly/gst/gds/Makefile.am b/gstlal-ugly/gst/gds/Makefile.am
index 9673936d0b..9d4b737c4d 100644
--- a/gstlal-ugly/gst/gds/Makefile.am
+++ b/gstlal-ugly/gst/gds/Makefile.am
@@ -1,13 +1,13 @@
 AM_CPPFLAGS = -I$(top_srcdir)/lib
 
-plugin_LTLIBRARIES = libgds_plugin.la
+plugin_LTLIBRARIES = libgstgds.la
 
-libgds_plugin_la_SOURCES = \
+libgstgds_la_SOURCES = \
 	gds_plugin.c \
 	framexmitsink.h framexmitsink.cc \
 	framexmitsrc.h framexmitsrc.cc \
 	lvshmsrc.h lvshmsrc.cc \
 	lvshmsink.h lvshmsink.cc
-libgds_plugin_la_CFLAGS = $(AM_CFLAGS) $(GSTLAL_CFLAGS) $(gstreamer_CFLAGS) $(gds_CFLAGS)
-libgds_plugin_la_CXXFLAGS = $(AM_CFLAGS) $(GSTLAL_CFLAGS) $(gstreamer_CFLAGS) $(gds_CFLAGS) $(gds_framexmit_CFLAGS)
-libgds_plugin_la_LDFLAGS = $(AM_LDFLAGS) $(GSTLAL_LIBS) $(gstreamer_LIBS) $(gds_LIBS) $(gds_framexmit_LIBS) $(GSTLAL_PLUGIN_LDFLAGS)
+libgstgds_la_CFLAGS = $(AM_CFLAGS) $(GSTLAL_CFLAGS) $(gstreamer_CFLAGS) $(gds_CFLAGS)
+libgstgds_la_CXXFLAGS = $(AM_CFLAGS) $(GSTLAL_CFLAGS) $(gstreamer_CFLAGS) $(gds_CFLAGS) $(gds_framexmit_CFLAGS)
+libgstgds_la_LDFLAGS = $(AM_LDFLAGS) $(GSTLAL_LIBS) $(gstreamer_LIBS) $(gds_LIBS) $(gds_framexmit_LIBS) $(GSTLAL_PLUGIN_LDFLAGS)
diff --git a/gstlal-ugly/gst/lal/Makefile.am b/gstlal-ugly/gst/lal/Makefile.am
index 9e58c72979..8142f198c5 100644
--- a/gstlal-ugly/gst/lal/Makefile.am
+++ b/gstlal-ugly/gst/lal/Makefile.am
@@ -1,8 +1,8 @@
 AM_CPPFLAGS = -I$(top_srcdir)/lib
 
-plugin_LTLIBRARIES = libgstlalugly.la
+plugin_LTLIBRARIES = lib@GSTPLUGINPREFIX@gstlalugly.la
 
-libgstlalugly_la_SOURCES = \
+lib@GSTPLUGINPREFIX@gstlalugly_la_SOURCES = \
 	gstlalugly.c \
 	audioratefaker.h audioratefaker.c \
 	gstlal_bitvectorgen.h gstlal_bitvectorgen.c \
@@ -16,6 +16,6 @@ libgstlalugly_la_SOURCES = \
 	#gstlal_pad.h gstlal_pad.c \
 	#gstlal_trim.h gstlal_trim.c
 
-libgstlalugly_la_CFLAGS = $(AM_CFLAGS) $(GSL_CFLAGS) $(FFTW_CFLAGS) $(LAL_CFLAGS) $(GSTLAL_CFLAGS) $(gstreamer_CFLAGS)
-libgstlalugly_la_LIBADD = $(top_builddir)/lib/libgstlalugly.la
-libgstlalugly_la_LDFLAGS = $(AM_LDFLAGS) $(GSL_LIBS) $(FFTW_LIBS) $(LAL_LIBS) $(GSTLAL_LIBS) $(gstreamer_LIBS) $(GSTLAL_PLUGIN_LDFLAGS)
+lib@GSTPLUGINPREFIX@gstlalugly_la_CFLAGS = $(AM_CFLAGS) $(GSL_CFLAGS) $(FFTW_CFLAGS) $(LAL_CFLAGS) $(GSTLAL_CFLAGS) $(gstreamer_CFLAGS)
+lib@GSTPLUGINPREFIX@gstlalugly_la_LIBADD = $(top_builddir)/lib/libgstlalugly.la
+lib@GSTPLUGINPREFIX@gstlalugly_la_LDFLAGS = $(AM_LDFLAGS) $(GSL_LIBS) $(FFTW_LIBS) $(LAL_LIBS) $(GSTLAL_LIBS) $(gstreamer_LIBS) $(GSTLAL_PLUGIN_LDFLAGS)
diff --git a/gstlal/configure.ac b/gstlal/configure.ac
index 7cbc82ca06..3706b2075d 100644
--- a/gstlal/configure.ac
+++ b/gstlal/configure.ac
@@ -199,6 +199,12 @@ gstreamer_VERSION=`$PKG_CONFIG --modversion gstreamer-${GSTREAMER_RELEASE}`
 AX_COMPARE_VERSION([$gstreamer_VERSION], [ge], [1.6.0], [
 	AC_DEFINE([HAVE_GSTREAMER_1_6], [1], [Defined if gstreamer >= 1.6.x])
 ])
+AX_COMPARE_VERSION([$gstreamer_VERSION], [ge], [1.14.0], [
+	GSTPLUGINPREFIX="gst"
+], [
+	GSTPLUGINPREFIX=""
+])
+AC_SUBST([GSTPLUGINPREFIX])
 
 
 #
diff --git a/gstlal/doc/gobject/Makefile.am b/gstlal/doc/gobject/Makefile.am
index 6ca82f9498..5739a68510 100644
--- a/gstlal/doc/gobject/Makefile.am
+++ b/gstlal/doc/gobject/Makefile.am
@@ -98,8 +98,8 @@ GTKDOC_LIBS = $(AM_LDFLAGS) -static \
 	$(top_builddir)/lib/gstlal/libgstlal.la \
 	$(top_builddir)/lib/gstlal/libgstlaltags.la \
 	$(top_builddir)/lib/gstlal/libgstlaltypes.la \
-	$(top_builddir)/gst/lal/libgstlal.la \
-	$(top_builddir)/gst/gst/libgstlaladder.la \
+	$(top_builddir)/gst/lal/lib@GSTPLUGINPREFIX@gstlal.la \
+	$(top_builddir)/gst/gst/libgstlal_adder.la \
 	$(GSL_LIBS) $(FFTW_LIBS) $(LAL_LIBS) $(gstreamer_LIBS)
 
 # This includes the standard gtk-doc make rules, copied by gtkdocize.
diff --git a/gstlal/gst/debug/Makefile.am b/gstlal/gst/debug/Makefile.am
index 2822ff0099..d06e8b1db8 100644
--- a/gstlal/gst/debug/Makefile.am
+++ b/gstlal/gst/debug/Makefile.am
@@ -1,10 +1,10 @@
 AM_CPPFLAGS = -I$(top_srcdir)/lib -I$(top_builddir)/lib
 
-#plugin_LTLIBRARIES = libgstlaldebug.la
+#plugin_LTLIBRARIES = lib@GSTPLUGINPREFIX@gstlaldebug.la
 
-libgstlaldebug_la_SOURCES = \
+lib@GSTPLUGINPREFIX@gstlaldebug_la_SOURCES = \
 	gstlaldebugplugin.c \
 	tsvdec.h tsvdec.c
-libgstlaldebug_la_CFLAGS = $(AM_CFLAGS) $(gstreamer_CFLAGS)
-libgstlaldebug_la_LIBADD = 
-libgstlaldebug_la_LDFLAGS = $(AM_LDFLAGS) $(gstreamer_LIBS) $(GSTLAL_PLUGIN_LDFLAGS)
+lib@GSTPLUGINPREFIX@gstlaldebug_la_CFLAGS = $(AM_CFLAGS) $(gstreamer_CFLAGS)
+lib@GSTPLUGINPREFIX@gstlaldebug_la_LIBADD = 
+lib@GSTPLUGINPREFIX@gstlaldebug_la_LDFLAGS = $(AM_LDFLAGS) $(gstreamer_LIBS) $(GSTLAL_PLUGIN_LDFLAGS)
diff --git a/gstlal/gst/gst/Makefile.am b/gstlal/gst/gst/Makefile.am
index 6a2bb72ec5..c3b3344a54 100644
--- a/gstlal/gst/gst/Makefile.am
+++ b/gstlal/gst/gst/Makefile.am
@@ -1,13 +1,13 @@
 AM_CPPFLAGS = -I$(top_srcdir)/lib -I$(top_builddir)/lib
 
-plugin_LTLIBRARIES = libgstlaladder.la libgstpythonplugin.la
+plugin_LTLIBRARIES = libgstlal_adder.la libgstpythonplugin.la
 
-libgstlaladder_la_SOURCES = \
+libgstlal_adder_la_SOURCES = \
 	gstadder.h gstadder.c \
 	gstadderorc.h gstadderorc-dist.h gstadderorc-dist.c
-libgstlaladder_la_CFLAGS = $(AM_CFLAGS) $(ORC_CFLAGS) $(gstreamer_CFLAGS) $(gstreamer_audio_CFLAGS) -DGST_PACKAGE_NAME=\"gstlal\" -DGST_PACKAGE_ORIGIN=\"\"
-libgstlaladder_la_LIBADD = $(top_builddir)/lib/gstlal/libgstlal.la $(top_builddir)/lib/gstlal/libgstlaltypes.la
-libgstlaladder_la_LDFLAGS = $(AM_LDFLAGS) $(ORC_LIBS) $(gstreamer_LIBS) $(gstreamer_audio_LIBS) $(GSTLAL_PLUGIN_LDFLAGS)
+libgstlal_adder_la_CFLAGS = $(AM_CFLAGS) $(ORC_CFLAGS) $(gstreamer_CFLAGS) $(gstreamer_audio_CFLAGS) -DGST_PACKAGE_NAME=\"gstlal\" -DGST_PACKAGE_ORIGIN=\"\"
+libgstlal_adder_la_LIBADD = $(top_builddir)/lib/gstlal/libgstlal.la $(top_builddir)/lib/gstlal/libgstlaltypes.la
+libgstlal_adder_la_LDFLAGS = $(AM_LDFLAGS) $(ORC_LIBS) $(gstreamer_LIBS) $(gstreamer_audio_LIBS) $(GSTLAL_PLUGIN_LDFLAGS)
 
 libgstpythonplugin_la_SOURCES = gstpythonplugin.c
 libgstpythonplugin_la_CFLAGS = $(AM_CPPFLAGS) $(PYTHON_CPPFLAGS) $(PYGOBJECT_CFLAGS) $(gstreamer_CFLAGS) $(GST_PLUGINS_BASE_CFLAGS) -DPYTHON_VERSION="\"$(PYTHON_VERSION)\"" -DPY_LIB_LOC="\"$(PYTHON_LIB_LOC)\"" -DPY_ABI_FLAGS="\"$(PYTHON_ABI_FLAGS)\"" -DPY_LIB_SUFFIX="\"$(PYTHON_LIB_SUFFIX)\"" -DGST_API_VERSION="\"$(GSTREAMER_RELEASE)\"" -DPLUGINDIR="\"$(plugindir)\""
diff --git a/gstlal/gst/lal/Makefile.am b/gstlal/gst/lal/Makefile.am
index 210cabbdc5..4394df2ef4 100644
--- a/gstlal/gst/lal/Makefile.am
+++ b/gstlal/gst/lal/Makefile.am
@@ -4,9 +4,9 @@ AM_CPPFLAGS = -I$(top_srcdir)/lib -I$(top_builddir)/lib
 EXTRA_DIST = \
 	gstfdmemory.h gstfdmemory.c
 
-plugin_LTLIBRARIES = libgstlal.la
+plugin_LTLIBRARIES = lib@GSTPLUGINPREFIX@gstlal.la
 
-libgstlal_la_SOURCES = \
+lib@GSTPLUGINPREFIX@gstlal_la_SOURCES = \
 	gstlal.c \
 	gstlal_audioundersample.h gstlal_audioundersample.c \
 	gstlal_autochisq.h gstlal_autochisq.c \
@@ -26,6 +26,6 @@ libgstlal_la_SOURCES = \
 	gstlal_togglecomplex.h gstlal_togglecomplex.c \
 	gstlal_whiten.h gstlal_whiten.c \
 	gstlal_shift.h gstlal_shift.c
-libgstlal_la_CFLAGS = $(AM_CFLAGS) $(GSL_CFLAGS) $(FFTW_CFLAGS) $(LAL_CFLAGS) $(gstreamer_CFLAGS) $(gstreamer_audio_CFLAGS)
-libgstlal_la_LIBADD = $(top_builddir)/lib/gstlal/libgstlal.la $(top_builddir)/lib/gstlal/libgstlaltags.la $(top_builddir)/lib/gstlal/libgstlaltypes.la
-libgstlal_la_LDFLAGS = $(AM_LDFLAGS) $(GSL_LIBS) $(FFTW_LIBS) $(LAL_LIBS) $(gstreamer_LIBS) $(gstreamer_audio_LIBS) $(GSTLAL_PLUGIN_LDFLAGS)
+lib@GSTPLUGINPREFIX@gstlal_la_CFLAGS = $(AM_CFLAGS) $(GSL_CFLAGS) $(FFTW_CFLAGS) $(LAL_CFLAGS) $(gstreamer_CFLAGS) $(gstreamer_audio_CFLAGS)
+lib@GSTPLUGINPREFIX@gstlal_la_LIBADD = $(top_builddir)/lib/gstlal/libgstlal.la $(top_builddir)/lib/gstlal/libgstlaltags.la $(top_builddir)/lib/gstlal/libgstlaltypes.la
+lib@GSTPLUGINPREFIX@gstlal_la_LDFLAGS = $(AM_LDFLAGS) $(GSL_LIBS) $(FFTW_LIBS) $(LAL_LIBS) $(gstreamer_LIBS) $(gstreamer_audio_LIBS) $(GSTLAL_PLUGIN_LDFLAGS)
-- 
GitLab