1 # src/egl/drivers/dri2/Makefile
4 include $(TOP)/configs/current
7 EGL_SOURCES = egl_dri2.c platform_x11.c
11 -I$(TOP)/src/egl/main \
13 -DDEFAULT_DRIVER_DIR=\"$(DRI_DRIVER_SEARCH_DIR)\" \
18 EGL_LIBS = $(XCB_DRI2_LIBS) $(LIBUDEV_LIBS) $(DLOPEN_LIBS) $(LIBDRM_LIB)
20 EGL_CFLAGS = -D_EGL_MAIN=_eglBuiltInDriverDRI2
23 ifeq ($(SHARED_GLAPI),1)
24 EGL_CFLAGS += -DHAVE_SHARED_GLAPI
27 include ../Makefile.template