summaryrefslogtreecommitdiff
path: root/tests/amdgpu/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'tests/amdgpu/Makefile.am')
-rw-r--r--tests/amdgpu/Makefile.am38
1 files changed, 38 insertions, 0 deletions
diff --git a/tests/amdgpu/Makefile.am b/tests/amdgpu/Makefile.am
new file mode 100644
index 00000000..920882d0
--- /dev/null
+++ b/tests/amdgpu/Makefile.am
@@ -0,0 +1,38 @@
+AM_CFLAGS = \
+ -fvisibility=hidden \
+ -I $(top_srcdir)/include/drm \
+ -I $(top_srcdir)/amdgpu \
+ -I $(top_srcdir) \
+ -pthread
+
+LDADD = $(top_builddir)/libdrm.la \
+ $(top_builddir)/amdgpu/libdrm_amdgpu.la \
+ $(CUNIT_LIBS)
+
+if HAVE_INSTALL_TESTS
+bin_PROGRAMS = \
+ amdgpu_test
+else
+noinst_PROGRAMS = \
+ amdgpu_test
+endif
+
+amdgpu_test_CPPFLAGS = $(CUNIT_CFLAGS)
+
+amdgpu_test_SOURCES = \
+ amdgpu_test.c \
+ amdgpu_test.h \
+ basic_tests.c \
+ bo_tests.c \
+ cs_tests.c \
+ decode_messages.h \
+ vce_tests.c \
+ vce_ib.h \
+ frame.h \
+ uvd_enc_tests.c \
+ vcn_tests.c \
+ uve_ib.h \
+ deadlock_tests.c \
+ vm_tests.c \
+ ras_tests.c \
+ syncobj_tests.c