xenocara/lib/libdrm/tests/Makefile.am

80 lines
936 B
Makefile
Raw Normal View History

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
2015-08-21 17:55:36 -06:00
AM_CFLAGS = \
$(WARN_CFLAGS)\
-I $(top_srcdir)/include/drm \
-I $(top_srcdir)
LDADD = $(top_builddir)/libdrm.la
check_PROGRAMS = \
dristat \
2016-03-20 04:19:44 -06:00
drmdevice \
2015-08-21 17:55:36 -06:00
drmstat
2015-12-27 01:58:00 -07:00
dristat_LDADD = -lm
2015-08-21 17:55:36 -06:00
if HAVE_NOUVEAU
SUBDIRS += nouveau
endif
TESTS = \
drmsl \
hash \
random
if HAVE_LIBUDEV
check_LTLIBRARIES = libdrmtest.la
libdrmtest_la_SOURCES = \
drmtest.c \
drmtest.h
LDADD += \
libdrmtest.la \
$(LIBUDEV_LIBS)
XFAIL_TESTS = \
auth \
lock
TESTS += \
openclose \
getversion \
getclient \
getstats \
setversion \
updatedraw \
name_from_fd
endif
check_PROGRAMS += $(TESTS)