mesa-drm/tests/modeprint/Makefile.am
Stefan Agner eaed5c8825 modeprint: use libutil to lookup strings
Use libutil to lookup connector type names and state. This also
makes sure that the latest connector type addition "DPI" gets
printed correctly.

Signed-off-by: Stefan Agner <stefan@agner.ch>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
2018-10-04 14:26:16 +01:00

20 lines
344 B
Makefile

AM_CFLAGS = \
$(WARN_CFLAGS)\
-fvisibility=hidden \
-I$(top_srcdir)/include/drm \
-I$(top_srcdir)/tests \
-I$(top_srcdir)
if HAVE_INSTALL_TESTS
bin_PROGRAMS = \
modeprint
else
noinst_PROGRAMS = \
modeprint
endif
modeprint_SOURCES = \
modeprint.c
modeprint_LDADD = \
$(top_builddir)/tests/util/libutil.la \
$(top_builddir)/libdrm.la