mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 14:56:36 +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.
57 lines
1.3 KiB
Makefile
57 lines
1.3 KiB
Makefile
glib_enum_define=GST_PLAY
|
|
glib_enum_prefix=gst_play
|
|
|
|
built_sources = gstplay-marshal.c
|
|
|
|
built_headers = gstplay-marshal.h
|
|
|
|
plugindir = $(libdir)/gstreamer-@GST_MAJORMINOR@
|
|
|
|
plugin_LTLIBRARIES = libgstplaybin.la libgstdecodebin.la
|
|
|
|
libgstplaybin_la_SOURCES = \
|
|
gstplaybin.c \
|
|
gstplaybasebin.c \
|
|
gststreaminfo.c \
|
|
gststreamselector.c
|
|
|
|
nodist_libgstplaybin_la_SOURCES = $(built_sources)
|
|
libgstplaybin_la_CFLAGS = $(GST_CFLAGS)
|
|
libgstplaybin_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
|
|
libgstplaybin_la_LIBADD = $(GST_LIBS)
|
|
|
|
libgstdecodebin_la_SOURCES = gstdecodebin.c
|
|
nodist_libgstdecodebin_la_SOURCES = $(built_sources)
|
|
libgstdecodebin_la_CFLAGS = $(GST_CFLAGS)
|
|
libgstdecodebin_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
|
|
libgstdecodebin_la_LIBADD = $(GST_LIBS)
|
|
|
|
noinst_HEADERS = \
|
|
gstplaybasebin.h \
|
|
gststreaminfo.h \
|
|
gststreamselector.h
|
|
|
|
noinst_PROGRAMS = test decodetest test2 test3 test4
|
|
|
|
test_LDADD = $(GST_LIBS)
|
|
test_CFLAGS = $(GST_CFLAGS)
|
|
|
|
test2_LDADD = $(GST_LIBS)
|
|
test2_CFLAGS = $(GST_CFLAGS)
|
|
|
|
test3_LDADD = $(GST_LIBS)
|
|
test3_CFLAGS = $(GST_CFLAGS)
|
|
|
|
test4_LDADD = $(GST_LIBS)
|
|
test4_CFLAGS = $(GST_CFLAGS)
|
|
|
|
decodetest_LDADD = $(GST_LIBS)
|
|
decodetest_CFLAGS = $(GST_CFLAGS)
|
|
|
|
BUILT_SOURCES = $(built_headers) $(built_sources)
|
|
|
|
EXTRA_DIST = gstplay-marshal.list
|
|
|
|
CLEANFILES = $(BUILT_SOURCES)
|
|
|
|
include $(top_srcdir)/common/glib-gen.mak
|