# # Copyright (C) 2011 Texas Instruments # Author: Rob Clark # # This program is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License version 2 as published by # the Free Software Foundation. # # This program is distributed in the hope that it will be useful, but WITHOUT # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for # more details. # # You should have received a copy of the GNU General Public License along with # this program. If not, see . # SUBDIRS = util omx_cam bin_PROGRAMS = fliptest v4l2capturedisplay filevpedisplay capturevpedisplay if ENABLE_V4L2_DMABUF bin_PROGRAMS += dmabuftest endif if ENABLE_DCE bin_PROGRAMS += viddec3test copycodectest yuvcopytest endif LDADD_COMMON = util/libutil.la @DRM_LIBS@ @DCE_LIBS@ @GBM_LIBS@ @EGL_LIBS@ @GLES2_LIBS@ AM_CFLAGS = @DRM_CFLAGS@ @DCE_CFLAGS@ @GBM_CFLAGS@ @EGL_CFLAGS@ @GLES2_CFLAGS@ @WARN_CFLAGS@ -I$(top_srcdir)/util LDFLAGS = -lm -lavcodec -lpthread fliptest_SOURCES = fliptest.c fliptest_LDADD = $(LDADD_COMMON) v4l2capturedisplay_SOURCES = v4l2capturedisplay.c v4l2capturedisplay_LDADD = $(LDADD_COMMON) filevpedisplay_SOURCES = filevpedisplay.c filevpedisplay_LDADD = $(LDADD_COMMON) capturevpedisplay_SOURCES = capturevpedisplay.c capturevpedisplay_LDADD = $(LDADD_COMMON) if ENABLE_V4L2_DMABUF dmabuftest_SOURCES = dmabuftest.c dmabuftest_LDADD = $(LDADD_COMMON) -lpthread endif if ENABLE_DCE viddec3test_SOURCES = viddec3test.c viddec3test_LDADD = $(LDADD_COMMON) copycodectest_SOURCES = copycodectest.c copycodectest_LDADD = $(LDADD_COMMON) yuvcopytest_SOURCES = yuvcopytest.c yuvcopytest_LDADD = $(LDADD_COMMON) endif