# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
# IN THE SOFTWARE.
-SUBDIRS = . main/tests state_tracker/tests
+SUBDIRS = . main/tests
+
+# state tracker tests depend on libmesagallium.la
+if HAVE_GALLIUM
+SUBDIRS += state_tracker/tests
+endif
if HAVE_XLIB_GLX
SUBDIRS += drivers/x11
EXTRA_DIST = \
drivers/SConscript \
+ main/meson.build \
+ program/meson.build \
+ meson.build \
main/format_fallback.py \
main/format_info.py \
main/format_pack.py \