2009-10-03 16:17:57 -06:00
|
|
|
NULL:=#
|
|
|
|
|
2009-04-09 13:02:40 -06:00
|
|
|
AM_CPPFLAGS = \
|
2009-11-17 07:46:39 -07:00
|
|
|
-I $(top_srcdir)/include/drm \
|
2009-11-17 09:14:54 -07:00
|
|
|
-I $(top_srcdir)
|
2007-07-19 05:59:59 -06:00
|
|
|
|
2009-11-17 09:14:54 -07:00
|
|
|
LDADD = $(top_builddir)/libdrm.la
|
2009-04-06 17:26:32 -06:00
|
|
|
|
2010-05-12 11:55:34 -06:00
|
|
|
check_PROGRAMS = \
|
2007-07-19 05:59:59 -06:00
|
|
|
dristat \
|
|
|
|
drmstat
|
|
|
|
|
2011-03-03 19:35:28 -07:00
|
|
|
SUBDIRS = modeprint
|
2009-10-03 16:17:57 -06:00
|
|
|
|
2010-01-08 08:34:44 -07:00
|
|
|
if HAVE_LIBKMS
|
2011-03-03 19:35:28 -07:00
|
|
|
SUBDIRS += kmstest modetest
|
2010-01-08 08:34:44 -07:00
|
|
|
endif
|
|
|
|
|
2011-11-10 14:47:10 -07:00
|
|
|
if HAVE_RADEON
|
|
|
|
SUBDIRS += radeon
|
|
|
|
endif
|
|
|
|
|
2013-02-18 05:51:00 -07:00
|
|
|
if HAVE_EXYNOS
|
|
|
|
SUBDIRS += exynos
|
|
|
|
endif
|
|
|
|
|
2009-04-06 15:13:01 -06:00
|
|
|
if HAVE_LIBUDEV
|
|
|
|
|
2010-05-12 11:55:34 -06:00
|
|
|
check_LTLIBRARIES = libdrmtest.la
|
2009-04-09 13:02:40 -06:00
|
|
|
|
2007-07-19 05:59:59 -06:00
|
|
|
libdrmtest_la_SOURCES = \
|
|
|
|
drmtest.c \
|
|
|
|
drmtest.h
|
2009-04-09 13:02:40 -06:00
|
|
|
|
2007-07-19 05:59:59 -06:00
|
|
|
libdrmtest_la_LIBADD = \
|
2009-11-17 09:14:54 -07:00
|
|
|
$(top_builddir)/libdrm.la \
|
2009-04-06 15:13:01 -06:00
|
|
|
$(LIBUDEV_LIBS)
|
2007-07-19 05:59:59 -06:00
|
|
|
|
2009-04-09 13:02:40 -06:00
|
|
|
LDADD += libdrmtest.la
|
2007-07-19 05:59:59 -06:00
|
|
|
|
2009-04-06 15:18:17 -06:00
|
|
|
XFAIL_TESTS = \
|
|
|
|
auth \
|
|
|
|
lock
|
|
|
|
|
|
|
|
TESTS = \
|
|
|
|
openclose \
|
|
|
|
getversion \
|
|
|
|
getclient \
|
|
|
|
getstats \
|
|
|
|
setversion \
|
|
|
|
updatedraw \
|
2009-11-23 18:51:34 -07:00
|
|
|
name_from_fd \
|
2009-10-03 16:17:57 -06:00
|
|
|
$(NULL)
|
|
|
|
|
2010-04-27 13:43:20 -06:00
|
|
|
SUBDIRS += vbltest $(NULL)
|
|
|
|
|
2009-10-03 16:17:57 -06:00
|
|
|
if HAVE_INTEL
|
|
|
|
TESTS += \
|
2009-04-06 15:18:17 -06:00
|
|
|
gem_basic \
|
|
|
|
gem_flink \
|
|
|
|
gem_readwrite \
|
2009-10-03 16:17:57 -06:00
|
|
|
gem_mmap \
|
|
|
|
$(NULL)
|
|
|
|
endif
|
2007-07-19 05:59:59 -06:00
|
|
|
|
2010-05-12 11:55:34 -06:00
|
|
|
check_PROGRAMS += $(TESTS)
|
2009-04-06 15:13:01 -06:00
|
|
|
|
|
|
|
endif
|