drm/tests/Makefile.am

65 lines
806 B
Makefile
Raw Normal View History

NULL:=#
AM_CFLAGS = \
$(WARN_CFLAGS)\
-I $(top_srcdir)/include/drm \
2009-11-17 09:14:54 -07:00
-I $(top_srcdir)
2009-11-17 09:14:54 -07:00
LDADD = $(top_builddir)/libdrm.la
check_PROGRAMS = \
dristat \
drmstat
SUBDIRS = modeprint proptest
2010-01-08 08:34:44 -07:00
if HAVE_LIBKMS
SUBDIRS += kmstest modetest
2010-01-08 08:34:44 -07:00
endif
if HAVE_RADEON
SUBDIRS += radeon
endif
if HAVE_EXYNOS
SUBDIRS += exynos
endif
if HAVE_TEGRA
SUBDIRS += tegra
endif
if HAVE_LIBUDEV
check_LTLIBRARIES = libdrmtest.la
2009-04-09 13:02:40 -06:00
libdrmtest_la_SOURCES = \
drmtest.c \
drmtest.h
2009-04-09 13:02:40 -06:00
libdrmtest_la_LIBADD = \
2009-11-17 09:14:54 -07:00
$(top_builddir)/libdrm.la \
$(LIBUDEV_LIBS)
2009-04-09 13:02:40 -06:00
LDADD += libdrmtest.la
XFAIL_TESTS = \
auth \
lock
TESTS = \
openclose \
getversion \
getclient \
getstats \
setversion \
updatedraw \
name_from_fd \
$(NULL)
SUBDIRS += vbltest $(NULL)
check_PROGRAMS += $(TESTS)
endif