Add libdrm source dir, to build tests from a different build dir
[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 EXTRA_LTLIBRARIES = libdrmtest.la
10 libdrmtest_la_SOURCES = \
11         drmtest.c \
12         drmtest.h
13 libdrmtest_la_LIBADD = \
14         $(top_builddir)/libdrm/libdrm.la
15
16 LDADD = libdrmtest.la
17
18 TESTS = openclose \
19         getversion \
20         getclient \
21         updatedraw
22
23 EXTRA_PROGRAMS = $(TESTS)
24 CLEANFILES = $(EXTRA_PROGRAMS) $(EXTRA_LTLIBRARIES)
25