Tizen 2.0 Release
[profile/ivi/osmesa.git] / src / gbm / backends / dri / Makefile
1 # src/gbm/backends/dri/Makefile
2
3 TOP = ../../../..
4 include $(TOP)/configs/current
5
6 GBM_BACKEND = gbm_dri
7 GBM_SOURCES = gbm_dri.c driver_name.c
8
9 GBM_INCLUDES = \
10         -I$(TOP)/include \
11         -I$(TOP)/src/gbm/main \
12
13 GBM_LIBS = $(LIBUDEV_LIBS) $(LIBDRM_LIB) -L$(TOP)/lib -lglapi 
14
15 GBM_CFLAGS = \
16         -DDEFAULT_DRIVER_DIR=\"$(DRI_DRIVER_SEARCH_DIR)\" \
17         $(LIBUDEV_CFLAGS) \
18         $(LIBDRM_CFLAGS)
19
20 GBM_BUILTIN=true
21
22 include ../Makefile.template