From fea3831133da26049cbfb5105924dfb839e926c4 Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Sun, 7 Sep 2014 18:20:03 +0100 Subject: modetest: move sources lists to makefiles.sources Signed-off-by: Emil Velikov Reviewed-by: Jakob Bornecrantz --- tests/modetest/Makefile.am | 7 +++---- tests/modetest/Makefile.sources | 6 ++++++ 2 files changed, 9 insertions(+), 4 deletions(-) create mode 100644 tests/modetest/Makefile.sources diff --git a/tests/modetest/Makefile.am b/tests/modetest/Makefile.am index fd6ebb22..d551fe42 100644 --- a/tests/modetest/Makefile.am +++ b/tests/modetest/Makefile.am @@ -1,3 +1,5 @@ +include Makefile.sources + AM_CFLAGS = $(filter-out -Wpointer-arith, $(WARN_CFLAGS)) AM_CFLAGS += \ @@ -13,10 +15,7 @@ noinst_PROGRAMS = \ modetest endif -modetest_SOURCES = \ - buffers.c buffers.h \ - cursor.c cursor.h \ - modetest.c +modetest_SOURCES = $(MODETEST_FILES) modetest_LDADD = \ $(top_builddir)/libdrm.la \ diff --git a/tests/modetest/Makefile.sources b/tests/modetest/Makefile.sources new file mode 100644 index 00000000..399af0df --- /dev/null +++ b/tests/modetest/Makefile.sources @@ -0,0 +1,6 @@ +MODETEST_FILES := \ + buffers.c \ + buffers.h \ + cursor.c \ + cursor.h \ + modetest.c -- cgit v1.2.3