mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-21 07:46:38 +00:00
1ea0574af4
Original commit message from CVS: make GST_PLUGIN_LDFLAGS only be flags; GST_LIBS should be added manually to each Makefile.am so we are sure it goes *last* and doesn't add -L flags before linking in libs of our own, like, say, internal .la libs, that then accidentally pick up the installed copy.
19 lines
532 B
Makefile
19 lines
532 B
Makefile
plugin_LTLIBRARIES = libgstvolume.la
|
|
|
|
libgstvolume_la_SOURCES = gstvolume.c
|
|
libgstvolume_la_CFLAGS = $(GST_CFLAGS)
|
|
libgstvolume_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
|
|
libgstvolume_la_LIBADD = \
|
|
$(top_builddir)/gst-libs/gst/interfaces/libgstinterfaces-$(GST_MAJORMINOR).la \
|
|
$(GST_CONTROL_LIBS) \
|
|
$(GST_BASE_LIBS) \
|
|
$(GST_LIBS)
|
|
|
|
noinst_HEADERS = gstvolume.h filter.func
|
|
|
|
if HAVE_GTK
|
|
noinst_PROGRAMS = demo
|
|
demo_SOURCES = demo.c
|
|
demo_CFLAGS = $(GTK_CFLAGS) $(GST_CFLAGS) -D_GNU_SOURCE
|
|
demo_LDFLAGS = $(GTK_LIBS) $(GST_LIBS) -lm
|
|
endif
|