mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2026-05-17 18:28:10 +02:00
Use the new util_open() helper instead of open-coding the method for finding a usable device. While at it, this adds -D and -M command-line options to vbltest to make its usage more consistent with its siblings modetest and proptest. Signed-off-by: Thierry Reding <treding@nvidia.com> Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
19 lines
311 B
Makefile
19 lines
311 B
Makefile
AM_CFLAGS = \
|
|
$(WARN_CFLAGS)\
|
|
-I$(top_srcdir)/include/drm \
|
|
-I$(top_srcdir)/tests \
|
|
-I$(top_srcdir)
|
|
|
|
if HAVE_INSTALL_TESTS
|
|
bin_PROGRAMS = \
|
|
vbltest
|
|
else
|
|
noinst_PROGRAMS = \
|
|
vbltest
|
|
endif
|
|
|
|
vbltest_SOURCES = \
|
|
vbltest.c
|
|
vbltest_LDADD = \
|
|
$(top_builddir)/libdrm.la \
|
|
$(top_builddir)/tests/util/libutil.la
|