diff options
author | Matt Turner <mattst88@gmail.com> | 2013-01-18 23:59:49 -0800 |
---|---|---|
committer | Matt Turner <mattst88@gmail.com> | 2013-04-15 12:04:26 -0700 |
commit | a9676ae44ae96a9e222ed5c4fc798315d5a0f445 (patch) | |
tree | f480787b28f58fc43657b81bcacad5dfc0b83c22 /src/Makefile.am | |
parent | 691c30404d2cb9a562058dd8ab615dd8512c9d23 (diff) |
build: Get rid of SRC_DIRS
Tested-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-and-Tested-by: Andreas Boll <andreas.boll.dev@gmail.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Diffstat (limited to 'src/Makefile.am')
-rw-r--r-- | src/Makefile.am | 25 |
1 files changed, 24 insertions, 1 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index d096f29c4d..b6449b967b 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 |