summaryrefslogtreecommitdiffstats
path: root/src/gbm/backends/dri/Makefile
blob: 78fb3291227f8774481c57438b93aedc4512e5e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# src/gbm/backends/dri/Makefile

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

GBM_BACKEND = gbm_dri
GBM_SOURCES = gbm_dri.c driver_name.c

GBM_INCLUDES = \
	-I$(TOP)/include \
	-I$(TOP)/src/gbm/main \

GBM_LIBS = $(LIBUDEV_LIBS) $(LIBDRM_LIB) -L$(TOP)/lib -lglapi 

GBM_CFLAGS = \
	-DDEFAULT_DRIVER_DIR=\"$(DRI_DRIVER_SEARCH_DIR)\" \
	$(LIBUDEV_CFLAGS) \
	$(LIBDRM_CFLAGS)

GBM_BUILTIN=true

include ../Makefile.template