2015-12-09 10:37:42 -07:00
|
|
|
SUBDIRS = util kms modeprint proptest modetest vbltest
|
2009-10-03 16:17:57 -06:00
|
|
|
|
2010-01-08 08:34:44 -07:00
|
|
|
if HAVE_LIBKMS
|
2015-03-10 12:12:28 -06:00
|
|
|
SUBDIRS += kmstest
|
2010-01-08 08:34:44 -07:00
|
|
|
endif
|
|
|
|
|
2011-11-10 14:47:10 -07:00
|
|
|
if HAVE_RADEON
|
|
|
|
SUBDIRS += radeon
|
|
|
|
endif
|
|
|
|
|
2015-04-20 10:15:23 -06:00
|
|
|
if HAVE_AMDGPU
|
|
|
|
if HAVE_CUNIT
|
|
|
|
SUBDIRS += amdgpu
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
2013-02-18 05:51:00 -07:00
|
|
|
if HAVE_EXYNOS
|
|
|
|
SUBDIRS += exynos
|
|
|
|
endif
|
|
|
|
|
2014-02-19 06:48:31 -07:00
|
|
|
if HAVE_TEGRA
|
|
|
|
SUBDIRS += tegra
|
|
|
|
endif
|
|
|
|
|
2016-09-06 10:16:02 -06:00
|
|
|
if HAVE_ETNAVIV
|
|
|
|
SUBDIRS += etnaviv
|
|
|
|
endif
|
|
|
|
|
2016-11-30 12:04:33 -07:00
|
|
|
if HAVE_NOUVEAU
|
|
|
|
SUBDIRS += nouveau
|
|
|
|
endif
|
|
|
|
|
2015-03-10 12:02:20 -06:00
|
|
|
AM_CFLAGS = \
|
|
|
|
$(WARN_CFLAGS)\
|
|
|
|
-I $(top_srcdir)/include/drm \
|
|
|
|
-I $(top_srcdir)
|
|
|
|
|
|
|
|
LDADD = $(top_builddir)/libdrm.la
|
|
|
|
|
2015-03-20 14:58:29 -06:00
|
|
|
TESTS = \
|
2015-04-05 08:12:16 -06:00
|
|
|
drmsl \
|
2015-04-05 08:12:48 -06:00
|
|
|
hash \
|
|
|
|
random
|
2015-03-20 14:58:29 -06:00
|
|
|
|
2016-11-30 12:04:33 -07:00
|
|
|
check_PROGRAMS = \
|
2018-06-25 10:45:23 -06:00
|
|
|
$(TESTS)
|
|
|
|
|
|
|
|
if HAVE_INSTALL_TESTS
|
|
|
|
bin_PROGRAMS = drmdevice
|
|
|
|
else
|
|
|
|
check_PROGRAMS += drmdevice
|
|
|
|
endif
|