nouveau: Remove reference to drm_api
[mesa.git] / src / gallium / state_trackers / egl / Makefile
index b696f2fae93cce7af0233f5418f352abddd521c6..8933890323adc81a4a21d316f92cdefa4bd969fb 100644 (file)
@@ -5,6 +5,7 @@ common_INCLUDES = \
        -I. \
        -I$(TOP)/src/gallium/include \
        -I$(TOP)/src/gallium/auxiliary \
+       -I$(TOP)/src/gallium/drivers \
        -I$(TOP)/src/egl/main \
        -I$(TOP)/include
 
@@ -14,14 +15,14 @@ common_OBJECTS = $(common_SOURCES:.c=.o)
 
 x11_INCLUDES = \
        -I$(TOP)/src/gallium/drivers \
-       -I$(TOP)/src/glx/x11 \
-       -I$(TOP)/src/egl/drivers/xdri \
+       -I$(TOP)/src/glx \
+       -I$(TOP)/src/mapi \
        -I$(TOP)/src/mesa \
+       $(X11_CFLAGS) \
        $(shell pkg-config --cflags-only-I libdrm)
 
 x11_SOURCES = $(wildcard x11/*.c) \
-             $(TOP)/src/glx/x11/dri2.c \
-             $(TOP)/src/egl/drivers/xdri/glxinit.c
+             $(TOP)/src/glx/dri2.c
 x11_OBJECTS = $(x11_SOURCES:.c=.o)