summaryrefslogtreecommitdiff
path: root/lib/mesa/src/gbm/Makefile.am
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2016-12-11 08:40:05 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2016-12-11 08:40:05 +0000
commit21ab4c9f31674b113c24177398ed39f29b7cd8e6 (patch)
tree8be392d7a792d9663c2586396be77bfd506f5164 /lib/mesa/src/gbm/Makefile.am
parenta8f0a7916e26e550dd2a26e7188835c481978004 (diff)
Import Mesa 13.0.2
Diffstat (limited to 'lib/mesa/src/gbm/Makefile.am')
-rw-r--r--lib/mesa/src/gbm/Makefile.am20
1 files changed, 9 insertions, 11 deletions
diff --git a/lib/mesa/src/gbm/Makefile.am b/lib/mesa/src/gbm/Makefile.am
index 9a584cab3..aba8d1ec3 100644
--- a/lib/mesa/src/gbm/Makefile.am
+++ b/lib/mesa/src/gbm/Makefile.am
@@ -1,3 +1,5 @@
+include Makefile.sources
+
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = main/gbm.pc
@@ -15,12 +17,7 @@ lib_LTLIBRARIES = libgbm.la
include_HEADERS = main/gbm.h
libgbm_la_SOURCES = \
- main/backend.c \
- main/backend.h \
- main/common_drm.h \
- main/gbm.c \
- main/gbm.h \
- main/gbmint.h
+ $(gbm_core_FILES)
libgbm_la_LDFLAGS = \
-no-undefined \
@@ -32,7 +29,7 @@ libgbm_la_LIBADD = \
$(top_builddir)/src/loader/libloader.la \
$(DLOPEN_LIBS)
-if HAVE_EGL_PLATFORM_WAYLAND
+if HAVE_PLATFORM_WAYLAND
AM_CPPFLAGS = -DHAVE_WAYLAND_PLATFORM
AM_CFLAGS += $(WAYLAND_CFLAGS)
libgbm_la_LIBADD += $(top_builddir)/src/egl/wayland/wayland-drm/libwayland-drm.la $(WAYLAND_LIBS)
@@ -40,15 +37,16 @@ endif
if HAVE_DRI2
libgbm_la_SOURCES += \
- backends/dri/gbm_dri.c \
- backends/dri/gbm_driint.h
+ $(gbm_dri_FILES)
AM_CFLAGS += \
-DDEFAULT_DRIVER_DIR='"$(DRI_DRIVER_SEARCH_DIR)"' \
- $(LIBDRM_CFLAGS)
+ $(LIBDRM_CFLAGS) \
+ $(PTHREADSTUBS_CFLAGS)
libgbm_la_LIBADD += \
- $(LIBDRM_LIBS)
+ $(LIBDRM_LIBS) \
+ $(PTHREADSTUBS_LIBS)
endif
TESTS = gbm-symbols-check