summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAustin Yuan <shengquan.yuan@gmail.com>2011-01-10 18:21:55 -0800
committerAustin Yuan <shengquan.yuan@gmail.com>2011-01-10 18:21:55 -0800
commitfafd1ec5284ae4250f931761e57e66c2b8353378 (patch)
tree91423e5265b0b7fb2dffcdc381766f87fe466bb6
parented97b7b20e059b9122ef1cdbe4e3e740ca08fc97 (diff)
downloadlibva-fafd1ec5284ae4250f931761e57e66c2b8353378.tar.gz
inclue test/vainfo/* intot he build
Signed-off-by: Austin Yuan <shengquan.yuan@gmail.com>
-rw-r--r--configure.ac1
-rw-r--r--test/Makefile.am27
-rw-r--r--test/vainfo/Makefile.am2
3 files changed, 28 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 786c725..b3108c7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -170,6 +170,7 @@ AC_OUTPUT([
test/decode/Makefile
test/putsurface/Makefile
test/encode/Makefile
+ test/vainfo/Makefile
libva.pc
libva-x11.pc
libva-glx.pc
diff --git a/test/Makefile.am b/test/Makefile.am
new file mode 100644
index 0000000..a4d1af5
--- /dev/null
+++ b/test/Makefile.am
@@ -0,0 +1,27 @@
+# Copyright (c) 2007 Intel Corporation. All Rights Reserved.
+#
+# Permission is hereby granted, free of charge, to any person obtaining a
+# copy of this software and associated documentation files (the
+# "Software"), to deal in the Software without restriction, including
+# without limitation the rights to use, copy, modify, merge, publish,
+# distribute, sub license, and/or sell copies of the Software, and to
+# permit persons to whom the Software is furnished to do so, subject to
+# the following conditions:
+#
+# The above copyright notice and this permission notice (including the
+# next paragraph) shall be included in all copies or substantial portions
+# of the Software.
+#
+# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
+# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT.
+# IN NO EVENT SHALL PRECISION INSIGHT AND/OR ITS SUPPLIERS BE LIABLE FOR
+# ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
+# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
+# SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+
+AM_CFLAGS = -I$(top_srcdir)/va -I$(top_srcdir)/test/basic -I$(top_srcdir)/src/x11
+
+SUBDIRS = basic decode encode putsurface vainfo
+
diff --git a/test/vainfo/Makefile.am b/test/vainfo/Makefile.am
index 7153b10..5fd0070 100644
--- a/test/vainfo/Makefile.am
+++ b/test/vainfo/Makefile.am
@@ -29,7 +29,5 @@ vainfo_LDADD = $(top_builddir)/va/$(libvacorelib) $(top_builddir)/va/$(libvaback
vainfo_DEPENDENCIES = $(top_builddir)/va/$(libvacorelib) $(top_builddir)/va/$(libvabackendlib)
vainfo_SOURCES = vainfo.c
-SUBDIRS = basic decode encode putsurface
-
valgrind: vainfo
valgrind --leak-check=full --show-reachable=yes .libs/vainfo;