From caf67cbb4f2a2d3be2d2f9b5b9ee6e79687efbbe Mon Sep 17 00:00:00 2001 From: Jan Schmidt Date: Mon, 5 Oct 2009 11:47:01 +0100 Subject: [PATCH] Use GST_CXXFLAGS and GST_CFLAGS to pull in local gst-libs includes. Move the GST_CXXFLAGS and GST_CFLAGS to the start of the includes set to pull in the local gst-libs from there first, instead of listing it explicitly. --- ext/dirac/Makefile.am | 4 ++-- ext/schroedinger/Makefile.am | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/ext/dirac/Makefile.am b/ext/dirac/Makefile.am index 02f4a3998c..a99181a0b5 100644 --- a/ext/dirac/Makefile.am +++ b/ext/dirac/Makefile.am @@ -5,8 +5,8 @@ libgstdirac_la_SOURCES = \ gstdiracenc.cc libgstdirac_la_CXXFLAGS = \ - -I$(top_srcdir)/gst-libs/gst/video \ - $(GST_PLUGINS_BASE_CFLAGS) $(GST_CXXFLAGS) $(DIRAC_CFLAGS) \ + $(GST_CXXFLAGS) \ + $(GST_PLUGINS_BASE_CFLAGS) $(DIRAC_CFLAGS) \ -DGST_USE_UNSTABLE_API libgstdirac_la_LIBADD = \ $(top_builddir)/gst-libs/gst/video/libgstbasevideo-@GST_MAJORMINOR@.la \ diff --git a/ext/schroedinger/Makefile.am b/ext/schroedinger/Makefile.am index f1934b8333..8b2110cfb7 100644 --- a/ext/schroedinger/Makefile.am +++ b/ext/schroedinger/Makefile.am @@ -11,10 +11,9 @@ libgstschro_la_SOURCES = \ gstschroparse.c \ gstschroutils.c libgstschro_la_CFLAGS = \ - -I$(top_srcdir)/gst-libs/gst/video \ + $(GST_CFLAGS) \ $(GST_PLUGINS_BASE_CFLAGS) \ $(GST_BASE_CFLAGS) \ - $(GST_CFLAGS) \ -DGST_USE_UNSTABLE_API \ $(SCHRO_CFLAGS) libgstschro_la_LIBADD = \