summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/Makefile.am28
1 files changed, 15 insertions, 13 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am
index a2d82659..a1106fce 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -1,14 +1,3 @@
-AM_CFLAGS = \
- $(WARN_CFLAGS)\
- -I $(top_srcdir)/include/drm \
- -I $(top_srcdir)
-
-LDADD = $(top_builddir)/libdrm.la
-
-check_PROGRAMS = \
- dristat \
- drmstat
-
SUBDIRS = modeprint proptest
if HAVE_LIBKMS
@@ -28,6 +17,21 @@ SUBDIRS += tegra
endif
if HAVE_LIBUDEV
+SUBDIRS += vbltest
+endif
+
+AM_CFLAGS = \
+ $(WARN_CFLAGS)\
+ -I $(top_srcdir)/include/drm \
+ -I $(top_srcdir)
+
+LDADD = $(top_builddir)/libdrm.la
+
+check_PROGRAMS = \
+ dristat \
+ drmstat
+
+if HAVE_LIBUDEV
check_LTLIBRARIES = libdrmtest.la
@@ -54,8 +58,6 @@ TESTS = \
updatedraw \
name_from_fd
-SUBDIRS += vbltest
-
check_PROGRAMS += $(TESTS)
endif