mesa-drm/tests/Makefile.am
Emil Velikov c64dc00fd9 tests/drmdevices: install alongside other utilities
It's mildly useful program, to ship it when the user wants the "tests"
installed. Obviously the "tests" in the name is a misnomer.

Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Tested-by: Robert Foss <robert.foss@collabora.com>
Reviewed-by: Robert Foss <robert.foss@collabora.com>
Reviewed-by: Eric Engestrom <eric@engestrom.ch>
2018-07-24 16:27:37 +01:00

52 lines
628 B
Makefile

SUBDIRS = util kms modeprint proptest modetest vbltest
if HAVE_LIBKMS
SUBDIRS += kmstest
endif
if HAVE_RADEON
SUBDIRS += radeon
endif
if HAVE_AMDGPU
if HAVE_CUNIT
SUBDIRS += amdgpu
endif
endif
if HAVE_EXYNOS
SUBDIRS += exynos
endif
if HAVE_TEGRA
SUBDIRS += tegra
endif
if HAVE_ETNAVIV
SUBDIRS += etnaviv
endif
if HAVE_NOUVEAU
SUBDIRS += nouveau
endif
AM_CFLAGS = \
$(WARN_CFLAGS)\
-I $(top_srcdir)/include/drm \
-I $(top_srcdir)
LDADD = $(top_builddir)/libdrm.la
TESTS = \
drmsl \
hash \
random
check_PROGRAMS = \
$(TESTS)
if HAVE_INSTALL_TESTS
bin_PROGRAMS = drmdevice
else
check_PROGRAMS += drmdevice
endif