summaryrefslogtreecommitdiffstats
path: root/src/Makefile.am
diff options
context:
space:
mode:
authorEmil Velikov <emil.velikov@collabora.com>2016-04-20 19:44:51 +0100
committerEmil Velikov <emil.l.velikov@gmail.com>2016-05-01 08:38:05 +0100
commit6cb814727d5268dc6650fe8472773b45e462498f (patch)
treee474909c7e1fdd0a2db52db4598319e553ca1f68 /src/Makefile.am
parent4fcf0ba113f7d85dd0383984efbff630c0ff6022 (diff)
downloadexternal_mesa3d-6cb814727d5268dc6650fe8472773b45e462498f.zip
external_mesa3d-6cb814727d5268dc6650fe8472773b45e462498f.tar.gz
external_mesa3d-6cb814727d5268dc6650fe8472773b45e462498f.tar.bz2
automake: tweak SUBDIR reorder and comment it
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>
Diffstat (limited to 'src/Makefile.am')
-rw-r--r--src/Makefile.am9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 29d4ea9..6ce5791 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -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