From 2ff797060d4ffbe1c1bf5b605ea5d4f9e588da41 Mon Sep 17 00:00:00 2001 From: Benjamin Franzke Date: Thu, 26 May 2011 15:10:50 +0200 Subject: gbm: Add dri backend --- src/gbm/main/Makefile | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/gbm/main/Makefile') diff --git a/src/gbm/main/Makefile b/src/gbm/main/Makefile index 277fba18eee..5130b9b5df2 100644 --- a/src/gbm/main/Makefile +++ b/src/gbm/main/Makefile @@ -23,6 +23,11 @@ LOCAL_CFLAGS = $(LIBUDEV_CFLAGS) $(DLOPEN_CFLAGS) \ -D_OS_UNIX=1 -DMODULEDIR='"$(GBM_BACKEND_INSTALL_DIR)"' LOCAL_LIBS = +# Builtin backends +ifeq ($(filter dri, $(GBM_BACKEND_DIRS)),dri) +LOCAL_LIBS += $(TOP)/src/gbm/backends/dri/libgbm_dri.a +endif + .c.o: $(CC) -c $(INCLUDE_DIRS) $(CFLAGS) $(LOCAL_CFLAGS) $< -o $@ -- cgit v1.2.3