OSDN Git Service

libdrm: omap: Add DRM_RDWR flag to dmabuf export
[android-x86/external-libdrm.git] / tests / Makefile.am
1 SUBDIRS = util kms modeprint proptest modetest vbltest
2
3 if HAVE_LIBKMS
4 SUBDIRS += kmstest
5 endif
6
7 if HAVE_RADEON
8 SUBDIRS += radeon
9 endif
10
11 if HAVE_AMDGPU
12 if HAVE_CUNIT
13 SUBDIRS += amdgpu
14 endif
15 endif
16
17 if HAVE_EXYNOS
18 SUBDIRS += exynos
19 endif
20
21 if HAVE_TEGRA
22 SUBDIRS += tegra
23 endif
24
25 if HAVE_ETNAVIV
26 SUBDIRS += etnaviv
27 endif
28
29 if HAVE_NOUVEAU
30 SUBDIRS += nouveau
31 endif
32
33 AM_CFLAGS = \
34         $(WARN_CFLAGS)\
35         -fvisibility=hidden \
36         -I $(top_srcdir)/include/drm \
37         -I $(top_srcdir)
38
39 LDADD = $(top_builddir)/libdrm.la
40
41 TESTS = \
42         drmsl \
43         hash \
44         random
45
46 check_PROGRAMS = \
47         $(TESTS)
48
49 if HAVE_INSTALL_TESTS
50 bin_PROGRAMS = drmdevice
51 else
52 check_PROGRAMS += drmdevice
53 endif