2002-09-09 07:14:35 +00:00
|
|
|
|
|
|
|
plugin_LTLIBRARIES = \
|
2003-09-13 08:58:49 +00:00
|
|
|
libgstvideo4linux2.la
|
2002-09-09 07:14:35 +00:00
|
|
|
|
2003-09-13 08:58:49 +00:00
|
|
|
libgstvideo4linux2_la_SOURCES = \
|
|
|
|
gstv4l2element.c v4l2_calls.c \
|
|
|
|
v4l2-overlay_calls.c \
|
|
|
|
gstv4l2element-marshal.c \
|
2003-09-13 10:44:47 +00:00
|
|
|
gstv4l2src.c v4l2src_calls.c \
|
|
|
|
gstv4l2.c
|
2003-09-13 08:58:49 +00:00
|
|
|
libgstvideo4linux2_la_CFLAGS = $(GST_CFLAGS)
|
|
|
|
libgstvideo4linux2_la_LIBADD =
|
|
|
|
libgstvideo4linux2_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
|
2002-09-09 07:14:35 +00:00
|
|
|
|
|
|
|
noinst_HEADERS = gstv4l2element.h v4l2_calls.h \
|
2003-09-13 08:58:49 +00:00
|
|
|
gstv4l2src.h v4l2src_calls.h \
|
|
|
|
gstv4l2element-marshal.h
|
2003-03-02 21:58:52 +00:00
|
|
|
|
2003-09-13 08:58:49 +00:00
|
|
|
EXTRA_libgstvideo4linux2_la_SOURCES = \
|
2003-03-02 21:58:52 +00:00
|
|
|
gstv4l2element-marshal.list
|
|
|
|
|
|
|
|
BUILT_SOURCES = \
|
|
|
|
gstv4l2element-marshal.c \
|
|
|
|
gstv4l2element-marshal.h
|
|
|
|
|
|
|
|
gstv4l2element-marshal.h: gstv4l2element-marshal.list
|
|
|
|
glib-genmarshal --header --prefix=gstv4l2_cclosure_marshal $(srcdir)/gstv4l2element-marshal.list > gstv4l2element-marshal.h.tmp
|
|
|
|
mv gstv4l2element-marshal.h.tmp gstv4l2element-marshal.h
|
|
|
|
|
|
|
|
gstv4l2element-marshal.c: gstv4l2element-marshal.list
|
|
|
|
echo "#include \"glib.h\"" > gstv4l2element-marshal.c.tmp
|
|
|
|
echo "#include \"glib-object.h\"" >> gstv4l2element-marshal.c.tmp
|
|
|
|
echo "#include \"gstv4l2element-marshal.h\"" >> gstv4l2element-marshal.c.tmp
|
|
|
|
glib-genmarshal --body --prefix=gstv4l2_cclosure_marshal $(srcdir)/gstv4l2element-marshal.list >> gstv4l2element-marshal.c.tmp
|
|
|
|
mv gstv4l2element-marshal.c.tmp gstv4l2element-marshal.c
|
|
|
|
|
|
|
|
# Don't want the generated marshal files in the dist
|
|
|
|
dist-hook:
|
|
|
|
rm -f $(distdir)/gstv4l2element-marshal.c
|
|
|
|
rm -f $(distdir)/gstv4l2element-marshal.h
|
|
|
|
|
|
|
|
# Clean generated files
|
|
|
|
distclean-local:
|
|
|
|
rm -f $(top_builddir)/src/element/gstv4l2element-marshal.c
|
|
|
|
rm -f $(top_builddir)/src/element/gstv4l2element-marshal.h
|