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 DummyMovieDefinition.h DummyCharacter.h gnashrc.in simple.exp
94 dist_noinst_SCRIPTS = anaylse-results.sh generic-testrunner.sh
96 abs_mediadir = `cd $(srcdir)/media; pwd`
97 abs_tmpsodir = `cd tmpSharedObject; pwd`
99 # could not find a way to only build this on make check
100 check_LTLIBRARIES = libtestsuite.la
102 libtestsuite_la_SOURCES = \
108 libtestsuite_la_LIBADD = \
110 $(top_builddir)/libmedia/libgnashmedia.la \
111 $(top_builddir)/libsound/libgnashsound.la \
112 $(top_builddir)/libcore/libgnashcore.la \
113 $(top_builddir)/libbase/libgnashbase.la \
114 $(top_builddir)/librender/libgnashrender.la \
118 libtestsuite_la_LIBADD += $(top_builddir)/libltdl/libltdlc.la
121 libtestsuite_la_LIBADD += $(top_builddir)/libbase/libltdlc.la
124 libtestsuite_la_CXXFLAGS = \
125 -I$(top_srcdir)/libbase \
126 -I$(top_srcdir)/libmedia \
127 -I$(top_srcdir)/libsound \
128 -I$(top_srcdir)/librender \
129 -I$(top_srcdir)/librender/agg \
130 -I$(top_srcdir)/librender/cairo \
131 -I$(top_srcdir)/librender/opengl \
132 -I$(top_srcdir)/libcore \
133 -I$(top_srcdir)/libcore/asobj \
134 -I$(top_srcdir)/libcore/swf \
135 -I$(top_srcdir)/libcore/parser \
136 -I$(top_srcdir)/libcore/vm \
142 mkdir tmpSharedObject
144 gnashrc: gnashrc.in Makefile tmpSharedObject
145 sed -e 's#@@MEDIADIR@@#'$(abs_mediadir)'#g' -e 's#@@TMPSODIR@@#'$(abs_tmpsodir)'#g' $< > $@
151 $(MAKE) -C misc-ming.all $@
152 cp misc-ming.all/Dejagnu.swf $@
154 check-local: Dejagnu.swf gnashrc
159 rm -f Dejagnu.swf gnashrc
160 rm -rf tmpSharedObject