mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 14:26:43 +00:00
33bfd20100
Original commit message from CVS: Unification of the way to speak to v4l2 and v4l elements... Also fix a segfautl when doing gst-inspect v4l2src
59 lines
2.3 KiB
Makefile
59 lines
2.3 KiB
Makefile
plugindir = $(libdir)/gstreamer-@GST_MAJORMINOR@
|
|
|
|
plugin_LTLIBRARIES = libgstv4lelement.la libgstv4lsrc.la \
|
|
libgstv4lmjpegsrc.la libgstv4lmjpegsink.la
|
|
|
|
libgstv4lelement_la_SOURCES = gstv4lelement.c v4l_calls.c \
|
|
v4l-overlay_calls.c gstv4lelement-marshal.c
|
|
libgstv4lelement_la_CFLAGS = $(GST_CFLAGS)
|
|
libgstv4lelement_la_LIBADD =
|
|
libgstv4lelement_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
|
|
|
|
libgstv4lsrc_la_SOURCES = gstv4lsrc.c v4lsrc_calls.c
|
|
libgstv4lsrc_la_CFLAGS = $(GST_CFLAGS)
|
|
libgstv4lsrc_la_LIBADD = libgstv4lelement.la
|
|
libgstv4lsrc_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
|
|
|
|
libgstv4lmjpegsrc_la_SOURCES = gstv4lmjpegsrc.c v4lmjpegsrc_calls.c
|
|
libgstv4lmjpegsrc_la_CFLAGS = $(GST_CFLAGS)
|
|
libgstv4lmjpegsrc_la_LIBADD = libgstv4lelement.la
|
|
libgstv4lmjpegsrc_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
|
|
|
|
libgstv4lmjpegsink_la_SOURCES = gstv4lmjpegsink.c v4lmjpegsink_calls.c
|
|
libgstv4lmjpegsink_la_CFLAGS = $(GST_CFLAGS)
|
|
libgstv4lmjpegsink_la_LIBADD = libgstv4lelement.la
|
|
libgstv4lmjpegsink_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
|
|
|
|
noinst_HEADERS = gstv4lelement.h v4l_calls.h \
|
|
gstv4lsrc.h v4lsrc_calls.h \
|
|
gstv4lmjpegsrc.h v4lmjpegsrc_calls.h \
|
|
gstv4lmjpegsink.h v4lmjpegsink_calls.h \
|
|
videodev_mjpeg.h gstv4lelement-marshal.h
|
|
|
|
EXTRA_libgstv4lelement_la_SOURCES = \
|
|
gstv4lelement-marshal.list
|
|
|
|
BUILT_SOURCES = \
|
|
gstv4lelement-marshal.c \
|
|
gstv4lelement-marshal.h
|
|
|
|
gstv4lelement-marshal.h: gstv4lelement-marshal.list
|
|
glib-genmarshal --header --prefix=gstv4l_cclosure_marshal $(srcdir)/gstv4lelement-marshal.list > gstv4lelement-marshal.h.tmp
|
|
mv gstv4lelement-marshal.h.tmp gstv4lelement-marshal.h
|
|
|
|
gstv4lelement-marshal.c: gstv4lelement-marshal.list
|
|
echo "#include \"glib.h\"" > gstv4lelement-marshal.c.tmp
|
|
echo "#include \"glib-object.h\"" >> gstv4lelement-marshal.c.tmp
|
|
echo "#include \"gstv4lelement-marshal.h\"" >> gstv4lelement-marshal.c.tmp
|
|
glib-genmarshal --body --prefix=gstv4l_cclosure_marshal $(srcdir)/gstv4lelement-marshal.list >> gstv4lelement-marshal.c.tmp
|
|
mv gstv4lelement-marshal.c.tmp gstv4lelement-marshal.c
|
|
|
|
# Don't want the generated marshal files in the dist
|
|
dist-hook:
|
|
rm -f $(distdir)/gstv4lelement-marshal.c
|
|
rm -f $(distdir)/gstv4lelement-marshal.h
|
|
|
|
# Clean generated files
|
|
distclean-local:
|
|
rm -f $(top_builddir)/src/element/gstv4lelement-marshal.c
|
|
rm -f $(top_builddir)/src/element/gstv4lelement-marshal.h
|