automake: include vulkan subdir after wayland-drm
We'll reuse the existing wayland-drm static library with next commit.
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
diff --git a/src/Makefile.am b/src/Makefile.am
index 1471fa0..9a1fddf 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -32,11 +32,6 @@
SUBDIRS += mesa
endif
-# This explicitly comes after mesa because it depends on the i965 compiler
-if HAVE_INTEL_VULKAN
-SUBDIRS += intel/vulkan
-endif
-
SUBDIRS += loader
if HAVE_DRI_GLX
@@ -55,6 +50,11 @@
SUBDIRS += egl
endif
+## Requires the i965 compiler (part of mesa) and wayland-drm
+if HAVE_INTEL_VULKAN
+SUBDIRS += intel/vulkan
+endif
+
if HAVE_GALLIUM
SUBDIRS += gallium
endif