summaryrefslogtreecommitdiff
path: root/test/v4l_h264/decode
diff options
context:
space:
mode:
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>2012-09-27 15:40:11 +0200
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>2012-09-27 16:08:34 +0200
commitf6fda5e5cd2f032c81a7c70dd350a4d1438b00be (patch)
tree8809462c95c7ff4d5a50eaa8736cab1f86bafed1 /test/v4l_h264/decode
parent0af62769732c1ce867d9eb7803107df5c5b1a92e (diff)
downloadlibva-f6fda5e5cd2f032c81a7c70dd350a4d1438b00be.tar.gz
tests: sanitize build of test cases.
Fix compiler paths when searching for dependencies, especially when they are in non-standard locations. Drop _DEPENDENCIES that are automatically generated. Also include a few cosmetics (vertical alignment). Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
Diffstat (limited to 'test/v4l_h264/decode')
-rw-r--r--test/v4l_h264/decode/Makefile.am13
1 files changed, 5 insertions, 8 deletions
diff --git a/test/v4l_h264/decode/Makefile.am b/test/v4l_h264/decode/Makefile.am
index e5c3185..ecc832a 100644
--- a/test/v4l_h264/decode/Makefile.am
+++ b/test/v4l_h264/decode/Makefile.am
@@ -22,14 +22,11 @@
noinst_PROGRAMS = decode
-INCLUDES = -I$(top_srcdir)
-
-TEST_LIBS = $(top_builddir)/va/libva.la $(top_builddir)/va/libva-x11.la -lX11 -ldl
-
-decode_LDADD = $(TEST_LIBS)
-decode_SOURCES = decode_x11.cpp TCPSocketServer.cpp
-
-decode_DEPENDENCIES = $(top_builddir)/va/libva.la $(top_builddir)/va/libva-x11.la
+decode_SOURCES = decode_x11.cpp TCPSocketServer.cpp
+decode_CFLAGS = -I$(top_srcdir)
+decode_LDADD = \
+ $(top_builddir)/va/libva.la \
+ $(top_builddir)/va/libva-x11.la
valgrind: $(bin_PROGRAMS)
for a in $(bin_PROGRAMS); do \