i965/automake: use $top_srcdir instead of relative links
authorMatt Turner <mattst88@gmail.com>
Fri, 27 Jan 2012 05:33:10 +0000 (00:33 -0500)
committerMatt Turner <mattst88@gmail.com>
Fri, 27 Jan 2012 05:35:10 +0000 (00:35 -0500)
Fixes out-of-tree builds.

src/mesa/drivers/dri/i965/Makefile.am

index 5b75dbc40d3a368e8dceeaad2f8881603e63e640..4f6280d3a327c1d1e3833ddb8b9d1d3ee38d33a0 100644 (file)
@@ -31,9 +31,9 @@ AM_CFLAGS = \
        -I$(top_srcdir)/src/ \
        -I$(top_srcdir)/src/mapi \
        -I$(top_srcdir)/src/mesa/ \
-       -I../common \
-       -I../intel \
-       -I../intel/server \
+       -I$(top_srcdir)/src/mesa/drivers/dri/common \
+       -I$(top_srcdir)/src/mesa/drivers/dri/intel \
+       -I$(top_srcdir)/src/mesa/drivers/dri/intel/server \
        $(DEFINES) \
        $(ASM_FLAGS) \
        $(API_DEFINES) \