swr: automake: add missing -I flag
authorEmil Velikov <emil.velikov@collabora.com>
Fri, 10 Jun 2016 19:45:01 +0000 (20:45 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Mon, 13 Jun 2016 14:31:24 +0000 (15:31 +0100)
When building from a release tarball (where the generated/built files
are in srcdir) in an OOT fashion we need to have both builddir and
srcdir in the includes list.

Otherwise we'll error out, as the file (header gen_knobs.h in this case)
won't be in the location where we are looking.

Cc: "12.0" <mesa-stable@lists.freedesktop.org>
Cc: Tim Rowley <timothy.o.rowley@intel.com>
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
src/gallium/drivers/swr/Makefile.am

index d211f2e58ce0e5d172caeee3e0568918a07d182b..8151e4a64f0e39af3ea6224601126769ad95ed47 100644 (file)
@@ -36,6 +36,7 @@ COMMON_CXXFLAGS = \
        -I$(builddir)/rasterizer/jitter \
        -I$(srcdir)/rasterizer \
        -I$(srcdir)/rasterizer/core \
+       -I$(srcdir)/rasterizer/scripts \
        -I$(srcdir)/rasterizer/jitter
 
 COMMON_SOURCES = \