summaryrefslogtreecommitdiff
path: root/tests/Makefile.am
blob: b72c24f9ed792b813eb1b45052a94175583b8a24 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
SUBDIRS = util kms modeprint proptest modetest vbltest

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

if HAVE_ETNAVIV
SUBDIRS += etnaviv
endif

if HAVE_NOUVEAU
SUBDIRS += nouveau
endif

AM_CFLAGS = \
	$(WARN_CFLAGS)\
	-I $(top_srcdir)/include/drm \
	-I $(top_srcdir)

LDADD = $(top_builddir)/libdrm.la

TESTS = \
	drmsl \
	hash \
	random

check_PROGRAMS = \
	$(TESTS)

if HAVE_INSTALL_TESTS
bin_PROGRAMS = drmdevice
else
check_PROGRAMS += drmdevice
endif