mesa-drm/tests/modeprint/Makefile.am
Benjamin Gaignard 62d8866021 tests: allow tests programs to be installed
Install test programs is useful in cross compilation case.  By default
the behavior is the same and test programs aren't installed in $bindir.
If --enable-install-test-programs is set then test programs are
installed in $bindir.

Signed-off-by: Benjamin Gaignard <benjamin.gaignard@linaro.org>
Signed-off-by: Rob Clark <robdclark@gmail.com>
2013-03-25 10:34:16 -04:00

16 lines
238 B
Makefile

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