2016-03-20 04:19:44 -06:00
|
|
|
SUBDIRS = util kms modeprint proptest modetest vbltest
|
2015-08-21 17:55:36 -06:00
|
|
|
|
|
|
|
if HAVE_LIBKMS
|
|
|
|
SUBDIRS += kmstest
|
|
|
|
endif
|
|
|
|
|
|
|
|
if HAVE_RADEON
|
|
|
|
SUBDIRS += radeon
|
|
|
|
endif
|
|
|
|
|
|
|
|
if HAVE_AMDGPU
|
|
|
|
if HAVE_CUNIT
|
|
|
|
SUBDIRS += amdgpu
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
|
|
|
if HAVE_EXYNOS
|
|
|
|
SUBDIRS += exynos
|
|
|
|
endif
|
|
|
|
|
|
|
|
if HAVE_TEGRA
|
|
|
|
SUBDIRS += tegra
|
|
|
|
endif
|
|
|
|
|
2016-10-16 00:01:17 -06:00
|
|
|
if HAVE_ETNAVIV
|
|
|
|
SUBDIRS += etnaviv
|
|
|
|
endif
|
|
|
|
|
2017-02-04 22:38:00 -07:00
|
|
|
if HAVE_NOUVEAU
|
|
|
|
SUBDIRS += nouveau
|
|
|
|
endif
|
|
|
|
|
2015-08-21 17:55:36 -06:00
|
|
|
AM_CFLAGS = \
|
|
|
|
$(WARN_CFLAGS)\
|
2018-11-01 02:22:36 -06:00
|
|
|
-fvisibility=hidden \
|
2015-08-21 17:55:36 -06:00
|
|
|
-I $(top_srcdir)/include/drm \
|
|
|
|
-I $(top_srcdir)
|
|
|
|
|
|
|
|
LDADD = $(top_builddir)/libdrm.la
|
|
|
|
|
|
|
|
TESTS = \
|
|
|
|
drmsl \
|
|
|
|
hash \
|
|
|
|
random
|
|
|
|
|
2017-02-04 22:38:00 -07:00
|
|
|
check_PROGRAMS = \
|
2018-09-13 05:55:15 -06:00
|
|
|
$(TESTS)
|
|
|
|
|
|
|
|
if HAVE_INSTALL_TESTS
|
|
|
|
bin_PROGRAMS = drmdevice
|
|
|
|
else
|
|
|
|
check_PROGRAMS += drmdevice
|
|
|
|
endif
|