From ee2b943fa85755fe2565f12c625e41cd08a826f9 Mon Sep 17 00:00:00 2001 From: "Juan A. Suarez Romero" Date: Fri, 23 Mar 2018 11:24:42 +0100 Subject: wayland-drm: do not distribute generated sources Instead we will re-generate them again on building. v2: get rid of BUILT_SOURCES (Daniel, Emil) v3: keep BUILT_SOURCES for egl/Makefile.am (Emil) Reviewed-by: Emil Velikov --- src/egl/wayland/wayland-drm/Makefile.am | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) (limited to 'src/egl/wayland/wayland-drm/Makefile.am') diff --git a/src/egl/wayland/wayland-drm/Makefile.am b/src/egl/wayland/wayland-drm/Makefile.am index c10c4349d48..0404c79e7fa 100644 --- a/src/egl/wayland/wayland-drm/Makefile.am +++ b/src/egl/wayland/wayland-drm/Makefile.am @@ -3,19 +3,29 @@ AM_CFLAGS = -I$(top_srcdir)/include \ $(VISIBILITY_CFLAGS) \ $(WAYLAND_SERVER_CFLAGS) +if HAVE_PLATFORM_WAYLAND +wayland-drm.lo: wayland-drm-client-protocol.h wayland-drm-server-protocol.h +endif + noinst_LTLIBRARIES = libwayland-drm.la + +nodist_libwayland_drm_la_SOURCES = \ + wayland-drm-protocol.c \ + wayland-drm-client-protocol.h \ + wayland-drm-server-protocol.h + libwayland_drm_la_SOURCES = \ wayland-drm.c \ - wayland-drm.h \ - wayland-drm-protocol.c + wayland-drm.h + noinst_HEADERS = wayland-drm.h EXTRA_DIST = wayland-drm.xml meson.build -BUILT_SOURCES = wayland-drm-protocol.c \ - wayland-drm-client-protocol.h \ - wayland-drm-server-protocol.h -CLEANFILES = $(BUILT_SOURCES) +CLEANFILES = \ + wayland-drm-protocol.c \ + wayland-drm-client-protocol.h \ + wayland-drm-server-protocol.h %-protocol.c : %.xml $(AM_V_GEN)$(WAYLAND_SCANNER) code $< $@ -- cgit v1.2.3