2014-09-07 11:20:03 -06:00
|
|
|
include Makefile.sources
|
|
|
|
|
2013-02-11 13:36:30 -07:00
|
|
|
AM_CFLAGS = $(filter-out -Wpointer-arith, $(WARN_CFLAGS))
|
|
|
|
|
|
|
|
AM_CFLAGS += \
|
2009-11-17 07:46:39 -07:00
|
|
|
-I$(top_srcdir)/include/drm \
|
2011-02-17 02:47:47 -07:00
|
|
|
-I$(top_srcdir)/libkms/ \
|
2012-10-03 19:21:57 -06:00
|
|
|
-I$(top_srcdir)
|
2008-12-17 11:41:21 -07:00
|
|
|
|
2013-01-30 06:34:00 -07:00
|
|
|
if HAVE_INSTALL_TESTS
|
|
|
|
bin_PROGRAMS = \
|
|
|
|
modetest
|
|
|
|
else
|
2008-12-17 11:41:21 -07:00
|
|
|
noinst_PROGRAMS = \
|
|
|
|
modetest
|
2013-01-30 06:34:00 -07:00
|
|
|
endif
|
2008-12-17 11:41:21 -07:00
|
|
|
|
2014-09-07 11:20:03 -06:00
|
|
|
modetest_SOURCES = $(MODETEST_FILES)
|
2012-08-11 12:02:03 -06:00
|
|
|
|
2008-12-17 11:41:21 -07:00
|
|
|
modetest_LDADD = \
|
2009-11-17 09:14:54 -07:00
|
|
|
$(top_builddir)/libdrm.la \
|
2012-10-03 19:21:57 -06:00
|
|
|
$(top_builddir)/libkms/libkms.la
|
|
|
|
|
|
|
|
if HAVE_CAIRO
|
|
|
|
AM_CFLAGS += $(CAIRO_CFLAGS)
|
|
|
|
modetest_LDADD += $(CAIRO_LIBS)
|
|
|
|
endif
|