summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian König <christian.koenig at amd.com>2013-08-26 14:57:47 +0800
committerZhigang Gong <zhigang.gong@linux.intel.com>2013-08-26 14:57:51 +0800
commit0777a81fb3551b8d06c40c81bcd0ccd69dfcd836 (patch)
tree4836d781618184060a135e8917ba98fea618da2e
parent81aadb8ae204f58d77a948c8624f1e72659dcdf0 (diff)
Use GBM_LIBS and GBM_CFLAGS
Signed-off-by: Christian König <christian.koenig at amd.com> Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>
-rw-r--r--src/Makefile.am10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 4beb559..c1759c6 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -64,9 +64,15 @@ LIBGLAMOREGL = libglamoregl.la
module_LTLIBRARIES = $(LIBGLAMOREGL)
libglamoregl_la_DEPENDENCIES = libglamor.la
libglamoregl_la_LDFLAGS = -avoid-version -module
-libglamoregl_la_LIBADD = $(EGL_LIBS) $(GLX_SYS_LIBS) libglamor.la
+libglamoregl_la_LIBADD = $(EGL_LIBS) $(GLX_SYS_LIBS) $(GBM_LIBS) libglamor.la
libglamoregl_la_SOURCES = glamor_eglmodule.c $(top_srcdir)/src/glamor_egl.c
-libglamoregl_la_CFLAGS = $(AM_CFLAGS) $(GLX_DEFINES) -I$(top_srcdir)/src $(LIBDRM_CFLAGS) $(EGL_CFLAGS)
+libglamoregl_la_CFLAGS = \
+ $(AM_CFLAGS) \
+ $(GLX_DEFINES) \
+ -I$(top_srcdir)/src \
+ $(LIBDRM_CFLAGS) \
+ $(EGL_CFLAGS) \
+ $(GBM_CFLAGS)
endif