mesa-drm/tests/kmstest/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

22 lines
314 B
Makefile

AM_CFLAGS = \
-I$(top_srcdir)/include/drm \
-I$(top_srcdir)/libkms/ \
-I$(top_srcdir)
if HAVE_INSTALL_TESTS
bin_PROGRAMS = \
kmstest
else
noinst_PROGRAMS = \
kmstest
endif
kmstest_SOURCES = \
main.c
kmstest_LDADD = \
$(top_builddir)/libdrm.la \
$(top_builddir)/libkms/libkms.la
run: kmstest
./kmstest