mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-10-29 05:40:16 -04:00
build: wire-up wayland-egl
Wire-up the imported sources, test and pkg-config files.
v2:
- Don't mangle with existing EXTRA_DIST list
- Add the symbols check script to the `make check' target
- Rename wayland-egl-{priv,backend}.h
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Arnaud Vrac <avrac@freebox.fr>
This commit is contained in:
parent
066113a4c8
commit
1fcb4d1387
2 changed files with 22 additions and 2 deletions
22
Makefile.am
22
Makefile.am
|
|
@ -119,6 +119,7 @@ BUILT_SOURCES = \
|
|||
|
||||
CLEANFILES = $(BUILT_SOURCES) doc/doxygen/doxygen_sqlite3.db
|
||||
DISTCLEANFILES = src/wayland-version.h
|
||||
EXTRA_DIST =
|
||||
|
||||
|
||||
|
||||
|
|
@ -143,6 +144,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-backend.h
|
||||
pkgconfig_DATA += egl/wayland-egl-backend.pc
|
||||
|
||||
built_test_programs = \
|
||||
array-test \
|
||||
|
|
@ -164,7 +175,13 @@ built_test_programs = \
|
|||
message-test \
|
||||
headers-test \
|
||||
compositor-introspection-test \
|
||||
protocol-logger-test
|
||||
protocol-logger-test \
|
||||
wayland-egl-abi-check
|
||||
|
||||
EXTRA_DIST += egl/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
|
||||
|
|
@ -178,6 +195,7 @@ AM_TESTS_ENVIRONMENT = \
|
|||
;
|
||||
|
||||
TESTS = $(built_test_programs) \
|
||||
egl/wayland-egl-symbols-check \
|
||||
tests/scanner-test.sh
|
||||
|
||||
noinst_PROGRAMS = \
|
||||
|
|
@ -263,7 +281,7 @@ os_wrappers_test_LDADD = libtest-runner.la
|
|||
exec_fd_leak_checker_SOURCES = tests/exec-fd-leak-checker.c
|
||||
exec_fd_leak_checker_LDADD = libtest-runner.la
|
||||
|
||||
EXTRA_DIST = tests/scanner-test.sh \
|
||||
EXTRA_DIST += tests/scanner-test.sh \
|
||||
protocol/tests.xml \
|
||||
tests/data/example.xml \
|
||||
tests/data/example-client.h \
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue