From patchwork Wed Feb 25 14:28:15 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Emil Velikov X-Patchwork-Id: 5880491 Return-Path: X-Original-To: patchwork-dri-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 7FC9C9F373 for ; Wed, 25 Feb 2015 14:28:46 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id C59DF2038D for ; Wed, 25 Feb 2015 14:28:45 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id 023EE2038A for ; Wed, 25 Feb 2015 14:28:45 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 1DA986E667; Wed, 25 Feb 2015 06:28:44 -0800 (PST) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wg0-f48.google.com (mail-wg0-f48.google.com [74.125.82.48]) by gabe.freedesktop.org (Postfix) with ESMTP id 995FB6E672 for ; Wed, 25 Feb 2015 06:28:36 -0800 (PST) Received: by wggy19 with SMTP id y19so3958976wgg.10 for ; Wed, 25 Feb 2015 06:28:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=AnU0kSaUvOaZqTKmb/RDYoEMqbRtWscJrmdsB9A4NlA=; b=fykFlDLGUnkxVyjeE3wjZFBcSW8/iJ534cmhn3NTVSdckx5o/7JpGbQFOpL524O91U 4b8EWOuYWjaCOy0Ex4Rhjzvz8NHD2n8BWRpAVDNuNVR4G3qhe+bnhugJxlJLWFD48i95 MA1G59zfxVGrMBjdXxhbljAi4CW6kOp1TFvlJa+MQptqxm127TRA+32tWNMJHD6/NBGl ZD+93CLxu5HDwkSH+TKAwc3ALBayMkMVk9xcKsVyzTwJrSCkml+VOaD5UryItafmIPTZ dLOy3F9QuQe1S7oGiTXjjzRl7hgjG+lUIx1+21sBVTVOMxTyrSCYOdRqC1dg8E2IWuXn R8jw== X-Received: by 10.180.208.20 with SMTP id ma20mr39985450wic.22.1424874514441; Wed, 25 Feb 2015 06:28:34 -0800 (PST) Received: from arch-laptop.localdomain (cpc12-croy20-2-0-cust52.croy.cable.virginm.net. [82.44.54.53]) by mx.google.com with ESMTPSA id m9sm25340446wiz.24.2015.02.25.06.28.33 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 25 Feb 2015 06:28:33 -0800 (PST) From: Emil Velikov To: dri-devel@lists.freedesktop.org Subject: [PATCH libdrm 4/5] tests: move the SUBDIR at the top of the makefile Date: Wed, 25 Feb 2015 14:28:15 +0000 Message-Id: <1424874496-13540-4-git-send-email-emil.l.velikov@gmail.com> X-Mailer: git-send-email 2.1.3 In-Reply-To: <1424874496-13540-1-git-send-email-emil.l.velikov@gmail.com> References: <1424874496-13540-1-git-send-email-emil.l.velikov@gmail.com> Cc: emil.l.velikov@gmail.com X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, T_DKIM_INVALID, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP None of the subdirs require the modules built in the local makefile, so moving them at the top makes things a hell lot easier to read. Signed-off-by: Emil Velikov --- tests/Makefile.am | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/tests/Makefile.am b/tests/Makefile.am index e0281aa..90f6405 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -1,13 +1,3 @@ -AM_CPPFLAGS = \ - -I $(top_srcdir)/include/drm \ - -I $(top_srcdir) - -LDADD = $(top_builddir)/libdrm.la - -check_PROGRAMS = \ - dristat \ - drmstat - SUBDIRS = modeprint proptest if HAVE_LIBKMS @@ -27,6 +17,20 @@ SUBDIRS += tegra endif if HAVE_LIBUDEV +SUBDIRS += vbltest +endif + +AM_CPPFLAGS = \ + -I $(top_srcdir)/include/drm \ + -I $(top_srcdir) + +LDADD = $(top_builddir)/libdrm.la + +check_PROGRAMS = \ + dristat \ + drmstat + +if HAVE_LIBUDEV check_LTLIBRARIES = libdrmtest.la @@ -53,8 +57,6 @@ TESTS = \ updatedraw \ name_from_fd -SUBDIRS += vbltest - check_PROGRAMS += $(TESTS) endif