summaryrefslogtreecommitdiffstats
path: root/src/egl/wayland/wayland-drm/Makefile.am
blob: 08ee4974ec36ebef1551a685aeab19d377129a06 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
AM_CFLAGS = -I$(top_srcdir)/src/egl/main \
	    -I$(top_srcdir)/include \
	    $(DEFINES) \
	    $(VISIBILITY_CFLAGS) \
	    $(WAYLAND_CFLAGS) 

noinst_LTLIBRARIES = libwayland-drm.la
libwayland_drm_la_SOURCES = wayland-drm.c wayland-drm-protocol.c
noinst_HEADERS = wayland-drm.h

BUILT_SOURCES = wayland-drm-protocol.c \
		wayland-drm-client-protocol.h \
		wayland-drm-server-protocol.h
CLEANFILES = $(BUILT_SOURCES)

%-protocol.c : %.xml
	$(AM_V_GEN)$(WAYLAND_SCANNER) code < $< > $@

%-server-protocol.h : %.xml
	$(AM_V_GEN)$(WAYLAND_SCANNER) server-header < $< > $@

%-client-protocol.h : %.xml
	$(AM_V_GEN)$(WAYLAND_SCANNER) client-header < $< > $@