From ef5dca2034b347eb676a973be0702e8796a59174 Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Fri, 15 Apr 2016 15:32:18 -0700 Subject: i965: Add a dependency on libisl To avoid build issues, ensure that you're running `make' at the top level and/or you've executed `make clean' beforehand. Reviewed-by: Chad Versace --- src/mesa/drivers/dri/i965/Makefile.am | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/mesa') diff --git a/src/mesa/drivers/dri/i965/Makefile.am b/src/mesa/drivers/dri/i965/Makefile.am index ba3aa267bbf..1049d4a4916 100644 --- a/src/mesa/drivers/dri/i965/Makefile.am +++ b/src/mesa/drivers/dri/i965/Makefile.am @@ -34,6 +34,7 @@ AM_CFLAGS = \ -I$(top_srcdir)/src/mesa/drivers/dri/intel/server \ -I$(top_srcdir)/src/gtest/include \ -I$(top_srcdir)/src/compiler/nir \ + -I$(top_srcdir)/src/intel \ -I$(top_builddir)/src/compiler/nir \ -I$(top_builddir)/src/mesa/drivers/dri/common \ $(DEFINES) \ @@ -48,7 +49,10 @@ brw_nir_trig_workarounds.c: brw_nir_trig_workarounds.py $(top_srcdir)/src/compil noinst_LTLIBRARIES = libi965_dri.la libi965_compiler.la libi965_dri_la_SOURCES = $(i965_FILES) -libi965_dri_la_LIBADD = libi965_compiler.la $(INTEL_LIBS) +libi965_dri_la_LIBADD = \ + $(top_builddir)/src/intel/isl/libisl.la \ + libi965_compiler.la \ + $(INTEL_LIBS) libi965_compiler_la_SOURCES = \ $(i965_compiler_FILES) \ @@ -60,6 +64,7 @@ CLEANFILES = $(BUILT_SOURCES) TEST_LIBS = \ libi965_compiler.la \ ../../../libmesa.la \ + $(top_builddir)/src/intel/isl/libisl.la \ $(PTHREAD_LIBS) \ $(DLOPEN_LIBS) \ ../common/libdri_test_stubs.la -- cgit v1.2.3