From: Emil Velikov <emil.l.velikov@gmail.com>
To: dri-devel@lists.freedesktop.org
Cc: emil.l.velikov@gmail.com
Subject: [PATCH libdrm 4/5] tests: move the SUBDIR at the top of the makefile
Date: Wed, 25 Feb 2015 14:28:15 +0000 [thread overview]
Message-ID: <1424874496-13540-4-git-send-email-emil.l.velikov@gmail.com> (raw)
In-Reply-To: <1424874496-13540-1-git-send-email-emil.l.velikov@gmail.com>
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 <emil.l.velikov@gmail.com>
---
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
--
2.1.3
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
next prev parent reply other threads:[~2015-02-25 14:28 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-02-25 14:28 [PATCH libdrm 1/5] automake: wrap an insanely long line Emil Velikov
2015-02-25 14:28 ` [PATCH libdrm 2/5] configure: omap, freedreno and tegra require atomics Emil Velikov
2015-02-25 14:28 ` [PATCH libdrm 3/5] automake: drop the NULL variable from the makefile Emil Velikov
2015-02-25 14:28 ` Emil Velikov [this message]
2015-02-25 14:28 ` [PATCH libdrm 5/5] tests: automake: keep the libs link at the final stage Emil Velikov
2015-03-08 14:28 ` [PATCH libdrm 1/5] automake: wrap an insanely long line Emil Velikov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1424874496-13540-4-git-send-email-emil.l.velikov@gmail.com \
--to=emil.l.velikov@gmail.com \
--cc=dri-devel@lists.freedesktop.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.