1 SUBDIRS = util kms modeprint proptest modetest vbltest 2 3 if HAVE_LIBKMS 4 SUBDIRS += kmstest planetest 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 drmdevice \ 35 drmstat 36 37 dristat_LDADD = -lm 38 39 if HAVE_NOUVEAU 40 SUBDIRS += nouveau 41 endif 42 43 TESTS = \ 44 drmsl \ 45 hash \ 46 random 47 48 if HAVE_LIBUDEV 49 50 check_LTLIBRARIES = libdrmtest.la 51 52 libdrmtest_la_SOURCES = \ 53 drmtest.c \ 54 drmtest.h 55 56 LDADD += \ 57 libdrmtest.la \ 58 $(LIBUDEV_LIBS) 59 60 61 XFAIL_TESTS = \ 62 auth \ 63 lock 64 65 TESTS += \ 66 openclose \ 67 getversion \ 68 getclient \ 69 getstats \ 70 setversion \ 71 updatedraw \ 72 name_from_fd 73 endif 74 75 check_PROGRAMS += $(TESTS) 76