gstreamer/sys/dxr3/Makefile.am
David Schleef c3d4977761 Split out GST_PLUGINS_BAD_CFLAGS from GST_CFLAGS
Move include directives for gst-libs into GST_PLUGINS_BAD_CFLAGS,
and fix all the Makefiles that use it.  This is so that all the
include directories are added in the proper order: first the
directories in srcdir/builddir, then gst-plugins-base dirs, then
gstreamer dirs.  If the order is wrong, installed headers may be
used instead of local headers and/or uninstalled headers from -base.
2010-05-19 18:24:02 -07:00

30 lines
933 B
Makefile

plugin_LTLIBRARIES = libgstdxr3.la
libgstdxr3_la_SOURCES = dxr3videosink.c dxr3audiosink.c dxr3spusink.c \
dxr3init.c ac3_padder.c
nodist_libgstdxr3_la_SOURCES = dxr3marshal.c
libgstdxr3_la_CFLAGS = $(GST_PLUGINS_BAD_CFLAGS) $(GST_CFLAGS)
libgstdxr3_la_LIBADD =
libgstdxr3_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
libgstdxr3_la_LIBTOOLFLAGS = --tag=disable-static
BUILT_SOURCES = dxr3marshal.c dxr3marshal.h
built_headers = dxr3marshal.h
noinst_HEADERS = dxr3videosink.h dxr3audiosink.h dxr3spusink.h \
dxr3common.h ac3_padder.h
EXTRA_DIST = dxr3marshal.list
dxr3marshal.h: dxr3marshal.list
glib-genmarshal --header --prefix=dxr3_marshal $^ > dxr3marshal.h.tmp
mv dxr3marshal.h.tmp dxr3marshal.h
dxr3marshal.c: dxr3marshal.list
echo "#include \"dxr3marshal.h\"" >> dxr3marshal.c.tmp
glib-genmarshal --body --prefix=dxr3_marshal $^ >> dxr3marshal.c.tmp
mv dxr3marshal.c.tmp dxr3marshal.c
CLEANFILES = $(BUILT_SOURCES)