mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-09-09 05:38:58 +00:00
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.
37 lines
972 B
Makefile
37 lines
972 B
Makefile
plugin_LTLIBRARIES = libgstvideo4linux.la
|
|
|
|
if USE_XVIDEO
|
|
xv_source = gstv4lxoverlay.c
|
|
xv_libs = $(X_LIBS) $(XVIDEO_LIBS)
|
|
else
|
|
xv_source =
|
|
xv_libs =
|
|
endif
|
|
|
|
libgstvideo4linux_la_SOURCES = \
|
|
gstv4l.c \
|
|
gstv4lcolorbalance.c \
|
|
gstv4lelement.c \
|
|
gstv4lsrc.c \
|
|
gstv4ltuner.c \
|
|
v4l_calls.c \
|
|
v4lsrc_calls.c $(xv_source)
|
|
|
|
# gstv4ljpegsrc.c \
|
|
# gstv4lmjpegsrc.c v4lmjpegsrc_calls.c \
|
|
# gstv4lmjpegsink.c v4lmjpegsink_calls.c
|
|
|
|
libgstvideo4linux_la_CFLAGS = $(GST_CFLAGS) $(X_CFLAGS) -I$(top_srcdir)/gst-libs
|
|
libgstvideo4linux_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
|
|
libgstvideo4linux_la_LIBADD = \
|
|
$(top_builddir)/gst-libs/gst/interfaces/libgstinterfaces-@GST_MAJORMINOR@.la \
|
|
$(GST_BASE_LIBS) $(GST_LIBS) $(xv_libs)
|
|
|
|
noinst_HEADERS = gstv4lelement.h v4l_calls.h \
|
|
gstv4lsrc.h v4lsrc_calls.h \
|
|
gstv4ljpegsrc.h \
|
|
gstv4lmjpegsrc.h v4lmjpegsrc_calls.h \
|
|
gstv4lmjpegsink.h v4lmjpegsink_calls.h \
|
|
videodev_mjpeg.h \
|
|
gstv4ltuner.h gstv4lxoverlay.h \
|
|
gstv4lcolorbalance.h
|