anv: Fix make check
authorJason Ekstrand <jason.ekstrand@intel.com>
Wed, 2 Mar 2016 19:31:32 +0000 (11:31 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Wed, 2 Mar 2016 19:45:29 +0000 (11:45 -0800)
src/intel/vulkan/Makefile.am
src/intel/vulkan/tests/Makefile.am

index 7d078cff91ca4a3400a396f5e481568148c1a2e7..272db40d10b3c2fbc9b85cd79377228105441462 100644 (file)
@@ -65,8 +65,7 @@ AM_CPPFLAGS = \
        -I$(top_builddir)/src \
        -I$(top_builddir)/src/compiler \
        -I$(top_builddir)/src/compiler/nir \
-       -I$(top_builddir)/src/intel \
-       -I$(top_builddir)/src/vulkan
+       -I$(top_builddir)/src/intel
 
 libvulkan_intel_la_CFLAGS = $(CFLAGS) -Wno-override-init
 
@@ -198,7 +197,10 @@ libvulkan_test_la_SOURCES =                             \
        $(VULKAN_SOURCES)                               \
        anv_gem_stubs.c
 
-libvulkan_test_la_CFLAGS = $(libvulkan_la_CFLAGS)
-libvulkan_test_la_LIBADD = $(libvulkan_la_LIBADD)
+libvulkan_test_la_CFLAGS =                              \
+       -I$(top_srcdir)/src/intel/vulkan                \
+       $(libvulkan_intel_la_CFLAGS)
+
+libvulkan_test_la_LIBADD = $(libvulkan_intel_la_LIBADD)
 
 include $(top_srcdir)/install-lib-links.mk
index 883013d86c6323afb42460f014cf4d44445e7647..ddff73c1707ab16338f74afa8f798958c056be45 100644 (file)
@@ -30,11 +30,12 @@ AM_CPPFLAGS = \
        -I$(top_srcdir)/src/mesa/drivers/dri/i965 \
        -I$(top_srcdir)/src/gallium/auxiliary \
        -I$(top_srcdir)/src/gallium/include \
-       -I$(top_srcdir)/src/isl/ \
-       -I$(top_srcdir)/src/vulkan
+       -I$(top_srcdir)/src/intel \
+       -I$(top_srcdir)/src/intel/vulkan \
+       -I$(top_builddir)/src/intel/vulkan
 
 LDADD = \
-       $(top_builddir)/src/vulkan/libvulkan-test.la \
+       $(top_builddir)/src/intel/vulkan/libvulkan-test.la \
        $(PTHREAD_LIBS) -lm -lstdc++
 
 check_PROGRAMS = \