Use GST_CXXFLAGS and GST_CFLAGS to pull in local gst-libs includes.
authorJan Schmidt <thaytan@noraisin.net>
Mon, 5 Oct 2009 10:47:01 +0000 (11:47 +0100)
committerJan Schmidt <thaytan@noraisin.net>
Mon, 5 Oct 2009 10:47:01 +0000 (11:47 +0100)
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
ext/schroedinger/Makefile.am

index 02f4a3998c7e5507df25a041e9ae325b5dd40034..a99181a0b5f6b3e05ce470084883165032b748ab 100644 (file)
@@ -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 \
index f1934b833363d8a521a58c266bfae6ad944ad023..8b2110cfb7ffffbfc533d7d30d04587cee7e7b32 100644 (file)
@@ -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 = \