summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmil Velikov <emil.l.velikov@gmail.com>2014-09-07 18:20:03 +0100
committerEmil Velikov <emil.l.velikov@gmail.com>2014-09-28 17:09:34 +0100
commitfea3831133da26049cbfb5105924dfb839e926c4 (patch)
treef3790d6b6f99f458299a3c877aa7ccc1e18f81a0
parenta3dfd6d40db6f089ea581d62ddf07ab2290dac9e (diff)
modetest: move sources lists to makefiles.sources
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
-rw-r--r--tests/modetest/Makefile.am7
-rw-r--r--tests/modetest/Makefile.sources6
2 files changed, 9 insertions, 4 deletions
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