i965: Reduce repeated calculation of the attribute-offset-in-VUE.
[mesa.git] / src / mesa / drivers / dri / Makefile.template
index 4cdd51efeee2215ed6ee71d33259c0a996325d83..8cb25439e4843ba15c36c1bf605bc10255163c9e 100644 (file)
@@ -26,11 +26,13 @@ SHARED_INCLUDES = \
        -I$(TOP)/src/mesa/drivers/dri/common \
        -Iserver \
        -I$(TOP)/include \
+       -I$(TOP)/src/mapi \
        -I$(TOP)/src/mesa \
        -I$(TOP)/src/egl/main \
        -I$(TOP)/src/egl/drivers/dri \
        $(LIBDRM_CFLAGS)
 
+CFLAGS += $(API_DEFINES)
 
 ##### RULES #####