Fix build break
[platform/core/uifw/libtbm.git] / src / wayland-drm / Makefile.am
1 AM_CFLAGS = \
2         -I./ \
3         -I$(top_srcdir) \
4         -I$(top_srcdir)/src \
5         -I$(top_srcdir)/src/wayland-drm \
6         $(WAYLAND_CFLAGS)
7
8 noinst_LTLIBRARIES = libwayland-drm.la
9 libwayland_drm_la_SOURCES = wayland-drm.c wayland-drm-protocol.c
10 noinst_HEADERS = wayland-drm.h
11
12 BUILT_SOURCES = wayland-drm-protocol.c \
13                 wayland-drm-client-protocol.h \
14                 wayland-drm-server-protocol.h
15 CLEANFILES = $(BUILT_SOURCES)
16
17 %-protocol.c : %.xml
18         $(AM_V_GEN)$(WAYLAND_SCANNER) code < $< > $@
19
20 %-server-protocol.h : %.xml
21         $(AM_V_GEN)$(WAYLAND_SCANNER) server-header < $< > $@
22
23 %-client-protocol.h : %.xml
24         $(AM_V_GEN)$(WAYLAND_SCANNER) client-header < $< > $@