2 # Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012
3 # Free Software Foundation, Inc.
5 # This program is free software; you can redistribute it and/or modify
6 # it under the terms of the GNU General Public License as published by
7 # the Free Software Foundation; either version 3 of the License, or
8 # (at your option) any later version.
10 # This program is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 # GNU General Public License for more details.
15 # You should have received a copy of the GNU General Public License
16 # along with this program; if not, write to the Free Software
17 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
20 ## Process this file with automake to generate Makefile.in
22 AUTOMAKE_OPTIONS = dejagnu
25 $(top_builddir)/libbase/libgnashbase.la \
26 $(top_builddir)/libmedia/libgnashmedia.la \
27 $(GSTREAMER_PLUGINS_BASE_LIBS) \
28 $(GSTREAMER_APP_LIBS) \
35 AM_LDFLAGS += -lui -llog
38 localedir = $(datadir)/locale
41 -I$(top_srcdir)/testsuite \
42 -I$(top_srcdir)/libbase \
43 -I$(top_srcdir)/libmedia \
44 -I$(top_srcdir)/libmedia/gst \
45 -I$(top_srcdir)/cygnal \
46 -I$(top_srcdir)/libcore \
47 -DLOCALEDIR=\"$(localedir)\" \
53 $(GSTINTERFACES_CFLAGS)
63 # test_videoinput_SOURCES = test_videoinput.cpp
64 # test_videoinput_LDADD = $(AM_LDFLAGS)
65 # test_videoinput_DEPENDENCIES = site-update
67 # test_audioinput_SOURCES = test_audioinput.cpp
68 # test_audioinput_LDADD = $(AM_LDFLAGS)
69 # test_audioinput_DEPENDENCIES = site-update
73 TEST_DRIVERS = ../simple.exp
81 check-DEJAGNU: site-update
82 @runtest=$(RUNTEST); \
83 if $(SHELL) -c "$$runtest --version" > /dev/null 2>&1; then \
84 $$runtest $(RUNTESTFLAGS) $(TEST_DRIVERS); true; \
86 echo "WARNING: could not find \`runtest'" 1>&2; \
87 for i in "$(check_PROGRAMS)"; do \
94 @cp site.exp site.exp.bak
95 @sed -e '/testcases/d' site.exp.bak > site.exp
96 @echo "# This is a list of the pre-compiled testcases" >> site.exp
97 @echo "set testcases \"$(check_PROGRAMS)\"" >> site.exp