]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - glsdk/omapdrmtest.git/blob - Makefile.am
v4l2capturedisplay: New capture and display app
[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
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@ @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
33 fliptest_SOURCES = fliptest.c
34 fliptest_LDADD = $(LDADD_COMMON)
36 v4l2capturedisplay_SOURCES = v4l2capturedisplay.c
37 v4l2capturedisplay_LDADD = $(LDADD_COMMON)
39 if ENABLE_V4L2_DMABUF
40 #dmabuftest_SOURCES = dmabuftest.c
41 #dmabuftest_LDADD = $(LDADD_COMMON)
42 endif
44 if ENABLE_DCE
45 viddec3test_SOURCES = viddec3test.c
46 viddec3test_LDADD = $(LDADD_COMMON)
47 endif