summaryrefslogtreecommitdiffstats
path: root/src/gallium/winsys/i915
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/winsys/i915')
-rw-r--r--src/gallium/winsys/i915/drm/Makefile.am3
-rw-r--r--src/gallium/winsys/i915/sw/Makefile.am3
2 files changed, 2 insertions, 4 deletions
diff --git a/src/gallium/winsys/i915/drm/Makefile.am b/src/gallium/winsys/i915/drm/Makefile.am
index 7a64925ba1c..82c477d68b6 100644
--- a/src/gallium/winsys/i915/drm/Makefile.am
+++ b/src/gallium/winsys/i915/drm/Makefile.am
@@ -24,9 +24,8 @@ include Makefile.sources
include $(top_srcdir)/src/gallium/Automake.inc
AM_CFLAGS = \
- -I$(top_srcdir)/include \
-I$(top_srcdir)/src/gallium/drivers \
- $(GALLIUM_CFLAGS) \
+ $(GALLIUM_WINSYS_CFLAGS) \
$(INTEL_CFLAGS)
noinst_LTLIBRARIES = libi915drm.la
diff --git a/src/gallium/winsys/i915/sw/Makefile.am b/src/gallium/winsys/i915/sw/Makefile.am
index 186fee3963c..39f602242c3 100644
--- a/src/gallium/winsys/i915/sw/Makefile.am
+++ b/src/gallium/winsys/i915/sw/Makefile.am
@@ -24,9 +24,8 @@ include Makefile.sources
include $(top_srcdir)/src/gallium/Automake.inc
AM_CFLAGS = \
- -I$(top_srcdir)/include \
-I$(top_srcdir)/src/gallium/drivers \
- $(GALLIUM_CFLAGS) \
+ $(GALLIUM_WINSYS_CFLAGS) \
$(INTEL_CFLAGS)
noinst_LTLIBRARIES = libi915sw.la