pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = wayland-egl.pc

AM_CFLAGS = $(DEFINES) \
	    $(VISIBILITY_CFLAGS) \
	    $(WAYLAND_CLIENT_CFLAGS)

lib_LTLIBRARIES = libwayland-egl.la
noinst_HEADERS = wayland-egl-backend.h
libwayland_egl_la_SOURCES = wayland-egl.c
libwayland_egl_la_LDFLAGS = \
	-no-undefined \
	-version-info 1 \
	$(GC_SECTIONS) \
	$(LD_NO_UNDEFINED)

TESTS = wayland-egl-symbols-check \
        wayland-egl-abi-check

EXTRA_DIST = wayland-egl-symbols-check meson.build

check_PROGRAMS = wayland-egl-abi-check

include $(top_srcdir)/install-lib-links.mk