Matt Turner | 691c304 | 2013-01-18 23:43:05 -0800 | [diff] [blame] | 1 | # Copyright © 2013 Intel Corporation |
| 2 | # |
| 3 | # Permission is hereby granted, free of charge, to any person obtaining a |
| 4 | # copy of this software and associated documentation files (the "Software"), |
| 5 | # to deal in the Software without restriction, including without limitation |
| 6 | # the rights to use, copy, modify, merge, publish, distribute, sublicense, |
| 7 | # and/or sell copies of the Software, and to permit persons to whom the |
| 8 | # Software is furnished to do so, subject to the following conditions: |
| 9 | # |
| 10 | # The above copyright notice and this permission notice (including the next |
| 11 | # paragraph) shall be included in all copies or substantial portions of the |
| 12 | # Software. |
| 13 | # |
| 14 | # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
| 15 | # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
| 16 | # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL |
| 17 | # THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
| 18 | # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING |
| 19 | # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS |
| 20 | # IN THE SOFTWARE. |
Eric Anholt | 7edbf4b | 2012-05-15 10:21:31 -0700 | [diff] [blame] | 21 | |
Emil Velikov | 8c2e7fd | 2014-01-10 23:36:16 +0000 | [diff] [blame] | 22 | SUBDIRS = gtest loader mapi |
Matt Turner | 691c304 | 2013-01-18 23:43:05 -0800 | [diff] [blame] | 23 | |
| 24 | if NEED_OPENGL_COMMON |
| 25 | SUBDIRS += glsl mesa |
| 26 | endif |
| 27 | |
Matt Turner | a9676ae | 2013-01-18 23:59:49 -0800 | [diff] [blame] | 28 | if HAVE_DRI_GLX |
| 29 | SUBDIRS += glx |
| 30 | endif |
| 31 | |
Armin K | f423eba | 2013-08-11 17:27:23 +0200 | [diff] [blame] | 32 | if HAVE_EGL_PLATFORM_WAYLAND |
| 33 | SUBDIRS += egl/wayland |
| 34 | endif |
| 35 | |
Matt Turner | 1d4007f | 2013-11-10 17:37:54 -0800 | [diff] [blame] | 36 | if HAVE_EGL_DRIVER_DRI2 |
| 37 | SUBDIRS += egl/drivers/dri2 |
| 38 | endif |
| 39 | |
Matt Turner | a9676ae | 2013-01-18 23:59:49 -0800 | [diff] [blame] | 40 | if HAVE_GBM |
| 41 | SUBDIRS += gbm |
| 42 | endif |
| 43 | |
| 44 | if HAVE_EGL |
Matt Turner | 1d4007f | 2013-11-10 17:37:54 -0800 | [diff] [blame] | 45 | SUBDIRS += egl/main |
Matt Turner | a9676ae | 2013-01-18 23:59:49 -0800 | [diff] [blame] | 46 | endif |
| 47 | |
| 48 | if HAVE_GALLIUM |
| 49 | SUBDIRS += \ |
Matt Turner | 70531b4 | 2013-01-19 00:09:36 -0800 | [diff] [blame] | 50 | gallium/auxiliary \ |
| 51 | gallium/drivers \ |
| 52 | gallium/state_trackers \ |
Matt Turner | a9676ae | 2013-01-18 23:59:49 -0800 | [diff] [blame] | 53 | gallium/winsys \ |
| 54 | gallium/targets |
| 55 | |
| 56 | if HAVE_GALLIUM_TESTS |
| 57 | SUBDIRS += \ |
| 58 | gallium/tests/trivial \ |
| 59 | gallium/tests/unit |
| 60 | endif |
| 61 | endif |