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 += \
|
2018-09-13 17:24:32 -06:00
|
|
|
-fvisibility=hidden \
|
2017-01-27 00:21:19 -07:00
|
|
|
-pthread \
|
2009-11-17 07:46:39 -07:00
|
|
|
-I$(top_srcdir)/include/drm \
|
2015-12-09 10:37:39 -07:00
|
|
|
-I$(top_srcdir)/tests \
|
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 \
|
2015-12-09 10:37:39 -07:00
|
|
|
$(top_builddir)/tests/util/libutil.la \
|
2017-01-27 00:21:19 -07:00
|
|
|
$(CAIRO_LIBS)
|