wayland: Stop trying to use make rules from aclocal, just copy and paste
[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 $(WAYLAND_CFLAGS)
5
6 noinst_LTLIBRARIES = libwayland-drm.la
7 libwayland_drm_la_SOURCES = wayland-drm.c wayland-drm-protocol.c
8 noinst_HEADERS = wayland-drm.h
9
10 BUILT_SOURCES = wayland-drm-protocol.c \
11 wayland-drm-client-protocol.h \
12 wayland-drm-server-protocol.h
13 CLEANFILES = $(BUILT_SOURCES)
14
15 %-protocol.c : %.xml
16 $(AM_V_GEN)$(WAYLAND_SCANNER) code < $< > $@
17
18 %-server-protocol.h : %.xml
19 $(AM_V_GEN)$(WAYLAND_SCANNER) server-header < $< > $@
20
21 %-client-protocol.h : %.xml
22 $(AM_V_GEN)$(WAYLAND_SCANNER) client-header < $< > $@