i915: Use new egl state_tracker
[mesa.git] / src / gallium / winsys / drm / intel / egl / Makefile
index f0b5a4438944f50fc5ebc30f0efaf6a53b44318f..4b22d17ccfe48f384f111b3c9f624cd6bd6c47fb 100644 (file)
@@ -6,21 +6,23 @@ LIBNAME = EGL_i915.so
 PIPE_DRIVERS = \
        $(TOP)/src/gallium/drivers/softpipe/libsoftpipe.a \
        $(TOP)/src/gallium/drivers/i915simple/libi915simple.a \
-       ../common/libinteldrm.a
+       $(TOP)/src/gallium/state_trackers/egl/libegldrm.a \
+       ../gem/libinteldrm.a
 
 DRIVER_SOURCES = \
-       intel_swapbuffers.c \
        intel_context.c \
        intel_device.c \
-       intel_egl.c
+       intel_api.c
 
 C_SOURCES = \
        $(COMMON_GALLIUM_SOURCES) \
        $(DRIVER_SOURCES)
 
+DRIVER_EXTRAS = -ldrm_intel
+
 ASM_SOURCES = 
 
-DRIVER_DEFINES = -I../common $(shell pkg-config libdrm --atleast-version=2.3.1 \
+DRIVER_DEFINES = -I../gem $(shell pkg-config libdrm --atleast-version=2.3.1 \
                                && echo "-DDRM_VBLANK_FLIP=DRM_VBLANK_FLIP")
 
 include ../../Makefile.template