targets/dri: compact compiler flags into Automake.inc
[mesa.git] / src / gallium / targets / dri-i915 / Makefile.am
index 851c412ce296d7284117800ab1636f0961f296dc..582c27042a9cc7883ea2632f1e0876885bf27ee4 100644 (file)
 include $(top_srcdir)/src/gallium/Automake.inc
 
 AM_CFLAGS = \
-       $(GALLIUM_CFLAGS) \
-       $(PTHREAD_CFLAGS) \
-       $(LIBDRM_CFLAGS)
+       $(GALLIUM_DRI_CFLAGS)
 AM_CPPFLAGS = \
-       -I$(top_srcdir)/src/gallium/drivers \
-       -I$(top_srcdir)/src/gallium/winsys \
-       -I$(top_srcdir)/src/mesa \
-       -I$(top_srcdir)/src/mapi \
-       -I$(top_builddir)/src/mesa/drivers/dri/common \
        -DGALLIUM_RBUG \
        -DGALLIUM_TRACE \
        -DGALLIUM_GALAHAD \