From mboxrd@z Thu Jan 1 00:00:00 1970 From: Emil Velikov Subject: [PATCH 08/18] modetest: move sources lists to makefiles.sources Date: Sun, 7 Sep 2014 22:30:03 +0100 Message-ID: <1410125413-19465-9-git-send-email-emil.l.velikov@gmail.com> References: <1410125413-19465-1-git-send-email-emil.l.velikov@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail-wg0-f52.google.com (mail-wg0-f52.google.com [74.125.82.52]) by gabe.freedesktop.org (Postfix) with ESMTP id C6B626E152 for ; Sun, 7 Sep 2014 14:31:32 -0700 (PDT) Received: by mail-wg0-f52.google.com with SMTP id x13so1053591wgg.23 for ; Sun, 07 Sep 2014 14:31:32 -0700 (PDT) In-Reply-To: <1410125413-19465-1-git-send-email-emil.l.velikov@gmail.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org Cc: emil.l.velikov@gmail.com List-Id: dri-devel@lists.freedesktop.org Signed-off-by: Emil Velikov --- 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 fd6ebb2..d551fe4 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 0000000..399af0d --- /dev/null +++ b/tests/modetest/Makefile.sources @@ -0,0 +1,6 @@ +MODETEST_FILES := \ + buffers.c \ + buffers.h \ + cursor.c \ + cursor.h \ + modetest.c -- 2.0.2