2001-12-22 23:27:31 +00:00
|
|
|
|
2002-01-12 03:34:26 +00:00
|
|
|
plugin_LTLIBRARIES = libgstlevel.la
|
2001-12-22 23:27:31 +00:00
|
|
|
|
2003-09-21 12:21:49 +00:00
|
|
|
libgstlevel_la_SOURCES = gstlevel.c gstlevel-marshal.c
|
2001-12-22 23:27:31 +00:00
|
|
|
libgstlevel_la_CFLAGS = $(GST_CFLAGS)
|
2002-03-19 04:10:05 +00:00
|
|
|
libgstlevel_la_LIBADD =
|
2002-03-19 01:39:42 +00:00
|
|
|
libgstlevel_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
|
2001-12-22 23:27:31 +00:00
|
|
|
|
|
|
|
noinst_HEADERS = gstlevel.h filter.func
|
|
|
|
|
2003-09-21 13:24:13 +00:00
|
|
|
if HAVE_GTK
|
2003-09-26 16:45:04 +00:00
|
|
|
noinst_PROGRAMS = demo plot
|
2003-09-21 12:52:55 +00:00
|
|
|
demo_SOURCES = demo.c
|
|
|
|
demo_CFLAGS = $(GTK_CFLAGS) $(GST_CFLAGS)
|
|
|
|
demo_LDFLAGS = $(GTK_LIBS) $(GST_LIBS)
|
2003-09-26 16:45:04 +00:00
|
|
|
plot_SOURCES = plot.c
|
|
|
|
plot_CFLAGS = $(GTK_CFLAGS) $(GST_CFLAGS)
|
|
|
|
plot_LDFLAGS = $(GTK_LIBS) $(GST_LIBS)
|
2003-09-21 13:24:13 +00:00
|
|
|
endif
|
2003-09-21 12:52:55 +00:00
|
|
|
|
2003-09-21 12:21:49 +00:00
|
|
|
EXTRA_libgstlevel_la_SOURCES = gstlevel-marshal.list
|
|
|
|
|
|
|
|
BUILT_SOURCES = \
|
|
|
|
gstlevel-marshal.c \
|
|
|
|
gstlevel-marshal.h
|
2003-11-24 04:08:47 +00:00
|
|
|
CLEANFILES = \
|
|
|
|
gstlevel-marshal.c \
|
|
|
|
gstlevel-marshal.h
|
|
|
|
|
2003-09-21 12:21:49 +00:00
|
|
|
|
|
|
|
gstlevel-marshal.h: gstlevel-marshal.list
|
|
|
|
glib-genmarshal --header --prefix=gstlevel_cclosure_marshal $(srcdir)/gstlevel-marshal.list > gstlevel-marshal.h.tmp
|
|
|
|
mv gstlevel-marshal.h.tmp gstlevel-marshal.h
|
|
|
|
|
|
|
|
gstlevel-marshal.c: gstlevel-marshal.list
|
|
|
|
echo "#include \"glib.h\"" > gstlevel-marshal.c.tmp
|
|
|
|
echo "#include \"glib-object.h\"" >> gstlevel-marshal.c.tmp
|
|
|
|
echo "#include \"gstlevel-marshal.h\"" >> gstlevel-marshal.c.tmp
|
|
|
|
glib-genmarshal --body --prefix=gstlevel_cclosure_marshal $(srcdir)/gstlevel-marshal.list >> gstlevel-marshal.c.tmp
|
|
|
|
mv gstlevel-marshal.c.tmp gstlevel-marshal.c
|
|
|
|
|
|
|
|
# Don't want the generated marshal files in the dist
|
|
|
|
dist-hook:
|
|
|
|
rm -f $(distdir)/gstlevel-marshal.c
|
|
|
|
rm -f $(distdir)/gstlevel-marshal.h
|
|
|
|
|
2001-12-22 23:27:31 +00:00
|
|
|
EXTRA_DIST = README
|