123c54782d25b20ef2c2131492c35eb0efb7327d
[platform/upstream/libdrm.git] / tests / Makefile.am
1 AM_CFLAGS = \
2         -I $(top_srcdir)/shared-core \
3         -I $(top_srcdir)/libdrm
4
5 noinst_PROGRAMS = \
6         dristat \
7         drmstat
8
9 SUBDIRS = \
10         modeprint \
11         modetest
12
13 if HAVE_LIBUDEV
14
15 EXTRA_LTLIBRARIES = libdrmtest.la
16 libdrmtest_la_SOURCES = \
17         drmtest.c \
18         drmtest.h
19 libdrmtest_la_LIBADD = \
20         $(top_builddir)/libdrm/libdrm.la \
21         $(LIBUDEV_LIBS)
22
23 LDADD = libdrmtest.la
24
25 TESTS = auth \
26         openclose \
27         getversion \
28         getclient \
29         getstats \
30         lock \
31         setversion \
32         updatedraw \
33         gem_basic \
34         gem_flink \
35         gem_readwrite \
36         gem_mmap
37
38 EXTRA_PROGRAMS = $(TESTS)
39
40 endif
41
42 CLEANFILES = $(EXTRA_PROGRAMS) $(EXTRA_LTLIBRARIES)
43