1SUBDIRS =
2
3AM_CPPFLAGS = \
4	-I$(top_srcdir) \
5	-I$(top_srcdir)/src \
6	-I$(top_srcdir)/test \
7	-DMEDIADIR='"$(srcdir)/../Media/"'
8
9LDADD = $(top_builddir)/src/libming.la
10
11TESTS = dotests
12
13C_PROGS =		\
14	test01		\
15	test02		\
16	test03
17
18if USE_CXX
19CXX_PROGS =		\
20	test01-cxx	\
21	test02-cxx	\
22	test03-cxx
23
24test01_cxx_SOURCES = test01-cxx.C
25test02_cxx_SOURCES = test02-cxx.C
26test03_cxx_SOURCES = test03-cxx.C
27endif
28
29TEST_PROGS = $(C_PROGS) $(CXX_PROGS)
30
31EXTRA_DIST =	\
32	test01.ref \
33	test01.php \
34	test01.py  \
35	test01.pl  \
36	test02.ref \
37	test02.php \
38	test02.py \
39	test02.pl  \
40	test03.ref \
41	test03.php \
42	test03.py \
43	test03.pl \
44	TestList
45
46check_PROGRAMS = \
47	$(TEST_PROGS)
48
49CLEANFILES = dotests php.ini \
50	test01.swf 	\
51	test02.swf	\
52	test03.swf
53
54include ../Makefile.inc
55