1 #
2 # Copyright (C) 2011 Texas Instruments
3 # Author: Rob Clark <rob.clark@linaro.org>
4 #
5 # This program is free software; you can redistribute it and/or modify it
6 # under the terms of the GNU General Public License version 2 as published by
7 # the Free Software Foundation.
8 #
9 # This program is distributed in the hope that it will be useful, but WITHOUT
10 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
12 # more details.
13 #
14 # You should have received a copy of the GNU General Public License along with
15 # this program. If not, see <http://www.gnu.org/licenses/>.
16 #
18 SUBDIRS = util
19 bin_PROGRAMS = fliptest
21 if ENABLE_V4L2_DMABUF
22 bin_PROGRAMS += dmabuftest
23 endif
25 if ENABLE_DCE
26 bin_PROGRAMS += viddec3test
27 endif
29 LDADD_COMMON = util/libutil.la @DRM_LIBS@ @X11_LIBS@ @DCE_LIBS@
30 AM_CFLAGS = @LIN_CFLAGS@ @DRM_CFLAGS@ @X11_CFLAGS@ @DCE_CFLAGS@ @WARN_CFLAGS@ -I$(top_srcdir)/util
32 fliptest_SOURCES = fliptest.c
33 fliptest_LDADD = $(LDADD_COMMON)
35 if ENABLE_V4L2_DMABUF
36 dmabuftest_SOURCES = dmabuftest.c
37 dmabuftest_LDADD = $(LDADD_COMMON)
38 endif
40 if ENABLE_DCE
41 viddec3test_SOURCES = viddec3test.c
42 viddec3test_LDADD = $(LDADD_COMMON)
43 endif