1AM_CFLAGS = \
2	-I $(top_srcdir)/include/drm \
3	-I $(top_srcdir)/amdgpu \
4	-I $(top_srcdir) \
5	-pthread
6
7LDADD = $(top_builddir)/libdrm.la \
8	$(top_builddir)/amdgpu/libdrm_amdgpu.la \
9	$(CUNIT_LIBS)
10
11if HAVE_INSTALL_TESTS
12bin_PROGRAMS = \
13	amdgpu_test
14else
15noinst_PROGRAMS = \
16	amdgpu_test
17endif
18
19amdgpu_test_CPPFLAGS = $(CUNIT_CFLAGS)
20
21amdgpu_test_SOURCES = \
22	amdgpu_test.c \
23	amdgpu_test.h \
24	basic_tests.c \
25	bo_tests.c \
26	cs_tests.c \
27	decode_messages.h \
28	vce_tests.c \
29	vce_ib.h \
30	frame.h \
31	uvd_enc_tests.c \
32	vcn_tests.c \
33	uve_ib.h \
34	deadlock_tests.c \
35	vm_tests.c
36