automake: tweak SUBDIR reorder and comment it
authorEmil Velikov <emil.velikov@collabora.com>
Wed, 20 Apr 2016 18:44:51 +0000 (19:44 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Sun, 1 May 2016 07:38:05 +0000 (08:38 +0100)
It should ease people with all the interaction and platforms and how
they interact (at least from a build POV) with each other.

Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Acked-by: Jason Ekstrand <jason@jlekstrand.net>
src/Makefile.am

index 29d4ea94ca937305571687955aaf52fb68ceaa59..6ce57916031e05acc26504c5b3bc5371c24dfb6f 100644 (file)
@@ -38,14 +38,21 @@ if HAVE_DRI_GLX
 SUBDIRS += glx
 endif
 
+## Optionally required by GBM and EGL
 if HAVE_PLATFORM_WAYLAND
-SUBDIRS += egl/wayland/wayland-egl egl/wayland/wayland-drm
+SUBDIRS += egl/wayland/wayland-drm
 endif
 
+## Optionally required by EGL (aka PLATFORM_GBM)
 if HAVE_GBM
 SUBDIRS += gbm
 endif
 
+## Optionally required by EGL
+if HAVE_PLATFORM_WAYLAND
+SUBDIRS += egl/wayland/wayland-egl
+endif
+
 if HAVE_EGL
 SUBDIRS += egl
 endif