1AM_CFLAGS = -I$(top_srcdir)/include \ 2 $(DEFINES) \ 3 $(VISIBILITY_CFLAGS) \ 4 $(WAYLAND_SERVER_CFLAGS) 5 6noinst_LTLIBRARIES = libwayland-drm.la 7libwayland_drm_la_SOURCES = \ 8 wayland-drm.c \ 9 wayland-drm.h \ 10 wayland-drm-protocol.c 11noinst_HEADERS = wayland-drm.h 12 13EXTRA_DIST = wayland-drm.xml meson.build 14 15BUILT_SOURCES = wayland-drm-protocol.c \ 16 wayland-drm-client-protocol.h \ 17 wayland-drm-server-protocol.h 18CLEANFILES = $(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 < $< > $@ 28