]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - glsdk/omapdrmtest.git/blob - Makefile.am
display-kmscube: fix race condition for buffer to face mapping
[glsdk/omapdrmtest.git] / Makefile.am
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 omx_cam
19 bin_PROGRAMS = fliptest v4l2capturedisplay filevpedisplay capturevpedisplay
21 if ENABLE_V4L2_DMABUF
22 bin_PROGRAMS += dmabuftest
23 endif
25 if ENABLE_DCE
26 bin_PROGRAMS += viddec3test copycodectest yuvcopytest videnc2test
27 endif
29 LDADD_COMMON = util/libutil.la @DRM_LIBS@ @DCE_LIBS@ @GBM_LIBS@ @EGL_LIBS@ @GLES2_LIBS@
30 AM_CFLAGS = @DRM_CFLAGS@ @DCE_CFLAGS@ @GBM_CFLAGS@ @EGL_CFLAGS@ @GLES2_CFLAGS@ @WARN_CFLAGS@ -I$(top_srcdir)/util
31 LDFLAGS = -lm -lavcodec -lpthread
33 fliptest_SOURCES = fliptest.c
34 fliptest_LDADD = $(LDADD_COMMON)
36 v4l2capturedisplay_SOURCES = v4l2capturedisplay.c
37 v4l2capturedisplay_LDADD = $(LDADD_COMMON)
39 filevpedisplay_SOURCES = filevpedisplay.c
40 filevpedisplay_LDADD = $(LDADD_COMMON)
42 capturevpedisplay_SOURCES = capturevpedisplay.c
43 capturevpedisplay_LDADD = $(LDADD_COMMON)
45 if ENABLE_V4L2_DMABUF
46 dmabuftest_SOURCES = dmabuftest.c
47 dmabuftest_LDADD = $(LDADD_COMMON) -lpthread
48 endif
50 if ENABLE_DCE
51 viddec3test_SOURCES = viddec3test.c
52 viddec3test_LDADD = $(LDADD_COMMON)
53 copycodectest_SOURCES = copycodectest.c
54 copycodectest_LDADD = $(LDADD_COMMON)
55 yuvcopytest_SOURCES = yuvcopytest.c
56 yuvcopytest_LDADD = $(LDADD_COMMON)
57 videnc2test_SOURCES = videnc2test.c
58 videnc2test_LDADD = $(LDADD_COMMON)
59 endif