drm/tests/Makefile.am

76 lines
885 B
Makefile
Raw Normal View History

SUBDIRS = modeprint proptest modetest vbltest
2010-01-08 08:34:44 -07:00
if HAVE_LIBKMS
SUBDIRS += kmstest
2010-01-08 08:34:44 -07:00
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
AM_CFLAGS = \
$(WARN_CFLAGS)\
-I $(top_srcdir)/include/drm \
-I $(top_srcdir)
LDADD = $(top_builddir)/libdrm.la
check_PROGRAMS = \
dristat \
drmdevice \
drmstat
dristat_LDADD = -lm
if HAVE_NOUVEAU
SUBDIRS += nouveau
endif
TESTS = \
drmsl \
hash \
random
if HAVE_LIBUDEV
check_LTLIBRARIES = libdrmtest.la
2009-04-09 13:02:40 -06:00
libdrmtest_la_SOURCES = \
drmtest.c \
drmtest.h
2009-04-09 13:02:40 -06:00
LDADD += \
libdrmtest.la \
$(LIBUDEV_LIBS)
XFAIL_TESTS = \
auth \
lock
TESTS += \
openclose \
getversion \
getclient \
getstats \
setversion \
updatedraw \
name_from_fd
endif
check_PROGRAMS += $(TESTS)