drm/tests/modetest/Makefile.am

29 lines
483 B
Makefile
Raw Normal View History

AM_CFLAGS = $(filter-out -Wpointer-arith, $(WARN_CFLAGS))
AM_CFLAGS += \
-I$(top_srcdir)/include/drm \
2011-02-17 02:47:47 -07:00
-I$(top_srcdir)/libkms/ \
-I$(top_srcdir)
if HAVE_INSTALL_TESTS
bin_PROGRAMS = \
modetest
else
noinst_PROGRAMS = \
modetest
endif
modetest_SOURCES = \
buffers.c buffers.h \
cursor.c cursor.h \
modetest.c
2012-08-11 12:02:03 -06:00
modetest_LDADD = \
2009-11-17 09:14:54 -07:00
$(top_builddir)/libdrm.la \
$(top_builddir)/libkms/libkms.la
if HAVE_CAIRO
AM_CFLAGS += $(CAIRO_CFLAGS)
modetest_LDADD += $(CAIRO_LIBS)
endif