2001-12-17 19:03:14 +00:00
|
|
|
|
2003-09-13 08:58:48 +00:00
|
|
|
plugin_LTLIBRARIES = libgstvideo4linux.la
|
2001-12-17 19:03:14 +00:00
|
|
|
|
2003-09-13 08:58:48 +00:00
|
|
|
libgstvideo4linux_la_SOURCES = \
|
|
|
|
gstv4lelement.c v4l_calls.c \
|
|
|
|
v4l-overlay_calls.c \
|
|
|
|
gstv4lelement-marshal.c \
|
|
|
|
gstv4lsrc.c v4lsrc_calls.c \
|
|
|
|
gstv4lmjpegsrc.c v4lmjpegsrc_calls.c \
|
2003-09-13 10:44:47 +00:00
|
|
|
gstv4lmjpegsink.c v4lmjpegsink_calls.c \
|
|
|
|
gstv4l.c
|
2003-09-13 08:58:48 +00:00
|
|
|
libgstvideo4linux_la_CFLAGS = $(GST_CFLAGS)
|
|
|
|
libgstvideo4linux_la_LIBADD =
|
|
|
|
libgstvideo4linux_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
|
2001-12-23 15:31:15 +00:00
|
|
|
|
|
|
|
noinst_HEADERS = gstv4lelement.h v4l_calls.h \
|
|
|
|
gstv4lsrc.h v4lsrc_calls.h \
|
2001-12-24 21:43:31 +00:00
|
|
|
gstv4lmjpegsrc.h v4lmjpegsrc_calls.h \
|
2003-03-02 21:58:52 +00:00
|
|
|
gstv4lmjpegsink.h v4lmjpegsink_calls.h \
|
|
|
|
videodev_mjpeg.h gstv4lelement-marshal.h
|
|
|
|
|
2003-09-13 08:58:48 +00:00
|
|
|
EXTRA_libgstvideo4linux_la_SOURCES = \
|
2003-03-02 21:58:52 +00:00
|
|
|
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
|