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