1 include Makefile.sources 2 3 AM_CFLAGS = $(filter-out -Wpointer-arith, $(WARN_CFLAGS)) 4 5 AM_CFLAGS += \ 6 -I$(top_srcdir)/include/drm \ 7 -I$(top_srcdir)/tests \ 8 -I$(top_srcdir) 9 10 if HAVE_INSTALL_TESTS 11 bin_PROGRAMS = \ 12 modetest 13 else 14 noinst_PROGRAMS = \ 15 modetest 16 endif 17 18 modetest_SOURCES = $(MODETEST_FILES) 19 20 modetest_LDADD = \ 21 $(top_builddir)/libdrm.la \ 22 $(top_builddir)/tests/util/libutil.la \ 23 $(CAIRO_LIBS) \ 24 -lpthread 25 26 EXTRA_DIST = Android.mk 27