xenocara/lib/libdrm/tests/modetest/Makefile.am
2018-11-01 08:22:36 +00:00

26 lines
442 B
Makefile

include Makefile.sources
AM_CFLAGS = $(filter-out -Wpointer-arith, $(WARN_CFLAGS))
AM_CFLAGS += \
-fvisibility=hidden \
-pthread \
-I$(top_srcdir)/include/drm \
-I$(top_srcdir)/tests \
-I$(top_srcdir)
if HAVE_INSTALL_TESTS
bin_PROGRAMS = \
modetest
else
noinst_PROGRAMS = \
modetest
endif
modetest_SOURCES = $(MODETEST_FILES)
modetest_LDADD = \
$(top_builddir)/libdrm.la \
$(top_builddir)/tests/util/libutil.la \
$(CAIRO_LIBS)