[RFC wayland 5/9] build: wire-up wayland-egl

Emil Velikov emil.l.velikov at gmail.com
Fri Sep 15 10:29:23 UTC 2017


From: Emil Velikov <emil.velikov at collabora.com>

Wire-up the imported sources, test and pkg-config files.

Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
---
 Makefile.am  | 18 +++++++++++++++++-
 configure.ac |  2 ++
 2 files changed, 19 insertions(+), 1 deletion(-)

diff --git a/Makefile.am b/Makefile.am
index 0eedb10..2164b00 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -142,6 +142,16 @@ libwayland_cursor_la_CFLAGS =			\
 	-I$(top_srcdir)/src			\
 	-DICONDIR=\"$(ICONDIR)\"
 
+lib_LTLIBRARIES += libwayland-egl.la
+
+libwayland_egl_la_SOURCES = egl/wayland-egl.c
+libwayland_egl_la_LDFLAGS = -version-info 1
+
+pkgconfig_DATA += egl/wayland-egl.pc
+
+## XXX: backend interface
+include_HEADERS += egl/wayland-egl-priv.h
+pkgconfig_DATA += egl/wayland-egl-backend.pc
 
 built_test_programs =				\
 	array-test				\
@@ -163,7 +173,13 @@ built_test_programs =				\
 	message-test				\
 	headers-test				\
 	compositor-introspection-test		\
-	protocol-logger-test
+	protocol-logger-test			\
+	wayland-egl-abi-check
+
+EXTRA_DIST = wayland-egl-symbols-check
+
+check_PROGRAMS = wayland-egl-abi-check
+wayland_egl_abi_check_SOURCES = egl/wayland-egl-abi-check.c
 
 if ENABLE_CPP_TEST
 built_test_programs += cpp-compile-test
diff --git a/configure.ac b/configure.ac
index fcb9718..2542243 100644
--- a/configure.ac
+++ b/configure.ac
@@ -193,6 +193,8 @@ AC_CONFIG_FILES([Makefile
 		 doc/publican/Makefile
 		 doc/doxygen/Makefile
 		 doc/man/Makefile
+		 egl/wayland-egl.pc
+		 egl/wayland-egl-backend.pc
 		 src/wayland-server-uninstalled.pc
 		 src/wayland-client-uninstalled.pc
 		 src/wayland-scanner-uninstalled.pc
-- 
2.14.1



More information about the wayland-devel mailing list