anv: place the builddir includes before the srcdir ones
authorEmil Velikov <emil.l.velikov@gmail.com>
Thu, 21 Apr 2016 00:12:42 +0000 (01:12 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Sun, 1 May 2016 07:38:05 +0000 (08:38 +0100)
Otherwise we risk picking the possibly outdated file in the source dir
over the fresh one in the builddir.

Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Acked-by: Jason Ekstrand <jason@jlekstrand.net>
src/intel/vulkan/Makefile.am

index 91225f2916483f4a855850607307ba4c48bca9a3..d5adc4d93f62db484fba6fcd6651ada246fe0248 100644 (file)
@@ -48,19 +48,19 @@ AM_CPPFLAGS = \
        $(DEFINES) \
        -I$(top_srcdir)/include \
        -I$(top_srcdir)/include/vulkan \
+       -I$(top_builddir)/src \
        -I$(top_srcdir)/src \
+       -I$(top_builddir)/src/compiler \
        -I$(top_srcdir)/src/compiler \
+       -I$(top_builddir)/src/compiler/nir \
        -I$(top_srcdir)/src/mapi \
        -I$(top_srcdir)/src/mesa \
        -I$(top_srcdir)/src/mesa/drivers/dri/common \
        -I$(top_srcdir)/src/mesa/drivers/dri/i965 \
        -I$(top_srcdir)/src/gallium/auxiliary \
        -I$(top_srcdir)/src/gallium/include \
-       -I$(top_srcdir)/src/intel/ \
-       -I$(top_builddir)/src \
-       -I$(top_builddir)/src/compiler \
-       -I$(top_builddir)/src/compiler/nir \
-       -I$(top_builddir)/src/intel
+       -I$(top_builddir)/src/intel \
+       -I$(top_srcdir)/src/intel
 
 AM_CFLAGS = -Wno-override-init -msse2