2015-12-09 18:37:39 +01:00
|
|
|
SUBDIRS = util modeprint proptest modetest vbltest
|
2009-10-03 23:17:57 +01:00
|
|
|
|
2010-01-08 15:34:44 +00:00
|
|
|
if HAVE_LIBKMS
|
2015-03-10 18:12:28 +00:00
|
|
|
SUBDIRS += kmstest
|
2010-01-08 15:34:44 +00:00
|
|
|
endif
|
|
|
|
|
|
2011-11-10 16:47:10 -05:00
|
|
|
if HAVE_RADEON
|
|
|
|
|
SUBDIRS += radeon
|
|
|
|
|
endif
|
|
|
|
|
|
2015-04-20 12:15:23 -04:00
|
|
|
if HAVE_AMDGPU
|
|
|
|
|
if HAVE_CUNIT
|
|
|
|
|
SUBDIRS += amdgpu
|
|
|
|
|
endif
|
|
|
|
|
endif
|
|
|
|
|
|
2013-02-18 21:51:00 +09:00
|
|
|
if HAVE_EXYNOS
|
|
|
|
|
SUBDIRS += exynos
|
|
|
|
|
endif
|
|
|
|
|
|
2014-02-19 14:48:31 +01:00
|
|
|
if HAVE_TEGRA
|
|
|
|
|
SUBDIRS += tegra
|
|
|
|
|
endif
|
|
|
|
|
|
2015-03-10 18:02:20 +00:00
|
|
|
AM_CFLAGS = \
|
|
|
|
|
$(WARN_CFLAGS)\
|
|
|
|
|
-I $(top_srcdir)/include/drm \
|
|
|
|
|
-I $(top_srcdir)
|
|
|
|
|
|
|
|
|
|
LDADD = $(top_builddir)/libdrm.la
|
|
|
|
|
|
|
|
|
|
check_PROGRAMS = \
|
|
|
|
|
dristat \
|
2015-09-09 16:48:29 +01:00
|
|
|
drmdevice \
|
2015-04-05 15:12:48 +01:00
|
|
|
drmstat
|
2015-03-10 18:02:20 +00:00
|
|
|
|
2015-09-07 19:02:14 +09:00
|
|
|
dristat_LDADD = -lm
|
|
|
|
|
|
2015-02-26 11:54:03 +01:00
|
|
|
if HAVE_NOUVEAU
|
|
|
|
|
SUBDIRS += nouveau
|
|
|
|
|
endif
|
|
|
|
|
|
2015-03-20 16:58:29 -04:00
|
|
|
TESTS = \
|
2015-04-05 15:12:16 +01:00
|
|
|
drmsl \
|
2015-04-05 15:12:48 +01:00
|
|
|
hash \
|
|
|
|
|
random
|
2015-03-20 16:58:29 -04:00
|
|
|
|
2009-04-06 17:13:01 -04:00
|
|
|
if HAVE_LIBUDEV
|
|
|
|
|
|
2010-05-12 13:55:34 -04:00
|
|
|
check_LTLIBRARIES = libdrmtest.la
|
2009-04-09 15:02:40 -04:00
|
|
|
|
2007-07-19 04:59:59 -07:00
|
|
|
libdrmtest_la_SOURCES = \
|
|
|
|
|
drmtest.c \
|
|
|
|
|
drmtest.h
|
2009-04-09 15:02:40 -04:00
|
|
|
|
2015-02-25 13:00:08 +00:00
|
|
|
LDADD += \
|
|
|
|
|
libdrmtest.la \
|
2009-04-06 17:13:01 -04:00
|
|
|
$(LIBUDEV_LIBS)
|
2007-07-19 04:59:59 -07:00
|
|
|
|
|
|
|
|
|
2009-04-06 17:18:17 -04:00
|
|
|
XFAIL_TESTS = \
|
|
|
|
|
auth \
|
|
|
|
|
lock
|
|
|
|
|
|
2015-03-20 16:58:29 -04:00
|
|
|
TESTS += \
|
2009-04-06 17:18:17 -04:00
|
|
|
openclose \
|
|
|
|
|
getversion \
|
|
|
|
|
getclient \
|
|
|
|
|
getstats \
|
|
|
|
|
setversion \
|
|
|
|
|
updatedraw \
|
2015-03-10 18:01:24 +00:00
|
|
|
name_from_fd
|
2015-03-20 16:58:29 -04:00
|
|
|
endif
|
2009-10-03 23:17:57 +01:00
|
|
|
|
2010-05-12 13:55:34 -04:00
|
|
|
check_PROGRAMS += $(TESTS)
|