1NULL:=#
2
3AM_CPPFLAGS = \
4	-I $(top_srcdir)/include/drm \
5	-I $(top_srcdir)
6
7LDADD = $(top_builddir)/libdrm.la
8
9check_PROGRAMS = \
10	dristat \
11	drmstat
12
13SUBDIRS = modeprint proptest
14
15if HAVE_LIBKMS
16SUBDIRS += kmstest modetest planetest
17endif
18
19if HAVE_RADEON
20SUBDIRS += radeon
21endif
22
23if HAVE_EXYNOS
24SUBDIRS += exynos
25endif
26
27if HAVE_TEGRA
28SUBDIRS += tegra
29endif
30
31if HAVE_LIBUDEV
32
33check_LTLIBRARIES = libdrmtest.la
34
35libdrmtest_la_SOURCES = \
36	drmtest.c \
37	drmtest.h
38
39libdrmtest_la_LIBADD = \
40	$(top_builddir)/libdrm.la \
41	$(LIBUDEV_LIBS)
42
43LDADD += libdrmtest.la
44
45XFAIL_TESTS =					\
46	auth					\
47	lock
48
49TESTS =						\
50	openclose				\
51	getversion				\
52	getclient				\
53	getstats				\
54	setversion				\
55	updatedraw				\
56	name_from_fd				\
57	$(NULL)
58
59SUBDIRS += vbltest $(NULL)
60
61if HAVE_INTEL
62TESTS +=					\
63	gem_basic				\
64	gem_flink				\
65	gem_readwrite				\
66	gem_mmap				\
67	$(NULL)
68endif
69
70check_PROGRAMS += $(TESTS)
71
72endif
73