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.
14 # You should have received a copy of the GNU General Public License
15 # along with this program; if not, write to the Free Software
16 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
24 DIR_MING += misc-ming.all actionscript.all
28 # don't build the network tests yet till they're fully implemented
29 DIR_MING += # network.all
33 DIR_MTASC = misc-mtasc.all
37 DIR_HAXE = misc-haxe.all
41 DIR_SWFMILL = misc-swfmill.all
45 DIR_SWFC = misc-swfc.all
48 if ENABLE_SWFDEC_TESTSUITE
49 DIR_SWFDEC_TESTSUITE = swfdec
54 DIR_AS3 = as3compile.all
80 $(DIR_SWFDEC_TESTSUITE) \
93 EXTRA_DIST = check.h \
94 DummyMovieDefinition.h \
99 generic-testrunner.sh \
100 gst_install_plugins_helper.sh \
101 simultaneous-testrunner.sh \
104 dist_noinst_SCRIPTS = analyse-results.sh generic-testrunner.sh
106 abs_mediadir = `cd $(srcdir)/media; pwd`
107 abs_tmpsodir = `cd tmpSharedObject; pwd`
109 # could not find a way to only build this on make check
110 check_LTLIBRARIES = libtestsuite.la
112 libtestsuite_la_SOURCES = \
118 libtestsuite_la_LIBADD = \
120 $(top_builddir)/libmedia/libgnashmedia.la \
121 $(top_builddir)/libsound/libgnashsound.la \
122 $(top_builddir)/libcore/libgnashcore.la \
123 $(top_builddir)/libbase/libgnashbase.la \
124 $(top_builddir)/librender/libgnashrender.la \
127 libtestsuite_la_CXXFLAGS = \
128 -I$(top_srcdir)/libbase \
129 -I$(top_srcdir)/libmedia \
130 -I$(top_srcdir)/libsound \
131 -I$(top_srcdir)/librender \
132 -I$(top_srcdir)/librender/agg \
133 -I$(top_srcdir)/librender/cairo \
134 -I$(top_srcdir)/librender/opengl \
135 -I$(top_srcdir)/libcore \
136 -I$(top_srcdir)/libcore/asobj \
137 -I$(top_srcdir)/libcore/swf \
138 -I$(top_srcdir)/libcore/parser \
139 -I$(top_srcdir)/libcore/vm \
145 mkdir tmpSharedObject
147 gnashrc: gnashrc.in Makefile tmpSharedObject
148 sed -e 's#@@MEDIADIR@@#'$(abs_mediadir)'#g' -e 's#@@TMPSODIR@@#'$(abs_tmpsodir)'#g' $(srcdir)/gnashrc.in > $@
154 $(MAKE) -C misc-ming.all $@
155 cp misc-ming.all/Dejagnu.swf $@
157 check-local: gnashrc Dejagnu.swf
163 rm -f Dejagnu.swf gnashrc
164 rm -rf tmpSharedObject