summaryrefslogtreecommitdiffstats
path: root/src/egl/drivers/dri2/Makefile
blob: 95f957453110caf0222d91c10bfd369349f60726 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# src/egl/drivers/dri2/Makefile

TOP = ../../../..
include $(TOP)/configs/current

EGL_DRIVER = egl_dri2.so
EGL_SOURCES = egl_dri2.c

EGL_INCLUDES = \
	-I$(TOP)/include \
	-I$(TOP)/src/egl/main \
	-I$(TOP)/src/mesa \
	-DDEFAULT_DRIVER_DIR=\"$(DRI_DRIVER_SEARCH_DIR)\" \
	$(shell pkg-config --cflags xcb-dri2 xcb-xfixes x11-xcb libdrm)

EGL_CFLAGS =
EGL_LIBS = $(shell pkg-config --libs xcb-dri2 xcb-xfixes x11-xcb libdrm)

include ../Makefile.template