2 # Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010,
3 # 2011 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
27 $(top_builddir)/libbase/libgnashbase.la \
28 $(top_builddir)/libmedia/libgnashmedia.la \
29 $(GSTREAMER_PLUGINS_BASE_LIBS) \
30 $(GSTREAMER_APP_LIBS) \
36 localedir = $(datadir)/locale
39 -I$(top_srcdir)/testsuite \
40 -I$(top_srcdir)/libbase \
41 -I$(top_srcdir)/libmedia \
42 -I$(top_srcdir)/libmedia/gst \
43 -I$(top_srcdir)/cygnal \
44 -I$(top_srcdir)/libcore \
45 -DLOCALEDIR=\"$(localedir)\" \
51 $(GSTINTERFACES_CFLAGS)
61 # test_videoinput_SOURCES = test_videoinput.cpp
62 # test_videoinput_LDADD = $(AM_LDFLAGS)
63 # test_videoinput_DEPENDENCIES = site-update
65 # test_audioinput_SOURCES = test_audioinput.cpp
66 # test_audioinput_LDADD = $(AM_LDFLAGS)
67 # test_audioinput_DEPENDENCIES = site-update
71 TEST_DRIVERS = ../simple.exp
79 check-DEJAGNU: site-update
80 @runtest=$(RUNTEST); \
81 if $(SHELL) -c "$$runtest --version" > /dev/null 2>&1; then \
82 $$runtest $(RUNTESTFLAGS) $(TEST_DRIVERS); true; \
84 echo "WARNING: could not find \`runtest'" 1>&2; \
85 for i in "$(check_PROGRAMS)"; do \
92 @cp site.exp site.exp.bak
93 @sed -e '/testcases/d' site.exp.bak > site.exp
94 @echo "# This is a list of the pre-compiled testcases" >> site.exp
95 @echo "set testcases \"$(check_PROGRAMS)\"" >> site.exp