summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMatt Turner <[email protected]>2013-01-18 23:59:49 -0800
committerMatt Turner <[email protected]>2013-04-15 12:04:26 -0700
commita9676ae44ae96a9e222ed5c4fc798315d5a0f445 (patch)
treef480787b28f58fc43657b81bcacad5dfc0b83c22 /src
parent691c30404d2cb9a562058dd8ab615dd8512c9d23 (diff)
build: Get rid of SRC_DIRS
Tested-by: Emil Velikov <[email protected]> Reviewed-and-Tested-by: Andreas Boll <[email protected]> Reviewed-by: Jordan Justen <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am25
1 files changed, 24 insertions, 1 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index d096f29c4d5..b6449b967b3 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -25,4 +25,27 @@ if NEED_OPENGL_COMMON
SUBDIRS += glsl mesa
endif
-SUBDIRS += $(SRC_DIRS)
+if HAVE_DRI_GLX
+SUBDIRS += glx
+endif
+
+if HAVE_GBM
+SUBDIRS += gbm
+endif
+
+if HAVE_EGL
+SUBDIRS += egl
+endif
+
+if HAVE_GALLIUM
+SUBDIRS += \
+ gallium \
+ gallium/winsys \
+ gallium/targets
+
+if HAVE_GALLIUM_TESTS
+SUBDIRS += \
+ gallium/tests/trivial \
+ gallium/tests/unit
+endif
+endif