From 12f348bc987991f7014996841c5e37887bcae228 Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Wed, 1 Mar 2017 19:03:17 -0800 Subject: vulkan/wsi: Generate wayland protocol headers separately from EGL Previously, we were depending on EGL for generating the headers and providing the protocol symbols. However, since neither Vulkan driver actually wants to link against EGL, this is kind of pointless. It also creates a weird build dependency. v2 [Jason] - Add missing wsi/ prefix, MKDIR_GEN v3 [Emil Velikov] - include BUILT_SOURCES/generation rules outside of conditional Reviewed-by: Emil Velikov Reviewed-by: Jason Ekstrand --- src/vulkan/Makefile.sources | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/vulkan/Makefile.sources') diff --git a/src/vulkan/Makefile.sources b/src/vulkan/Makefile.sources index 7510d7264ed..63f4ac11620 100644 --- a/src/vulkan/Makefile.sources +++ b/src/vulkan/Makefile.sources @@ -7,6 +7,10 @@ VULKAN_WSI_WAYLAND_FILES := \ wsi/wsi_common_wayland.c \ wsi/wsi_common_wayland.h +VULKAN_WSI_WAYLAND_GENERATED_FILES := \ + wsi/wayland-drm-protocol.c \ + wsi/wayland-drm-client-protocol.h + VULKAN_WSI_X11_FILES := \ wsi/wsi_common_x11.c \ wsi/wsi_common_x11.h -- cgit v1.2.3