1 AM_CFLAGS = -I$(top_srcdir)/include \
4 $(WAYLAND_SERVER_CFLAGS)
6 noinst_LTLIBRARIES = libwayland-drm.la
7 libwayland_drm_la_SOURCES = \
10 wayland-drm-protocol.c
11 noinst_HEADERS = wayland-drm.h
13 EXTRA_DIST = wayland-drm.xml
15 BUILT_SOURCES = wayland-drm-protocol.c \
16 wayland-drm-client-protocol.h \
17 wayland-drm-server-protocol.h
18 CLEANFILES = $(BUILT_SOURCES)
21 $(AM_V_GEN)$(WAYLAND_SCANNER) code < $< > $@
23 %-server-protocol.h : %.xml
24 $(AM_V_GEN)$(WAYLAND_SCANNER) server-header < $< > $@
26 %-client-protocol.h : %.xml
27 $(AM_V_GEN)$(WAYLAND_SCANNER) client-header < $< > $@