autotools: include meson build files in tarball
[mesa.git] / src / egl / wayland / wayland-drm / Makefile.am
1 AM_CFLAGS = -I$(top_srcdir)/include \
2 $(DEFINES) \
3 $(VISIBILITY_CFLAGS) \
4 $(WAYLAND_SERVER_CFLAGS)
5
6 noinst_LTLIBRARIES = libwayland-drm.la
7 libwayland_drm_la_SOURCES = \
8 wayland-drm.c \
9 wayland-drm.h \
10 wayland-drm-protocol.c
11 noinst_HEADERS = wayland-drm.h
12
13 EXTRA_DIST = wayland-drm.xml meson.build
14
15 BUILT_SOURCES = wayland-drm-protocol.c \
16 wayland-drm-client-protocol.h \
17 wayland-drm-server-protocol.h
18 CLEANFILES = $(BUILT_SOURCES)
19
20 %-protocol.c : %.xml
21 $(AM_V_GEN)$(WAYLAND_SCANNER) code < $< > $@
22
23 %-server-protocol.h : %.xml
24 $(AM_V_GEN)$(WAYLAND_SCANNER) server-header < $< > $@
25
26 %-client-protocol.h : %.xml
27 $(AM_V_GEN)$(WAYLAND_SCANNER) client-header < $< > $@