OSDN Git Service
(root)
/
android-x86
/
external-libdrm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
tests: Add -lm to LDADD for dristat
[android-x86/external-libdrm.git]
/
tests
/
Makefile.am
1
SUBDIRS = 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
AM_CFLAGS = \
26
$(WARN_CFLAGS)\
27
-I $(top_srcdir)/include/drm \
28
-I $(top_srcdir)
29
30
LDADD = $(top_builddir)/libdrm.la
31
32
check_PROGRAMS = \
33
dristat \
34
drmstat
35
36
dristat_LDADD = -lm
37
38
if HAVE_NOUVEAU
39
SUBDIRS += nouveau
40
endif
41
42
TESTS = \
43
drmsl \
44
hash \
45
random
46
47
if HAVE_LIBUDEV
48
49
check_LTLIBRARIES = libdrmtest.la
50
51
libdrmtest_la_SOURCES = \
52
drmtest.c \
53
drmtest.h
54
55
LDADD += \
56
libdrmtest.la \
57
$(LIBUDEV_LIBS)
58
59
60
XFAIL_TESTS = \
61
auth \
62
lock
63
64
TESTS += \
65
openclose \
66
getversion \
67
getclient \
68
getstats \
69
setversion \
70
updatedraw \
71
name_from_fd
72
endif
73
74
check_PROGRAMS += $(TESTS)