1 ## Process this fill with automake to generate Makefile.in
3 # Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010,
4 # 2011 Free Software Foundation, Inc.
6 # This program is free software; you can redistribute it and/or modify
7 # it under the terms of the GNU General Public License as published by
8 # the Free Software Foundation; either version 3 of the License, or
9 # (at your option) any later version.
11 # This program is distributed in the hope that it will be useful,
12 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 # GNU General Public License for more details.
16 # You should have received a copy of the GNU General Public License
17 # along with this program; if not, write to the Free Software
18 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
20 AUTOMAKE_OPTIONS = dejagnu
23 -I$(top_srcdir)/testsuite \
24 -I$(top_srcdir)/librender \
25 -I$(top_srcdir)/libsound \
26 -I$(top_srcdir)/libmedia \
27 -I$(top_srcdir)/libbase \
28 -I$(top_srcdir)/libcore \
29 -I$(top_srcdir)/libcore/asobj \
30 -I$(top_srcdir)/libcore/swf \
31 -I$(top_srcdir)/libcore/parser \
32 -I$(top_srcdir)/libcore/vm \
52 check_PROGRAMS += CodeStreamTest
64 $(top_builddir)/libcore/libgnashcore.la \
65 $(top_builddir)/libbase/libgnashbase.la \
66 $(top_builddir)/libmedia/libgnashmedia.la \
67 $(top_builddir)/libsound/libgnashsound.la
69 BitsReaderTest_SOURCES = BitsReaderTest.cpp
70 BitsReaderTest_LDADD = $(AM_LDFLAGS)
72 StreamTest_SOURCES = StreamTest.cpp
73 StreamTest_LDADD = $(AM_LDFLAGS)
75 MatrixTest_SOURCES = MatrixTest.cpp
76 MatrixTest_LDADD = $(AM_LDFLAGS)
78 PointTest_SOURCES = PointTest.cpp
79 PointTest_LDADD = $(AM_LDFLAGS)
81 EdgeTest_SOURCES = EdgeTest.cpp
82 EdgeTest_LDADD = $(AM_LDFLAGS)
84 PropertyListTest_SOURCES = PropertyListTest.cpp
85 PropertyListTest_LDADD = $(AM_LDFLAGS)
87 PropFlagsTest_SOURCES = PropFlagsTest.cpp
88 PropFlagsTest_LDADD = $(AM_LDFLAGS)
90 DisplayListTest_SOURCES = DisplayListTest.cpp
91 DisplayListTest_LDADD = $(AM_LDFLAGS)
94 check_PROGRAMS += AsValueTest
95 AsValueTest_SOURCES = AsValueTest.cpp
96 AsValueTest_LDADD = $(AM_LDFLAGS)
99 ClassSizes_SOURCES = ClassSizes.cpp
100 ClassSizes_LDADD = $(AM_LDFLAGS)
102 SafeStackTest_SOURCES = SafeStackTest.cpp
103 SafeStackTest_LDADD = $(AM_LDFLAGS)
105 CxFormTest_SOURCES = CxFormTest.cpp
106 CxFormTest_LDADD = $(AM_LDFLAGS)
108 CodeStreamTest_SOURCES = CodeStreamTest.cpp
109 CodeStreamTest_LDADD = $(AM_LDFLAGS)
110 CodeStreamTest_DEPENDENCIES = $(AM_LDFLAGS)
112 TEST_DRIVERS = ../simple.exp
113 TEST_CASES = $(check_PROGRAMS)
115 check-DEJAGNU: site-update $(TEST_CASES)
116 @runtest=$(RUNTEST); \
117 if $(SHELL) -c "$$runtest --version" > /dev/null 2>&1; then \
118 $$runtest $(RUNTESTFLAGS) $(TEST_DRIVERS); true; \
120 echo "WARNING: could not find \`runtest'" 1>&2; \
121 for i in "$(TEST_CASES)"; do \
126 site-update: site.exp
128 @cp site.exp site.exp.bak
129 @sed -e '/testcases/d' site.exp.bak > site.exp
130 @echo "# This is a list of the pre-compiled testcases" >> site.exp
131 @echo "set testcases \"$(TEST_CASES)\"" >> site.exp