2 # Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc.
4 # This program is free software; you can redistribute it and/or modify
5 # it under the terms of the GNU General Public License as published by
6 # the Free Software Foundation; either version 3 of the License, or
7 # (at your option) any later version.
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 # GNU General Public License for more details.
13 # You should have received a copy of the GNU General Public License
14 # along with this program; if not, write to the Free Software
15 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
23 DIR_MING += misc-ming.all actionscript.all
27 # don't build the network tests yet till they're fully implemented
28 DIR_MING += # network.all
32 DIR_MTASC = misc-mtasc.all
36 DIR_HAXE = misc-haxe.all
40 DIR_SWFMILL = misc-swfmill.all
44 DIR_SWFC = misc-swfc.all
47 if ENABLE_SWFDEC_TESTSUITE
48 DIR_SWFDEC_TESTSUITE = swfdec
53 DIR_AS3 = as3compile.all
79 $(DIR_SWFDEC_TESTSUITE) \
92 EXTRA_DIST = check.h \
93 DummyMovieDefinition.h \
98 generic-testrunner.sh \
99 gst_install_plugins_helper.sh \
100 simultaneous-testrunner.sh
103 dist_noinst_SCRIPTS = analyse-results.sh generic-testrunner.sh
105 abs_mediadir = `cd $(srcdir)/media; pwd`
106 abs_tmpsodir = `cd tmpSharedObject; pwd`
108 # could not find a way to only build this on make check
109 check_LTLIBRARIES = libtestsuite.la
111 libtestsuite_la_SOURCES = \
117 libtestsuite_la_LIBADD = \
119 $(top_builddir)/libmedia/libgnashmedia.la \
120 $(top_builddir)/libsound/libgnashsound.la \
121 $(top_builddir)/libcore/libgnashcore.la \
122 $(top_builddir)/libbase/libgnashbase.la \
123 $(top_builddir)/librender/libgnashrender.la \
127 libtestsuite_la_LIBADD += $(top_builddir)/libltdl/libltdlc.la
130 libtestsuite_la_LIBADD += $(top_builddir)/libbase/libltdlc.la
133 libtestsuite_la_CXXFLAGS = \
134 -I$(top_srcdir)/libbase \
135 -I$(top_srcdir)/libmedia \
136 -I$(top_srcdir)/libsound \
137 -I$(top_srcdir)/librender \
138 -I$(top_srcdir)/librender/agg \
139 -I$(top_srcdir)/librender/cairo \
140 -I$(top_srcdir)/librender/opengl \
141 -I$(top_srcdir)/libcore \
142 -I$(top_srcdir)/libcore/asobj \
143 -I$(top_srcdir)/libcore/swf \
144 -I$(top_srcdir)/libcore/parser \
145 -I$(top_srcdir)/libcore/vm \
151 mkdir tmpSharedObject
153 gnashrc: gnashrc.in Makefile tmpSharedObject
154 sed -e 's#@@MEDIADIR@@#'$(abs_mediadir)'#g' -e 's#@@TMPSODIR@@#'$(abs_tmpsodir)'#g' $(srcdir)/gnashrc.in > $@
160 $(MAKE) -C misc-ming.all $@
161 cp misc-ming.all/Dejagnu.swf $@
163 check-local:: gnashrc Dejagnu.swf
165 check-local:: gnashrc
169 rm -f Dejagnu.swf gnashrc
170 rm -rf tmpSharedObject