2 plugin_LTLIBRARIES = libgstlevel.la
4 libgstlevel_la_SOURCES = gstlevel.c gstlevel-marshal.c
5 libgstlevel_la_CFLAGS = $(GST_CFLAGS)
6 libgstlevel_la_LIBADD =
7 libgstlevel_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
9 noinst_HEADERS = gstlevel.h filter.func
12 noinst_PROGRAMS = demo plot
14 demo_CFLAGS = $(GTK_CFLAGS) $(GST_CFLAGS)
15 demo_LDFLAGS = $(GTK_LIBS) $(GST_LIBS)
17 plot_CFLAGS = $(GTK_CFLAGS) $(GST_CFLAGS)
18 plot_LDFLAGS = $(GTK_LIBS) $(GST_LIBS)
21 EXTRA_libgstlevel_la_SOURCES = gstlevel-marshal.list
31 gstlevel-marshal.h: gstlevel-marshal.list
32 glib-genmarshal --header --prefix=gstlevel_cclosure_marshal $(srcdir)/gstlevel-marshal.list > gstlevel-marshal.h.tmp
33 mv gstlevel-marshal.h.tmp gstlevel-marshal.h
35 gstlevel-marshal.c: gstlevel-marshal.list
36 echo "#include \"glib.h\"" > gstlevel-marshal.c.tmp
37 echo "#include \"glib-object.h\"" >> gstlevel-marshal.c.tmp
38 echo "#include \"gstlevel-marshal.h\"" >> gstlevel-marshal.c.tmp
39 glib-genmarshal --body --prefix=gstlevel_cclosure_marshal $(srcdir)/gstlevel-marshal.list >> gstlevel-marshal.c.tmp
40 mv gstlevel-marshal.c.tmp gstlevel-marshal.c
42 # Don't want the generated marshal files in the dist
44 rm -f $(distdir)/gstlevel-marshal.c
45 rm -f $(distdir)/gstlevel-marshal.h