diff options
Diffstat (limited to 'src/egl/Makefile.am')
-rw-r--r-- | src/egl/Makefile.am | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/src/egl/Makefile.am b/src/egl/Makefile.am index 285d3caa9ef..086a4a1e630 100644 --- a/src/egl/Makefile.am +++ b/src/egl/Makefile.am @@ -50,6 +50,7 @@ libEGL_common_la_LIBADD = \ $(EGL_LIB_DEPS) dri2_backend_FILES = +dri2_backend_GENERATED_FILES = dri3_backend_FILES = if HAVE_PLATFORM_X11 @@ -87,7 +88,8 @@ AM_CFLAGS += $(WAYLAND_SERVER_CFLAGS) libEGL_common_la_LIBADD += $(top_builddir)/src/egl/wayland/wayland-drm/libwayland-drm.la libEGL_common_la_LIBADD += $(WAYLAND_SERVER_LIBS) dri2_backend_FILES += \ - drivers/dri2/platform_wayland.c \ + drivers/dri2/platform_wayland.c +dri2_backend_GENERATED_FILES += \ drivers/dri2/linux-dmabuf-unstable-v1-protocol.c \ drivers/dri2/linux-dmabuf-unstable-v1-client-protocol.h endif @@ -118,6 +120,9 @@ AM_CFLAGS += \ -DDEFAULT_DRIVER_DIR=\"$(DRI_DRIVER_SEARCH_DIR)\" \ -D_EGL_BUILT_IN_DRIVER_DRI2 +nodist_libEGL_common_la_SOURCES = \ + $(dri2_backend_GENERATED_FILES) + libEGL_common_la_SOURCES += \ $(dri2_backend_core_FILES) \ $(dri2_backend_FILES) \ @@ -148,7 +153,10 @@ g_egldispatchstubs.h: $(GLVND_GEN_DEPS) $(top_srcdir)/src/egl/generate/egl_other.xml > $@ BUILT_SOURCES += g_egldispatchstubs.c g_egldispatchstubs.h -CLEANFILES = $(BUILT_SOURCES) + +CLEANFILES = \ + $(BUILT_SOURCES) \ + $(dri2_backend_GENERATED_FILES) if USE_LIBGLVND AM_CFLAGS += \ |