update copyright date
[gnash.git] / testsuite / misc-ming.all / Makefile.am
blob6034691516e3a6500764f4f94c2f964d98c92342
1 ## Process this file with automake to generate Makefile.in
2
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 -Wno-portability
22 abs_top_builddir=$(shell cd $(top_builddir); pwd)
23 abs_builddir=$(shell cd $(top_builddir)/testsuite/misc-ming.all; pwd)
24 abs_mediadir = $(shell cd $(srcdir)/../media; pwd)
26 CLEANFILES =  \
27         gnash-dbg.log \
28         site.exp.bak \
29         testrun.sum \
30         testrun.log
32 SUBDIRS = loop loading displaylist_depths action_order
34 EXTRA_DIST = \
35         DragDropTest.as \
36         DrawingApiTest.as \
37         FlashVarsTest.as \
38         GradientFillTest.as \
39         LC-Receive.as \
40         LC-Send.as \
41         PrototypeEventListeners.as \
42         SharedObjectTest.as \
43         StageConfigTest.as \
44         VarAndCharClashTest.as \
45         XMLSocketTest.as \
46         attachExtImported.as \
47         attachImported.as \
48         case6.as \
49         case7.as \
50         easysound.as \
51         empty.as \
52         gotoFrame2Test.as \
53         intervalTest.as \
54         red5test.as \
55         remoting.as \
56         rtmpytest.as \
57         widgets.as \
58         remoting.php \
59         FlashVarsTest.html \
60         SharedObjectTestRunner.sh \
61         SharedObjectTest.sol/sol1.sol \
62         SharedObjectTest.sol/README \
63         XMLSocketTester.sh
65 AM_CPPFLAGS = \
66         -I$(top_srcdir)/libbase \
67         -I$(top_srcdir)/libmedia \
68         -I$(top_srcdir)/libsound \
69         -I$(top_srcdir)/librender \
70         -I$(top_srcdir)/libcore  \
71         -I$(top_srcdir)/libcore/swf  \
72         -I$(top_srcdir)/libcore/parser  \
73         -I$(top_srcdir)/libcore/vm \
74         -I$(top_srcdir)/libcore/asobj \
75         -I$(top_srcdir)/testsuite \
76         $(MING_CFLAGS) \
77         $(OPENGL_CFLAGS) \
78         $(BOOST_CFLAGS) \
79         -DMING_VERSION_CODE=$(MING_VERSION_CODE) \
80         $(NULL)
82 AM_LDFLAGS = \
83         $(MING_LIBS) \
84         $(OPENGL_LIBS) \
85         $(GIF_LIBS) \
86         $(top_builddir)/libbase/libgnashbase.la \
87         $(top_builddir)/librender/libgnashrender.la \
88         $(NULL)
90 if LIBLTDL2
91 AM_LDFLAGS  += $(top_builddir)/libltdl/libltdlc.la
92 endif
93 if LIBLTDL1
94 AM_LDFLAGS += $(top_builddir)/libbase/libltdlc.la
95 endif
97 check_PROGRAMS = \
98         ResolveEventsTest \
99         ResolveEventsTest-Runner \
100         SpriteButtonEventsTest \
101         SpriteButtonEventsTest-Runner \
102         DefineTextTest \
103         DefineTextTest-Runner \
104         TextSnapshotTest \
105         DeviceFontTest \
106         EmbeddedFontTest \
107         DefineEditTextTest \
108         DefineEditTextTest-Runner \
109         DefineEditTextVariableNameTest \
110         DefineEditTextVariableNameTest-Runner \
111         DefineEditTextVariableNameTest2 \
112         Dejagnu \
113         Dejagnu.swf \
114         RemoveObject2Test \
115         RollOverOutTest \
116         RollOverOutTest-Runner \
117         definebitsjpeg2 \
118         spritehier \
119         timeline_var_test \
120         root_stop_test \
121         root_stop_testrunner \
122         place_object_test \
123         place_object_test2 \
124         move_object_test \
125         place_and_remove_object_test \
126         place_and_remove_object_insane_test \
127         unload_movieclip_test1 \
128         DepthLimitsTest \
129         masks_test \
130         masks_test2 \
131         masks_test2runner \
132         attachMovieTest \
133         attachMovieTestRunner \
134         attachMovieLoopingTest \
135         attachMovieLoopingTestRunner \
136         registerClassTest \
137         registerClassTestRunner \
138         goto_frame_test \
139         consecutive_goto_frame_test \
140         matrix_test \
141         multi_doactions_and_goto_frame_test \
142         reverse_execute_PlaceObject2_test1 \
143         reverse_execute_PlaceObject2_test2 \
144         DrawingApiTestRunner \
145         frame_label_test \
146         path_format_test \
147         callFunction_test \
148         duplicate_movie_clip_test \
149         duplicate_movie_clip_test2 \
150         event_handler_scope_test \
151         masks_testrunner \
152         key_event_test \
153         key_event_testrunner \
154         static_vs_dynamic1 \
155         static_vs_dynamic2 \
156         getTimer_test \
157         Video-EmbedSquareTest \
158         Video-EmbedSquareTestRunner \
159         NetStream-SquareTest \
160         NetStream-SquareTestRunner \
161         shape_test \
162         morph_test1 \
163         morph_test1runner \
164         runtime_vm_stack_test \
165         new_child_in_unload_test \
166         instanceNameTest \
167         BeginBitmapFill \
168         BeginBitmapFillRunner \
169         BitmapDataTest \
170         BitmapDataTestRunner \
171         BitmapDataDraw \
172         $(NULL)
174 if MING_VERSION_0_4_3
175 check_PROGRAMS += \
176         EmbeddedSoundTest \
177         EmbeddedSoundTest-Runner \
178         eventSoundTest1 \
179         eventSoundTest1-Runner \
180         BitmapSmoothingTest \
181         $(NULL)
182 endif
184 if MING_VERSION_0_4
185 check_PROGRAMS += \
186         opcode_guard_test \
187         get_frame_number_test
188 endif
190 if MAKESWF_SUPPORTS_PREBUILT_CLIPS
191 check_PROGRAMS += \
192         intervalTestRunner \
193         DragDropTestRunner   \
194         PrototypeEventListenersTestRunner \
195         $(NULL)
196 endif
198 if MING_SUPPORTS_INIT_ACTIONS
199 check_PROGRAMS += \
200         init_action_test \
201         InitActionTest2 \
202         RegisterClassTest4 \
203         RegisterClassTest3 \
204         registerClassTest2 \
205         $(NULL)
206 endif
208 if MING_SUPPORTS_REPLACE_TAG
209 check_PROGRAMS += \
210         replace_shapes1test \
211         replace_sprites1test \
212         replace_buttons1test \
213         $(NULL)
214 endif
216 if MING_SUPPORTS_STREAMING_SOUND
217 check_PROGRAMS += \
218         streamingSoundTest1 \
219         streamingSoundTest1-Runner 
220 endif
222 if MING_SUPPORTS_SWFBUTTON_SET_DEPTH
223 check_PROGRAMS += \
224         KeyEventOrder \
225         KeyEventOrderRunner \
226         ButtonPropertiesTest \
227         ButtonEventsTest \
228         ButtonPropertiesTestRunner \
229         ButtonEventsTest-Runner \
230         $(NULL)
231 endif
233 check_SCRIPTS = \
234         GradientFillTestRunner \
235         BitmapDataDrawRunner \
236         DeviceFontTestRunner \
237         EmbeddedFontTestRunner \
238         TextSnapshotTest-Runner \
239         XMLSocketTester \
240         LCTestRunner \
241         timeline_var_test-Runner \
242         place_object_testrunner \
243         place_object_test2runner \
244         move_object_testrunner \
245         place_and_remove_object_testrunner \
246         place_and_remove_object_insane_testrunner \
247         unload_movieclip_test1runner \
248         goto_frame_testrunner \
249         consecutive_goto_frame_testrunner \
250         multi_doactions_and_goto_frame_testrunner \
251         gotoFrame2Test-Runner \
252         reverse_execute_PlaceObject2_test1runner \
253         reverse_execute_PlaceObject2_test2runner \
254         frame_label_testrunner \
255         path_format_testrunner \
256         callFunction_testrunner \
257         duplicate_movie_clip_testrunner \
258         duplicate_movie_clip_test2runner \
259         event_handler_scope_testrunner \
260         matrix_testrunner \
261         static_vs_dynamic1_testrunner \
262         static_vs_dynamic2_testrunner \
263         getTimer_testrunner \
264         DepthLimitsTestrunner \
265         shape_testrunner \
266         DefineEditTextVariableNameTest-Runner \
267         DefineEditTextVariableNameTest2-Runner \
268         runtime_vm_stack_testrunner \
269         new_child_in_unload_testrunner \
270         instanceNameTestRunner \
271         init_action_testrunner \
272         InitActionTest2Runner \
273         $(NULL)
275 if MAKESWF_SUPPORTS_PREBUILT_CLIPS
276 check_SCRIPTS += VarAndCharClashTest-Runner \
277         gotoFrame2Test-Runner \
278         FlashVarsTest-Runner \
279         attachImported-Runner \
280         attachExtImported-Runner \
281         SharedObjectTestRunner
282 endif
284 if MAKESWF_SUPPORTS_PREBUILT_CLIPS
285 if ENABLE_HTTP_TESTSUITE
286 check_SCRIPTS += remotingTestRunner
287 endif
288 if ENABLE_RED5_TESTING
289 check_SCRIPTS += red5test-runner
290 endif
291 if ENABLE_RTMPY_TESTING
292 check_SCRIPTS += rtmpytest-runner
293 endif
294 endif
296 if MING_VERSION_0_4
297 check_SCRIPTS += \
298         opcode_guard_testrunner \
299         get_frame_number_testrunner \
300         $(NULL) 
301 endif
303 if MING_SUPPORTS_INIT_ACTIONS
304 check_SCRIPTS += \
305         InitActionTest2Runner \
306         RegisterClassTest4Runner \
307         RegisterClassTest3Runner \
308         registerClassTest2runner \
309         $(NULL)
310 endif
312 if MING_SUPPORTS_REPLACE_TAG
313 check_SCRIPTS += \
314         PlaceObject2TestRunner \
315         $(NULL)
316 check_PROGRAMS += \
317         PlaceObject2Test \
318         replace_shapes1test_runner \
319         replace_sprites1test_runner \
320         replace_buttons1test_runner \
321         $(NULL)
322 endif
325 # TESTS = \
326 #       DefineEditTextVariableNameTest-Runner 
328 check_LTLIBRARIES = libgnashmingutils.la 
329 libgnashmingutils_la_SOURCES =  \
330         ming_utils.h            \
331         ming_utils.c
333 definebitsjpeg2_SOURCES = definebitsjpeg2.c
334 definebitsjpeg2_LDADD = $(MING_LIBS)
335 definebitsjpeg2.swf: definebitsjpeg2
336         ./definebitsjpeg2 $(srcdir)/../media/lynch.jpg
338 DefineTextTest.swf: DefineTextTest
339         ./DefineTextTest $(abs_mediadir)
341 DefineTextTest_SOURCES =  DefineTextTest.c
342 DefineTextTest_LDADD = libgnashmingutils.la
344 DefineTextTest_Runner_SOURCES = \
345         DefineTextTest-Runner.cpp \
346         $(NULL)
347 DefineTextTest_Runner_CXXFLAGS = \
348         -DTGTDIR='"$(abs_builddir)"' \
349         $(NULL)
350 DefineTextTest_Runner_LDADD =  \
351         $(top_builddir)/testsuite/libtestsuite.la \
352         $(AM_LDFLAGS) \
353         $(NULL)
354 DefineTextTest_Runner_DEPENDENCIES = \
355         $(top_builddir)/testsuite/libtestsuite.la \
356         DefineTextTest.swf      \
357         $(NULL)
359 TextSnapshotTest.swf: TextSnapshotTest
360         ./TextSnapshotTest $(abs_mediadir)
362 TextSnapshotTest_SOURCES =  TextSnapshotTest.c
363 TextSnapshotTest_LDADD = libgnashmingutils.la
365 TextSnapshotTest-Runner: $(srcdir)/../generic-testrunner.sh TextSnapshotTest.swf
366         sh $(srcdir)/../generic-testrunner.sh $(top_builddir) TextSnapshotTest.swf > $@
367         chmod 755 $@
369 DeviceFontTestRunner: $(srcdir)/../generic-testrunner.sh DeviceFontTest.swf
370         sh $(srcdir)/../generic-testrunner.sh $(top_builddir) DeviceFontTest.swf > $@
371         chmod 755 $@
372 DeviceFontTest.swf: DeviceFontTest
373         ./DeviceFontTest $(abs_mediadir)
374 DeviceFontTest_SOURCES =  DeviceFontTest.c
375 DeviceFontTest_LDADD = libgnashmingutils.la
377 EmbeddedFontTestRunner: $(srcdir)/../generic-testrunner.sh EmbeddedFontTest.swf
378         sh $(srcdir)/../generic-testrunner.sh $(top_builddir) EmbeddedFontTest.swf > $@
379         chmod 755 $@
380 EmbeddedFontTest.swf: EmbeddedFontTest
381         ./EmbeddedFontTest $(abs_mediadir)
382 EmbeddedFontTest_SOURCES =  EmbeddedFontTest.c
383 EmbeddedFontTest_LDADD = libgnashmingutils.la
385 DefineEditTextTest.swf: DefineEditTextTest
386         ./DefineEditTextTest $(abs_mediadir)
387 DefineEditTextTest_SOURCES =  DefineEditTextTest.c
388 DefineEditTextTest_LDADD = libgnashmingutils.la
390 DefineEditTextTest_Runner_SOURCES = \
391         DefineEditTextTest-Runner.cpp \
392         $(NULL)
393 DefineEditTextTest_Runner_CXXFLAGS = \
394         -DTGTDIR='"$(abs_builddir)"' \
395         $(NULL)
396 DefineEditTextTest_Runner_LDADD = \
397         $(top_builddir)/testsuite/libtestsuite.la \
398          $(AM_LDFLAGS) \
399         $(NULL)
400 DefineEditTextTest_Runner_DEPENDENCIES = \
401         $(top_builddir)/testsuite/libtestsuite.la \
402         DefineEditTextTest.swf      \
403         $(NULL)
405 spritehier_SOURCES =  spritehier.c
406 spritehier_LDADD = $(MING_LIBS)
408 opcode_guard_test_SOURCES =     \
409         opcode_guard_test.c     \
410         $(NULL)
411 opcode_guard_test_LDADD = libgnashmingutils.la
413 opcode_guard_test.swf: opcode_guard_test
414         ./opcode_guard_test $(abs_mediadir)
416 opcode_guard_testrunner: $(srcdir)/../generic-testrunner.sh opcode_guard_test.swf
417         sh $(srcdir)/../generic-testrunner.sh $(top_builddir) opcode_guard_test.swf > $@
418         chmod 755 $@
420 runtime_vm_stack_test_SOURCES = \
421         runtime_vm_stack_test.c \
422         $(NULL)
423 runtime_vm_stack_test_LDADD = libgnashmingutils.la
425 runtime_vm_stack_test.swf: runtime_vm_stack_test
426         ./runtime_vm_stack_test $(abs_mediadir)
428 runtime_vm_stack_testrunner: $(srcdir)/../generic-testrunner.sh runtime_vm_stack_test.swf
429         sh $(srcdir)/../generic-testrunner.sh $(top_builddir) runtime_vm_stack_test.swf > $@
430         chmod 755 $@
432 new_child_in_unload_test_SOURCES =      \
433         new_child_in_unload_test.c      \
434         $(NULL)
435 new_child_in_unload_test_LDADD = libgnashmingutils.la
437 new_child_in_unload_test.swf: new_child_in_unload_test
438         ./new_child_in_unload_test $(abs_mediadir)
440 new_child_in_unload_testrunner: $(srcdir)/../generic-testrunner.sh new_child_in_unload_test.swf
441         sh $(srcdir)/../generic-testrunner.sh $(top_builddir) new_child_in_unload_test.swf > $@
442         chmod 755 $@
444 PlaceObject2Test_SOURCES =      \
445         PlaceObject2Test.c      \
446         $(NULL)
447 PlaceObject2Test_LDADD = libgnashmingutils.la
449 PlaceObject2Test.swf: PlaceObject2Test
450         ./PlaceObject2Test $(abs_mediadir)
452 PlaceObject2TestRunner: $(srcdir)/../generic-testrunner.sh PlaceObject2Test.swf
453         sh $(srcdir)/../generic-testrunner.sh -r5 $(top_builddir) PlaceObject2Test.swf > $@
454         chmod 755 $@
456 RemoveObject2Test_SOURCES = RemoveObject2Test.c
457 RemoveObject2Test_LDADD = libgnashmingutils.la
459 eventSoundTest1_SOURCES = eventSoundTest1.c
460 eventSoundTest1_LDADD = libgnashmingutils.la
462 eventSoundTest1.swf: eventSoundTest1
463         ./eventSoundTest1 $(srcdir)/../media/brokenchord.wav \
464         $(srcdir)/../media/
466 eventSoundTest1_Runner_SOURCES = \
467         eventSoundTest1-Runner.cpp \
468         $(NULL)
469 eventSoundTest1_Runner_CXXFLAGS = \
470         -DTGTDIR='"$(abs_builddir)"' \
471         $(NULL)
472 eventSoundTest1_Runner_LDADD = \
473         $(top_builddir)/testsuite/libtestsuite.la \
474         $(AM_LDFLAGS) \
475         $(NULL)
476 eventSoundTest1_Runner_DEPENDENCIES = \
477         $(top_builddir)/testsuite/libtestsuite.la \
478         eventSoundTest1.swf      \
479         $(NULL)
481 streamingSoundTest1_SOURCES = streamingSoundTest1.c
482 streamingSoundTest1_LDADD = libgnashmingutils.la
484 streamingSoundTest1.swf: streamingSoundTest1
485         ./streamingSoundTest1 $(srcdir)/../media/sound1.mp3
487 streamingSoundTest1_Runner_SOURCES = \
488         streamingSoundTest1-Runner.cpp \
489         $(NULL)
490 streamingSoundTest1_Runner_CXXFLAGS = \
491         -DTGTDIR='"$(abs_builddir)"' \
492         $(NULL)
493 streamingSoundTest1_Runner_LDADD = \
494         $(top_builddir)/testsuite/libtestsuite.la \
495         $(AM_LDFLAGS) \
496         $(NULL)
497 streamingSoundTest1_Runner_DEPENDENCIES = \
498         $(top_builddir)/testsuite/libtestsuite.la \
499         streamingSoundTest1.swf      \
500         $(NULL)
503 DefineEditTextVariableNameTest_SOURCES =        \
504         DefineEditTextVariableNameTest.c        \
505         $(NULL)
506 DefineEditTextVariableNameTest_LDADD = libgnashmingutils.la
508 DefineEditTextVariableNameTest.swf: DefineEditTextVariableNameTest
509         ./DefineEditTextVariableNameTest $(abs_mediadir)
511 DefineEditTextVariableNameTest_Runner_SOURCES = \
512         DefineEditTextVariableNameTest-Runner.cpp \
513         $(NULL)
514 DefineEditTextVariableNameTest_Runner_LDADD = \
515         $(top_builddir)/testsuite/libtestsuite.la \
516         $(AM_LDFLAGS) \
517         $(NULL)
518 DefineEditTextVariableNameTest_Runner_DEPENDENCIES = \
519         $(top_builddir)/testsuite/libtestsuite.la \
520         DefineEditTextVariableNameTest.swf      \
521         $(NULL)
524 DefineEditTextVariableNameTest2_SOURCES =       \
525         DefineEditTextVariableNameTest2.c       \
526         $(NULL)
527 DefineEditTextVariableNameTest2_LDADD = libgnashmingutils.la
529 DefineEditTextVariableNameTest2.swf: DefineEditTextVariableNameTest2
530         ./DefineEditTextVariableNameTest2 $(abs_mediadir)
532 DefineEditTextVariableNameTest2-Runner: $(srcdir)/../generic-testrunner.sh DefineEditTextVariableNameTest2.swf
533         sh $(srcdir)/../generic-testrunner.sh $(top_builddir) DefineEditTextVariableNameTest2.swf > $@
534         chmod 755 $@
536 timeline_var_test_SOURCES =     \
537         timeline_var_test.c     \
538         $(NULL)
539 timeline_var_test_LDADD = libgnashmingutils.la
541 timeline_var_test.swf: timeline_var_test
542         ./timeline_var_test $(abs_mediadir)
544 timeline_var_test-Runner: $(srcdir)/../generic-testrunner.sh timeline_var_test.swf
545         sh $(srcdir)/../generic-testrunner.sh $(top_builddir) timeline_var_test.swf > $@
546         chmod 755 $@
548 root_stop_test_SOURCES = root_stop_test.c
549 root_stop_test_LDADD = libgnashmingutils.la
551 root_stop_test.swf: root_stop_test
552         ./root_stop_test $(abs_mediadir)
554 root_stop_testrunner_SOURCES = \
555         root_stop_testrunner.cpp \
556         $(NULL)
557 root_stop_testrunner_LDADD = \
558         $(top_builddir)/testsuite/libtestsuite.la \
559         $(AM_LDFLAGS) \
560         $(NULL)
561 root_stop_testrunner_CXXFLAGS = \
562         -DSRCDIR='"$(srcdir)"' \
563         -DTGTDIR='"$(abs_builddir)"' 
564 root_stop_testrunner_DEPENDENCIES = \
565         $(top_builddir)/testsuite/libtestsuite.la \
566         root_stop_test.swf      \
567         $(NULL)
569 shape_test_SOURCES = shape_test.c
570 shape_test_LDADD = libgnashmingutils.la
572 shape_test.swf: shape_test
573         ./shape_test $(abs_mediadir)
575 shape_testrunner: $(srcdir)/../generic-testrunner.sh shape_test.swf
576         sh $(srcdir)/../generic-testrunner.sh -f20 $(top_builddir) shape_test.swf > $@
577         chmod 755 $@
579 morph_test1_SOURCES = morph_test1.c
580 morph_test1_LDADD = libgnashmingutils.la
582 morph_test1.swf: morph_test1
583         ./morph_test1 $(abs_mediadir)
585 morph_test1runner_SOURCES = \
586         morph_test1runner.cpp \
587         $(NULL)
588 morph_test1runner_LDADD = \
589         $(top_builddir)/testsuite/libtestsuite.la \
590         $(AM_LDFLAGS) \
591         $(NULL)
592 morph_test1runner_CXXFLAGS = \
593         -DSRCDIR='"$(srcdir)"' \
594         -DTGTDIR='"$(abs_builddir)"' \
595         $(NULL)
596 morph_test1runner_DEPENDENCIES = \
597         morph_test1.swf \
598         $(top_builddir)/testsuite/libtestsuite.la \
599         $(NULL)
601 key_event_test_SOURCES = key_event_test.c
602 key_event_test_LDADD = libgnashmingutils.la
604 key_event_test.swf: key_event_test
605         ./key_event_test $(abs_mediadir)
607 key_event_testrunner_SOURCES = \
608         key_event_testrunner.cpp \
609         $(NULL)
610 key_event_testrunner_LDADD = \
611         $(top_builddir)/testsuite/libtestsuite.la \
612         $(AM_LDFLAGS) \
613         $(NULL)
614 key_event_testrunner_CXXFLAGS = \
615         -DSRCDIR='"$(srcdir)"' \
616         -DTGTDIR='"$(abs_builddir)"' \
617         $(NULL)
618 key_event_testrunner_DEPENDENCIES = \
619         key_event_test.swf \
620         $(top_builddir)/testsuite/libtestsuite.la \
621         $(NULL)
623 KeyEventOrder_SOURCES = KeyEventOrder.c
624 KeyEventOrder_LDADD = libgnashmingutils.la
626 KeyEventOrder.swf: KeyEventOrder
627         ./KeyEventOrder $(abs_mediadir)
629 KeyEventOrderRunner_SOURCES = \
630         KeyEventOrderRunner.cpp \
631         $(NULL)
632 KeyEventOrderRunner_LDADD = \
633         $(top_builddir)/testsuite/libtestsuite.la \
634         $(AM_LDFLAGS) \
635         $(NULL)
636 KeyEventOrderRunner_CXXFLAGS = \
637         -DSRCDIR='"$(srcdir)"' \
638         -DTGTDIR='"$(abs_builddir)"' \
639         $(NULL)
640 KeyEventOrderRunner_DEPENDENCIES = \
641         KeyEventOrder.swf \
642         $(top_builddir)/testsuite/libtestsuite.la \
643         $(NULL)
645 place_object_test_SOURCES = place_object_test.c 
646 place_object_test_LDADD = libgnashmingutils.la
648 place_object_test.swf: place_object_test
649         ./place_object_test $(abs_mediadir)
651 place_object_testrunner: $(srcdir)/../generic-testrunner.sh place_object_test.swf
652         sh $(srcdir)/../generic-testrunner.sh -r5 $(top_builddir) place_object_test.swf > $@
653         chmod 755 $@
656 place_object_test2_SOURCES = place_object_test2.c       
657 place_object_test2_LDADD = libgnashmingutils.la
659 place_object_test2.swf: place_object_test2
660         ./place_object_test2 $(abs_mediadir)
662 place_object_test2runner: $(srcdir)/../generic-testrunner.sh place_object_test2.swf
663         sh $(srcdir)/../generic-testrunner.sh -r5 $(top_builddir) place_object_test2.swf > $@
664         chmod 755 $@
666 move_object_test_SOURCES =      \
667         move_object_test.c      \
668         $(NULL)
669 move_object_test_LDADD = libgnashmingutils.la
671 move_object_test.swf: move_object_test
672         ./move_object_test $(abs_mediadir)
674 move_object_testrunner: $(srcdir)/../generic-testrunner.sh move_object_test.swf
675         sh $(srcdir)/../generic-testrunner.sh -r5 $(top_builddir) move_object_test.swf > $@
676         chmod 755 $@
678 place_and_remove_object_test_SOURCES =  \
679         place_and_remove_object_test.c  \
680         $(NULL)
681 place_and_remove_object_test_LDADD = libgnashmingutils.la
683 place_and_remove_object_test.swf: place_and_remove_object_test
684         ./place_and_remove_object_test $(abs_mediadir)
686 place_and_remove_object_testrunner: $(srcdir)/../generic-testrunner.sh place_and_remove_object_test.swf
687         sh $(srcdir)/../generic-testrunner.sh -r5 $(top_builddir) place_and_remove_object_test.swf > $@
688         chmod 755 $@
690 place_and_remove_object_insane_test_SOURCES =   \
691         place_and_remove_object_insane_test.c   \
692         $(NULL)
693 place_and_remove_object_insane_test_LDADD = libgnashmingutils.la
695 place_and_remove_object_insane_test.swf: place_and_remove_object_insane_test
696         ./place_and_remove_object_insane_test $(abs_mediadir)
698 place_and_remove_object_insane_testrunner: $(srcdir)/../generic-testrunner.sh place_and_remove_object_insane_test.swf
699         sh $(srcdir)/../generic-testrunner.sh -r5 $(top_builddir) place_and_remove_object_insane_test.swf > $@
700         chmod 755 $@
702 unload_movieclip_test1_SOURCES =        \
703         unload_movieclip_test1.c        \
704         $(NULL)
705 unload_movieclip_test1_LDADD = libgnashmingutils.la
707 unload_movieclip_test1.swf: unload_movieclip_test1
708         ./unload_movieclip_test1 $(abs_mediadir)
710 unload_movieclip_test1runner: $(srcdir)/../generic-testrunner.sh unload_movieclip_test1.swf
711         sh $(srcdir)/../generic-testrunner.sh -f10 $(top_builddir) unload_movieclip_test1.swf > $@
712         chmod 755 $@
714 DepthLimitsTest_SOURCES = DepthLimitsTest.c
715 DepthLimitsTest_LDADD = libgnashmingutils.la
717 DepthLimitsTest.swf: DepthLimitsTest
718         ./DepthLimitsTest $(abs_mediadir)
720 DepthLimitsTestrunner: $(srcdir)/../generic-testrunner.sh DepthLimitsTest.swf
721         sh $(srcdir)/../generic-testrunner.sh -r5 $(top_builddir) DepthLimitsTest.swf > $@
722         chmod 755 $@
725 replace_shapes1test_SOURCES = replace_shapes1test.c     
726 replace_shapes1test_LDADD = libgnashmingutils.la
728 replace_shapes1test.swf: replace_shapes1test
729         ./replace_shapes1test $(abs_mediadir)
731 replace_shapes1test_runner_SOURCES = \
732         replace_shapes1test_runner.cpp \
733         $(NULL)
734 replace_shapes1test_runner_CXXFLAGS = \
735         -DTGTDIR='"$(abs_builddir)"' \
736         $(NULL)
737 replace_shapes1test_runner_LDADD = \
738         $(top_builddir)/testsuite/libtestsuite.la \
739         $(AM_LDFLAGS) \
740         $(NULL)
741 replace_shapes1test_runner_DEPENDENCIES = \
742         $(top_builddir)/testsuite/libtestsuite.la \
743         replace_shapes1test.swf      \
744         $(NULL)
746 replace_sprites1test_SOURCES = replace_sprites1test.c   
747 replace_sprites1test_LDADD = libgnashmingutils.la
749 replace_sprites1test.swf: replace_sprites1test
750         ./replace_sprites1test $(abs_mediadir)
752 replace_sprites1test_runner_SOURCES = \
753         replace_sprites1test_runner.cpp \
754         $(NULL)
755 replace_sprites1test_runner_CXXFLAGS = \
756         -DTGTDIR='"$(abs_builddir)"' \
757         $(NULL)
758 replace_sprites1test_runner_LDADD = \
759         $(top_builddir)/testsuite/libtestsuite.la \
760         $(AM_LDFLAGS) \
761         $(NULL)
762 replace_sprites1test_runner_DEPENDENCIES = \
763         $(top_builddir)/testsuite/libtestsuite.la \
764         replace_sprites1test.swf      \
765         $(NULL)
767 replace_buttons1test_SOURCES = replace_buttons1test.c   
768 replace_buttons1test_LDADD = libgnashmingutils.la
770 replace_buttons1test.swf: replace_buttons1test
771         ./replace_buttons1test $(abs_mediadir)
773 replace_buttons1test_runner_SOURCES = \
774         replace_buttons1test_runner.cpp \
775         $(NULL)
776 replace_buttons1test_runner_CXXFLAGS = \
777         -DTGTDIR='"$(abs_builddir)"' \
778         $(NULL)
779 replace_buttons1test_runner_LDADD = \
780         $(top_builddir)/testsuite/libtestsuite.la \
781         $(AM_LDFLAGS) \
782         $(NULL)
783 replace_buttons1test_runner_DEPENDENCIES = \
784         $(top_builddir)/testsuite/libtestsuite.la \
785         replace_buttons1test.swf      \
786         $(NULL)
789 masks_test_SOURCES =    \
790         masks_test.c    \
791         $(NULL)
792 masks_test_LDADD = libgnashmingutils.la
794 masks_test.swf: masks_test
795         ./masks_test $(abs_mediadir)
797 masks_testrunner_SOURCES = \
798         masks_testrunner.cpp \
799         $(NULL)
800 masks_testrunner_CXXFLAGS = \
801         -DTGTDIR='"$(abs_builddir)"' \
802         $(NULL)
803 masks_testrunner_LDADD = \
804         $(top_builddir)/testsuite/libtestsuite.la \
805         $(AM_LDFLAGS) \
806         $(NULL)
807 masks_testrunner_DEPENDENCIES = \
808         $(top_builddir)/testsuite/libtestsuite.la \
809         masks_test.swf      \
810         $(NULL)
813 masks_test2_SOURCES =   \
814         masks_test2.c   \
815         $(NULL)
816 masks_test2_LDADD = libgnashmingutils.la
818 masks_test2.swf: masks_test2
819         ./masks_test2 $(abs_mediadir)
821 masks_test2runner_SOURCES = \
822         masks_test2runner.cpp \
823         $(NULL)
824 masks_test2runner_CXXFLAGS = \
825         -DTGTDIR='"$(abs_builddir)"' \
826         $(NULL)
827 masks_test2runner_LDADD = \
828         $(top_builddir)/testsuite/libtestsuite.la \
829         $(AM_LDFLAGS) \
830         $(NULL)
831 masks_test2runner_DEPENDENCIES = \
832         $(top_builddir)/testsuite/libtestsuite.la \
833         masks_test2.swf      \
834         $(NULL)
836 matrix_test_SOURCES =   \
837         matrix_test.c   \
838         $(NULL)
839 matrix_test_LDADD = libgnashmingutils.la
841 matrix_test.swf: matrix_test
842         ./matrix_test $(abs_mediadir)
844 matrix_testrunner: $(srcdir)/../generic-testrunner.sh matrix_test.swf
845         sh $(srcdir)/../generic-testrunner.sh -r5 $(top_builddir) matrix_test.swf > $@
846         chmod 755 $@
848 get_frame_number_test_SOURCES = \
849         get_frame_number_test.c \
850         $(NULL)
851 get_frame_number_test_LDADD = libgnashmingutils.la
853 get_frame_number_test.swf: get_frame_number_test
854         ./get_frame_number_test $(abs_mediadir)
856 get_frame_number_testrunner: $(srcdir)/../generic-testrunner.sh get_frame_number_test.swf
857         sh $(srcdir)/../generic-testrunner.sh -f20 $(top_builddir) get_frame_number_test.swf > $@
858         chmod 755 $@
860 frame_label_test_SOURCES =      \
861         frame_label_test.c      \
862         $(NULL)
863 frame_label_test_LDADD = libgnashmingutils.la
865 frame_label_test.swf: frame_label_test
866         ./frame_label_test $(abs_mediadir)
868 frame_label_testrunner: $(srcdir)/../generic-testrunner.sh frame_label_test.swf
869         sh $(srcdir)/../generic-testrunner.sh -r5 $(top_builddir) frame_label_test.swf > $@
870         chmod 755 $@
872 path_format_test_SOURCES =      \
873         path_format_test.c      \
874         $(NULL)
875 path_format_test_LDADD = libgnashmingutils.la
877 path_format_test.swf: path_format_test
878         ./path_format_test $(abs_mediadir)
880 path_format_testrunner: $(srcdir)/../generic-testrunner.sh path_format_test.swf
881         sh $(srcdir)/../generic-testrunner.sh -r5 $(top_builddir) path_format_test.swf > $@
882         chmod 755 $@
884 callFunction_test_SOURCES =     \
885         callFunction_test.c     \
886         $(NULL)
887 callFunction_test_LDADD = libgnashmingutils.la
889 callFunction_test.swf: callFunction_test
890         ./callFunction_test $(abs_mediadir)
892 callFunction_testrunner: $(srcdir)/../generic-testrunner.sh callFunction_test.swf
893         sh $(srcdir)/../generic-testrunner.sh -r5 $(top_builddir) callFunction_test.swf > $@
894         chmod 755 $@
896 duplicate_movie_clip_test_SOURCES =     \
897         duplicate_movie_clip_test.c     \
898         $(NULL)
899 duplicate_movie_clip_test_LDADD = libgnashmingutils.la
901 duplicate_movie_clip_test.swf: duplicate_movie_clip_test
902         ./duplicate_movie_clip_test $(abs_mediadir)
904 duplicate_movie_clip_testrunner: $(srcdir)/../generic-testrunner.sh duplicate_movie_clip_test.swf
905         sh $(srcdir)/../generic-testrunner.sh -r5 $(top_builddir) duplicate_movie_clip_test.swf > $@
906         chmod 755 $@
909 duplicate_movie_clip_test2_SOURCES =    \
910         duplicate_movie_clip_test2.c    \
911         $(NULL)
912 duplicate_movie_clip_test2_LDADD = libgnashmingutils.la
914 duplicate_movie_clip_test2.swf: duplicate_movie_clip_test2
915         ./duplicate_movie_clip_test2 $(abs_mediadir)
917 duplicate_movie_clip_test2runner: $(srcdir)/../generic-testrunner.sh duplicate_movie_clip_test2.swf
918         sh $(srcdir)/../generic-testrunner.sh -r5 $(top_builddir) duplicate_movie_clip_test2.swf > $@
919         chmod 755 $@
922 event_handler_scope_test_SOURCES =      \
923         event_handler_scope_test.c      \
924         $(NULL)
925 event_handler_scope_test_LDADD = libgnashmingutils.la
927 event_handler_scope_test.swf: event_handler_scope_test
928         ./event_handler_scope_test $(abs_mediadir)
930 event_handler_scope_testrunner: $(srcdir)/../generic-testrunner.sh event_handler_scope_test.swf
931         sh $(srcdir)/../generic-testrunner.sh -r5 $(top_builddir) event_handler_scope_test.swf > $@
932         chmod 755 $@
934 attachMovieTest_SOURCES =       \
935         attachMovieTest.c       \
936         $(NULL)
937 attachMovieTest_LDADD = libgnashmingutils.la
939 attachMovieTest.swf: attachMovieTest
940         ./attachMovieTest $(abs_mediadir)
942 attachMovieTestRunner_SOURCES = \
943         attachMovieTestRunner.cpp \
944         $(NULL)
945 attachMovieTestRunner_LDADD = \
946         $(top_builddir)/testsuite/libtestsuite.la \
947         $(AM_LDFLAGS) \
948         $(NULL)
949 attachMovieTestRunner_CXXFLAGS = \
950         -DSRCDIR='"$(srcdir)"' \
951         -DTGTDIR='"$(abs_builddir)"' \
952         $(NULL)
953 attachMovieTestRunner_DEPENDENCIES = \
954         attachMovieTest.swf \
955         $(top_builddir)/testsuite/libtestsuite.la \
956         $(NULL)
958 attachMovieLoopingTest_SOURCES =        \
959         attachMovieLoopingTest.c        \
960         $(NULL)
961 attachMovieLoopingTest_LDADD = libgnashmingutils.la
963 attachMovieLoopingTest.swf: attachMovieLoopingTest
964         ./attachMovieLoopingTest $(abs_mediadir)
966 attachMovieLoopingTestRunner_SOURCES = \
967         attachMovieLoopingTestRunner.cpp \
968         $(NULL)
969 attachMovieLoopingTestRunner_LDADD = \
970         $(top_builddir)/testsuite/libtestsuite.la \
971         $(AM_LDFLAGS) \
972         $(NULL)
973 attachMovieLoopingTestRunner_CXXFLAGS = \
974         -DSRCDIR='"$(srcdir)"' \
975         -DTGTDIR='"$(abs_builddir)"' \
976         $(NULL)
977 attachMovieLoopingTestRunner_DEPENDENCIES = \
978         attachMovieLoopingTest.swf \
979         $(top_builddir)/testsuite/libtestsuite.la \
980         $(NULL)
982 # This will only work with Ming-0.4.0beta2
983 # (support for prebuilt clips inclusion)
984 attachImported.swf: Dejagnu.swf $(srcdir)/attachImported.as attachMovieTest.swf
985         $(MAKESWF) -DOUTPUT_VERSION=6 -v6 -i attachMovieTest.swf:redsquare -o $@ Dejagnu.swf $(srcdir)/attachImported.as
986 attachImported-Runner: $(srcdir)/../generic-testrunner.sh attachImported.swf Makefile
987         sh $(srcdir)/../generic-testrunner.sh -r5 -c "END_OF_TEST" $(top_builddir) attachImported.swf > $@
988         chmod 755 $@
990 # This will only work with Ming-0.4.0beta2
991 # (support for prebuilt clips inclusion)
992 attachExtImported.swf: Dejagnu.swf $(srcdir)/attachExtImported.as attachImported.swf attachMovieTest.swf
993         $(MAKESWF) -DOUTPUT_VERSION=6 -v6 -i attachImported.swf:redsquare -o $@ Dejagnu.swf $(srcdir)/attachExtImported.as
994 attachExtImported-Runner: $(srcdir)/../generic-testrunner.sh attachExtImported.swf Makefile
995         sh $(srcdir)/../generic-testrunner.sh -r5 -c "END_OF_TEST" $(top_builddir) attachExtImported.swf > $@
996         chmod 755 $@
998 goto_frame_test_SOURCES =       \
999         goto_frame_test.c       \
1000         $(NULL)
1001 goto_frame_test_LDADD = libgnashmingutils.la
1003 goto_frame_test.swf: goto_frame_test
1004         ./goto_frame_test $(abs_mediadir)
1006 goto_frame_testrunner: $(srcdir)/../generic-testrunner.sh goto_frame_test.swf
1007         sh $(srcdir)/../generic-testrunner.sh $(top_builddir) goto_frame_test.swf > $@
1008         chmod 755 $@
1010 consecutive_goto_frame_test_SOURCES =   \
1011         consecutive_goto_frame_test.c   \
1012         $(NULL)
1013 consecutive_goto_frame_test_LDADD = libgnashmingutils.la
1015 consecutive_goto_frame_test.swf: consecutive_goto_frame_test
1016         ./consecutive_goto_frame_test $(abs_mediadir)
1018 consecutive_goto_frame_testrunner: $(srcdir)/../generic-testrunner.sh consecutive_goto_frame_test.swf
1019         sh $(srcdir)/../generic-testrunner.sh $(top_builddir) consecutive_goto_frame_test.swf > $@
1020         chmod 755 $@
1022 multi_doactions_and_goto_frame_test_SOURCES =   \
1023         multi_doactions_and_goto_frame_test.c   \
1024         $(NULL)
1025 multi_doactions_and_goto_frame_test_LDADD = libgnashmingutils.la
1027 multi_doactions_and_goto_frame_test.swf: multi_doactions_and_goto_frame_test
1028         ./multi_doactions_and_goto_frame_test $(abs_mediadir)
1030 multi_doactions_and_goto_frame_testrunner: $(srcdir)/../generic-testrunner.sh multi_doactions_and_goto_frame_test.swf
1031         sh $(srcdir)/../generic-testrunner.sh $(top_builddir) multi_doactions_and_goto_frame_test.swf > $@
1032         chmod 755 $@
1034 reverse_execute_PlaceObject2_test1_SOURCES =    \
1035         reverse_execute_PlaceObject2_test1.c    \
1036         $(NULL)
1037 reverse_execute_PlaceObject2_test1_LDADD = libgnashmingutils.la
1039 reverse_execute_PlaceObject2_test1.swf: reverse_execute_PlaceObject2_test1
1040         ./reverse_execute_PlaceObject2_test1 $(abs_mediadir)
1042 reverse_execute_PlaceObject2_test1runner: $(srcdir)/../generic-testrunner.sh reverse_execute_PlaceObject2_test1.swf
1043         sh $(srcdir)/../generic-testrunner.sh $(top_builddir) reverse_execute_PlaceObject2_test1.swf > $@
1044         chmod 755 $@
1046 reverse_execute_PlaceObject2_test2_SOURCES =    \
1047         reverse_execute_PlaceObject2_test2.c    \
1048         $(NULL)
1049 reverse_execute_PlaceObject2_test2_LDADD = libgnashmingutils.la
1051 reverse_execute_PlaceObject2_test2.swf: reverse_execute_PlaceObject2_test2
1052         ./reverse_execute_PlaceObject2_test2 $(abs_mediadir)
1054 reverse_execute_PlaceObject2_test2runner: $(srcdir)/../generic-testrunner.sh reverse_execute_PlaceObject2_test2.swf
1055         sh $(srcdir)/../generic-testrunner.sh $(top_builddir) reverse_execute_PlaceObject2_test2.swf > $@
1056         chmod 755 $@
1058 BitmapDataTest_SOURCES = \
1059         BitmapDataTest.c \
1060         $(NULL)
1062 BitmapDataTest_CFLAGS = \
1063         -DMEDIADIR='"$(abs_mediadir)"' \
1064         $(NULL)
1066 BitmapDataTest_LDADD = libgnashmingutils.la
1068 BitmapDataTest.swf: BitmapDataTest
1069         ./BitmapDataTest $(abs_mediadir)
1071 BitmapDataTestRunner_SOURCES = \
1072         BitmapDataTestRunner.cpp \
1073         $(NULL)
1075 BitmapDataTestRunner_CXXFLAGS = \
1076         -DSRCDIR='"$(srcdir)"' \
1077         -DTGTDIR='"$(abs_builddir)"' \
1078         $(NULL)
1080 BitmapDataTestRunner_LDADD = \
1081         $(top_builddir)/testsuite/libtestsuite.la \
1082         $(AM_LDFLAGS) \
1083         $(NULL)
1085 BitmapDataTestRunner_DEPENDENCIES = \
1086         $(top_builddir)/testsuite/libtestsuite.la \
1087         BitmapDataTest.swf      \
1088         $(NULL)
1090 BitmapDataDraw_SOURCES = \
1091         BitmapDataDraw.c \
1092         $(NULL)
1094 BitmapDataDraw_CFLAGS = \
1095         -DMEDIADIR='"$(abs_mediadir)"' \
1096         $(NULL)
1098 BitmapDataDraw_LDADD = libgnashmingutils.la
1100 BitmapDataDraw.swf: BitmapDataDraw
1101         ./BitmapDataDraw $(abs_mediadir)
1103 BitmapDataDrawRunner: $(srcdir)/../generic-testrunner.sh BitmapDataDraw.swf
1104         sh $(srcdir)/../generic-testrunner.sh $(top_builddir) BitmapDataDraw.swf > $@
1105         chmod 755 $@
1107 BeginBitmapFill_SOURCES = \
1108         BeginBitmapFill.c \
1109         $(NULL)
1111 BeginBitmapFill_CFLAGS = \
1112         -DMEDIADIR='"$(abs_mediadir)"' \
1113         $(NULL)
1115 BeginBitmapFill_LDADD = libgnashmingutils.la
1117 BeginBitmapFill.swf: BeginBitmapFill
1118         ./BeginBitmapFill $(abs_mediadir)
1120 BeginBitmapFillRunner_SOURCES = \
1121         BeginBitmapFillRunner.cpp \
1122         $(NULL)
1124 BeginBitmapFillRunner_CXXFLAGS = \
1125         -DSRCDIR='"$(srcdir)"' \
1126         -DTGTDIR='"$(abs_builddir)"' \
1127         $(NULL)
1129 BeginBitmapFillRunner_LDADD = \
1130         $(top_builddir)/testsuite/libtestsuite.la \
1131         $(AM_LDFLAGS) \
1132         $(NULL)
1134 BeginBitmapFillRunner_DEPENDENCIES = \
1135         $(top_builddir)/testsuite/libtestsuite.la \
1136         BeginBitmapFill.swf     \
1137         $(NULL)
1139 EmbeddedSoundTest_SOURCES = \
1140         EmbeddedSoundTest.c \
1141         $(NULL)
1143 EmbeddedSoundTest_CFLAGS = \
1144         -DMEDIADIR='"$(abs_mediadir)"' \
1145         $(NULL)
1147 EmbeddedSoundTest_LDADD = libgnashmingutils.la
1149 EmbeddedSoundTest.swf: EmbeddedSoundTest
1150         ./EmbeddedSoundTest $(abs_mediadir)
1152 EmbeddedSoundTest_Runner_SOURCES = \
1153         EmbeddedSoundTest-Runner.cpp \
1154         $(NULL)
1156 EmbeddedSoundTest_Runner_CXXFLAGS = \
1157         -DSRCDIR='"$(srcdir)"' \
1158         -DTGTDIR='"$(abs_builddir)"' \
1159         $(NULL)
1161 EmbeddedSoundTest_Runner_LDADD = \
1162         $(top_builddir)/testsuite/libtestsuite.la \
1163         $(AM_LDFLAGS) \
1164         $(NULL)
1166 EmbeddedSoundTest_Runner_DEPENDENCIES = \
1167         $(top_builddir)/testsuite/libtestsuite.la \
1168         EmbeddedSoundTest.swf   \
1169         $(NULL)
1171 BitmapSmoothingTest_SOURCES = \
1172         BitmapSmoothingTest.c \
1173         $(NULL)
1175 BitmapSmoothingTest_CFLAGS = \
1176         -DMEDIADIR='"$(abs_mediadir)"' \
1177         $(NULL)
1179 BitmapSmoothingTest_LDADD = libgnashmingutils.la
1181 BitmapSmoothingTest-v7.swf: BitmapSmoothingTest
1182         ./BitmapSmoothingTest 7
1184 BitmapSmoothingTest-v8.swf: BitmapSmoothingTest
1185         ./BitmapSmoothingTest 8
1187 registerClassTest_SOURCES =     \
1188         registerClassTest.c     \
1189         $(NULL)
1190 registerClassTest_LDADD = libgnashmingutils.la
1192 registerClassTest.swf: registerClassTest
1193         ./registerClassTest $(abs_mediadir)
1195 registerClassTestRunner_SOURCES = \
1196         registerClassTestRunner.cpp \
1197         $(NULL)
1198 registerClassTestRunner_LDADD = \
1199         $(top_builddir)/testsuite/libtestsuite.la \
1200         $(AM_LDFLAGS) \
1201         $(NULL)
1202 registerClassTestRunner_CXXFLAGS = \
1203         -DSRCDIR='"$(srcdir)"' \
1204         -DTGTDIR='"$(abs_builddir)"' \
1205         $(NULL)
1206 registerClassTestRunner_DEPENDENCIES = \
1207         registerClassTest.swf \
1208         $(top_builddir)/testsuite/libtestsuite.la \
1209         $(NULL)
1211 registerClassTest2_SOURCES =    \
1212         registerClassTest2.c    \
1213         $(NULL)
1214 registerClassTest2_LDADD = libgnashmingutils.la
1216 registerClassTest2.swf: registerClassTest2
1217         ./registerClassTest2 $(abs_mediadir)
1219 registerClassTest2runner: $(srcdir)/../generic-testrunner.sh registerClassTest2.swf
1220         sh $(srcdir)/../generic-testrunner.sh $(top_builddir) registerClassTest2.swf > $@
1221         chmod 755 $@
1223 spritehier.swf: spritehier
1224         ./spritehier
1226 RemoveObject2Test.swf: RemoveObject2Test 
1227         ./RemoveObject2Test
1229 RollOverOutTest_SOURCES =       \
1230         RollOverOutTest.c       \
1231         $(NULL)
1232 RollOverOutTest_LDADD = libgnashmingutils.la
1233 RollOverOutTest.swf: RollOverOutTest
1234         ./RollOverOutTest $(abs_mediadir)
1235 RollOverOutTest_Runner_SOURCES = \
1236         RollOverOutTest-Runner.cpp \
1237         $(NULL)
1238 RollOverOutTest_Runner_LDADD = \
1239         $(top_builddir)/testsuite/libtestsuite.la \
1240         $(AM_LDFLAGS) \
1241         $(NULL)
1242 RollOverOutTest_Runner_CXXFLAGS = \
1243         -DSRCDIR='"$(srcdir)"' \
1244         -DTGTDIR='"$(abs_builddir)"' 
1245 RollOverOutTest_Runner_DEPENDENCIES = \
1246         $(top_builddir)/testsuite/libtestsuite.la \
1247         RollOverOutTest.swf     \
1248         $(NULL)
1250 ButtonEventsTest_SOURCES =      \
1251         ButtonEventsTest.c      \
1252         $(NULL)
1253 ButtonEventsTest_LDADD = libgnashmingutils.la
1254 ButtonEventsTest.swf: ButtonEventsTest
1255         ./ButtonEventsTest $(abs_mediadir)
1256 ButtonEventsTest_Runner_SOURCES = \
1257         ButtonEventsTest-Runner.cpp \
1258         $(NULL)
1259 ButtonEventsTest_Runner_LDADD = \
1260         $(top_builddir)/testsuite/libtestsuite.la \
1261         $(AM_LDFLAGS) \
1262         $(NULL)
1263 ButtonEventsTest_Runner_DEPENDENCIES = \
1264         $(top_builddir)/testsuite/libtestsuite.la \
1265         ButtonEventsTest.swf    \
1266         $(NULL)
1267 ButtonEventsTest_Runner_CXXFLAGS = \
1268         -DTGTDIR='"$(abs_builddir)"' \
1269         $(NULL)
1271 SpriteButtonEventsTest_SOURCES =        \
1272         SpriteButtonEventsTest.c        \
1273         $(NULL)
1274 SpriteButtonEventsTest_LDADD = libgnashmingutils.la
1275 SpriteButtonEventsTest.swf: SpriteButtonEventsTest
1276         ./SpriteButtonEventsTest $(abs_mediadir)
1277 SpriteButtonEventsTest_Runner_SOURCES = \
1278         SpriteButtonEventsTest-Runner.cpp \
1279         $(NULL)
1280 SpriteButtonEventsTest_Runner_LDADD = \
1281         $(top_builddir)/testsuite/libtestsuite.la \
1282         $(AM_LDFLAGS) \
1283         $(NULL)
1284 SpriteButtonEventsTest_Runner_DEPENDENCIES = \
1285         $(top_builddir)/testsuite/libtestsuite.la \
1286         SpriteButtonEventsTest.swf      \
1287         $(NULL)
1288 SpriteButtonEventsTest_Runner_CXXFLAGS = \
1289         -DTGTDIR='"$(abs_builddir)"' \
1290         $(NULL)
1292 ResolveEventsTest_SOURCES =     \
1293         ResolveEventsTest.c     \
1294         $(NULL)
1295 ResolveEventsTest_LDADD = libgnashmingutils.la
1296 ResolveEventsTest.swf: ResolveEventsTest
1297         ./ResolveEventsTest $(abs_mediadir)
1298 ResolveEventsTest_Runner_SOURCES = \
1299         ResolveEventsTest-Runner.cpp \
1300         $(NULL)
1301 ResolveEventsTest_Runner_LDADD = \
1302         $(top_builddir)/testsuite/libtestsuite.la \
1303         $(AM_LDFLAGS) \
1304         $(NULL)
1305 ResolveEventsTest_Runner_DEPENDENCIES = \
1306         $(top_builddir)/testsuite/libtestsuite.la \
1307         ResolveEventsTest.swf   \
1308         $(NULL)
1309 ResolveEventsTest_Runner_CXXFLAGS = \
1310         -DTGTDIR='"$(abs_builddir)"' \
1311         $(NULL)
1313 # This will only work with Ming-0.4.0beta2 (support for prebuilt clips inclusion)
1314 VarAndCharClashTest.swf: $(srcdir)/../media/green.swf Dejagnu.swf $(srcdir)/VarAndCharClashTest.as 
1315         $(MAKESWF) -o $@ Dejagnu.swf $(srcdir)/../media/green.swf $(srcdir)/VarAndCharClashTest.as
1316 VarAndCharClashTest-Runner: $(srcdir)/../generic-testrunner.sh VarAndCharClashTest.swf
1317         sh $(srcdir)/../generic-testrunner.sh $(top_builddir) VarAndCharClashTest.swf > $@
1318         chmod 755 $@
1320 # This will only work with Ming-0.4.0beta2 (support for prebuilt clips inclusion)
1321 FlashVarsTest.swf: Dejagnu.swf FlashVarsTest.as 
1322         $(MAKESWF) -DOUTPUT_VERSION=6 -v6 -o $@ Dejagnu.swf $(srcdir)/FlashVarsTest.as
1323 FlashVarsTest-Runner: $(srcdir)/../generic-testrunner.sh FlashVarsTest.swf Makefile
1324         echo "$(top_builddir)/gui/gnash -1 -r0 -v -P 'FlashVars=?a=a_in_fvars&v=v_in_fvars&MixCaseFvars=mixFvars&dejagnu.nested=chFVars&_root.fqv=fqFVars&complex={a:'1',b:2}' 'FlashVarsTest.swf?a=a_in_qstring&q=q_in_qstring&MixCaseQstr=mixQstr&dejagnu.nested=chQstr&_root.fqv=fqQstr'" > $@
1325         chmod 755 $@
1327 # This will only work with Ming-0.4.0beta2 (support for prebuilt clips inclusion)
1328 SharedObjectTest.swf: Dejagnu.swf SharedObjectTest.as 
1329         $(MAKESWF) -DOUTPUT_VERSION=6 -v6 -o $@ Dejagnu.swf $(srcdir)/SharedObjectTest.as
1331 SharedObjectTestRunner: SharedObjectTestRunner.sh Makefile SharedObjectTest.swf
1332         sed -e 's#@@TOP_BUILDDIR@@#${abs_top_builddir}#' -e 's#@@BASEINPUTSOLDIR@@#${srcdir}/SharedObjectTest.sol#' $(srcdir)/SharedObjectTestRunner.sh > $@
1333         chmod +x $@
1335 StageConfigTest.swf: StageConfigTest.as 
1336         $(MAKESWF) -o $@ -s 512x512 $(srcdir)/StageConfigTest.as
1338 ButtonPropertiesTest_SOURCES = \
1339         ButtonPropertiesTest.c \
1340         $(NULL)
1341 ButtonPropertiesTest_LDADD = libgnashmingutils.la
1342 ButtonPropertiesTest.swf: ButtonPropertiesTest
1343         ./ButtonPropertiesTest $(abs_mediadir)
1344 ButtonPropertiesTestRunner_SOURCES = \
1345         ButtonPropertiesTestRunner.cpp \
1346         $(NULL)
1347 ButtonPropertiesTestRunner_LDADD = \
1348         $(top_builddir)/testsuite/libtestsuite.la \
1349         $(AM_LDFLAGS) \
1350         $(NULL)
1351 ButtonPropertiesTestRunner_DEPENDENCIES = \
1352         $(top_builddir)/testsuite/libtestsuite.la \
1353         ButtonPropertiesTest.swf        \
1354         $(NULL)
1355 ButtonPropertiesTestRunner_CXXFLAGS = \
1356         -DTGTDIR='"$(abs_builddir)"' \
1357         $(NULL)
1359 InitActionTest2_SOURCES =       \
1360         InitActionTest2.c       \
1361         $(NULL)
1362 InitActionTest2_LDADD = libgnashmingutils.la
1364 InitActionTest2.swf: InitActionTest2
1365         ./InitActionTest2 $(abs_mediadir)
1367 InitActionTest2Runner: $(srcdir)/../generic-testrunner.sh InitActionTest2.swf
1368         sh $(srcdir)/../generic-testrunner.sh $(top_builddir) InitActionTest2.swf > $@
1369         chmod 755 $@
1371 RegisterClassTest3_SOURCES =    \
1372         RegisterClassTest3.c    \
1373         $(NULL)
1374 RegisterClassTest3_LDADD = libgnashmingutils.la
1376 RegisterClassTest3.swf: RegisterClassTest3
1377         ./RegisterClassTest3 $(abs_mediadir)
1379 RegisterClassTest3Runner: $(srcdir)/../generic-testrunner.sh RegisterClassTest3.swf
1380         sh $(srcdir)/../generic-testrunner.sh $(top_builddir) RegisterClassTest3.swf > $@
1381         chmod 755 $@
1383 RegisterClassTest4_SOURCES =    \
1384         RegisterClassTest4.c    \
1385         $(NULL)
1386 RegisterClassTest4_LDADD = libgnashmingutils.la
1388 RegisterClassTest4.swf: RegisterClassTest4
1389         ./RegisterClassTest4 $(abs_mediadir)
1391 RegisterClassTest4Runner: $(srcdir)/../generic-testrunner.sh RegisterClassTest4.swf
1392         sh $(srcdir)/../generic-testrunner.sh $(top_builddir) RegisterClassTest4.swf > $@
1393         chmod 755 $@
1395 init_action_test_SOURCES =      \
1396         init_action_test.c      \
1397         $(NULL)
1398 init_action_test_LDADD = libgnashmingutils.la
1400 init_action_test.swf: init_action_test
1401         ./init_action_test $(abs_mediadir)
1403 init_action_testrunner: $(srcdir)/../generic-testrunner.sh init_action_test.swf
1404         sh $(srcdir)/../generic-testrunner.sh $(top_builddir) init_action_test.swf > $@
1405         chmod 755 $@
1407 intervalTest.swf: $(srcdir)/../media/green.swf Dejagnu.swf intervalTest.as 
1408         $(MAKESWF) -o $@ Dejagnu.swf $(srcdir)/intervalTest.as
1409 intervalTestRunner_SOURCES = \
1410         intervalTestRunner.cpp \
1411         $(NULL)
1412 intervalTestRunner_CXXFLAGS = \
1413         -DSRCDIR='"$(srcdir)"' \
1414         -DTGTDIR='"$(abs_builddir)"' \
1415         $(NULL)
1416 intervalTestRunner_LDADD = \
1417         $(top_builddir)/testsuite/libtestsuite.la \
1418         $(AM_LDFLAGS) \
1419         $(NULL)
1420 intervalTestRunner_DEPENDENCIES = \
1421         $(top_builddir)/testsuite/libtestsuite.la \
1422         intervalTest.swf        \
1423         $(NULL)
1425 gotoFrame2Test.swf: $(srcdir)/../media/green.swf Dejagnu.swf gotoFrame2Test.as 
1426         $(MAKESWF) -o $@ -iDejagnu.swf:dejagnu $(srcdir)/../actionscript.all/dejagnu_so_init.as \
1427                 $(srcdir)/gotoFrame2Test.as 
1429 gotoFrame2Test-Runner: $(srcdir)/../generic-testrunner.sh gotoFrame2Test.swf
1430         sh $(srcdir)/../generic-testrunner.sh $(top_builddir) gotoFrame2Test.swf > $@
1431         chmod 755 $@
1433 LC-Receive.swf: LC-Receive.as 
1434         $(MAKESWF) -v 8 -r 1 -o $@  $(srcdir)/empty.as $(srcdir)/LC-Receive.as
1436 LC-Send.swf: LC-Send.as 
1437         $(MAKESWF) -v 8 -r 1 -o $@  $(srcdir)/empty.as $(srcdir)/LC-Send.as
1439 LCTestRunner: $(srcdir)/../simultaneous-testrunner.sh LC-Receive.swf LC-Send.swf
1440         sh $(srcdir)/../simultaneous-testrunner.sh -c "ENDOFTEST" $(top_builddir) LC-Receive.swf LC-Send.swf > $@
1441         chmod 755 $@
1443 XMLSocketTest.swf: XMLSocketTest.as 
1444         $(MAKESWF) -r 1 -o $@  $(srcdir)/empty.as $(srcdir)/XMLSocketTest.as
1446 XMLSocketTester: XMLSocketTester.sh XMLSocketTest.swf
1447         sh $(srcdir)/XMLSocketTester.sh -c "ENDOFTEST" $(top_builddir) $(top_srcdir) $(PERL) \
1448                 XMLSocketTest.swf > $@
1449         chmod 755 $@
1451 GradientFillTest.swf: GradientFillTest.as 
1452         $(MAKESWF) -v 8 -r 1 -o $@  $(srcdir)/empty.as $(srcdir)/GradientFillTest.as
1454 GradientFillTestRunner: $(srcdir)/../generic-testrunner.sh GradientFillTest.swf
1455         sh $(srcdir)/../generic-testrunner.sh $(top_builddir) GradientFillTest.swf > $@
1456         chmod 755 $@
1458 DrawingApiTest.swf: DrawingApiTest.as 
1459         $(MAKESWF) -r 1 -o $@  $(srcdir)/empty.as $(srcdir)/DrawingApiTest.as
1461 DrawingApiTestRunner_SOURCES = \
1462         DrawingApiTestRunner.cpp \
1463         $(NULL)
1464 DrawingApiTestRunner_CXXFLAGS = \
1465         -DSRCDIR='"$(srcdir)"' \
1466         -DTGTDIR='"$(abs_builddir)"' \
1467         $(NULL)
1468 DrawingApiTestRunner_LDADD = \
1469         $(top_builddir)/testsuite/libtestsuite.la \
1470         $(AM_LDFLAGS) \
1471         $(NULL)
1472 DrawingApiTestRunner_DEPENDENCIES = \
1473         $(top_builddir)/testsuite/libtestsuite.la \
1474         DrawingApiTest.swf      \
1475         $(NULL)
1477 PrototypeEventListeners.swf: PrototypeEventListeners.as Dejagnu.swf Makefile ../actionscript.all/check.as ../actionscript.all/utils.as
1478         $(MAKESWF) -r12 -o $@ -v6 -DUSE_DEJAGNU_MODULE -DOUTPUT_VERSION=6 Dejagnu.swf $(srcdir)/PrototypeEventListeners.as
1480 PrototypeEventListenersTestRunner_SOURCES = \
1481         PrototypeEventListenersTestRunner.cpp \
1482         $(NULL)
1483 PrototypeEventListenersTestRunner_CXXFLAGS = \
1484         -DSRCDIR='"$(srcdir)"' \
1485         -DTGTDIR='"$(abs_builddir)"' \
1486         $(NULL)
1487 PrototypeEventListenersTestRunner_LDADD = \
1488         $(top_builddir)/testsuite/libtestsuite.la \
1489         $(AM_LDFLAGS) \
1490         $(NULL)
1491 PrototypeEventListenersTestRunner_DEPENDENCIES = \
1492         $(top_builddir)/testsuite/libtestsuite.la \
1493         PrototypeEventListeners.swf     \
1494         $(NULL)
1496 remoting.swf: remoting.as Dejagnu.swf Makefile ../actionscript.all/check.as ../actionscript.all/utils.as
1497         $(MAKESWF) -n network -r12 -o $@ -v7 -DHTTP_TESTSUITE='\"$(HTTP_TESTSUITE)\"' -DUSE_DEJAGNU_MODULE -DOUTPUT_VERSION=7 Dejagnu.swf $(srcdir)/remoting.as $(srcdir)/../actionscript.all/dejagnu_so_fini.as
1499 remotingTestRunner: $(srcdir)/../generic-testrunner.sh remoting.swf
1500         sh $(srcdir)/../generic-testrunner.sh $(top_builddir) remoting.swf > $@
1501         chmod 755 $@
1503 red5test.swf: red5test.as Dejagnu.swf Makefile ../actionscript.all/check.as ../actionscript.all/utils.as
1504         $(MAKESWF) -n network -r12 -o $@ -v7 -DRED5_HOST='\"$(RED5_HOST)\"' \
1505                 -DUSE_DEJAGNU_MODULE -DOUTPUT_VERSION=7 Dejagnu.swf $(srcdir)/red5test.as \
1506                 $(srcdir)/../actionscript.all/dejagnu_so_fini.as
1508 red5test-runner: $(srcdir)/../generic-testrunner.sh red5test.swf
1509         sh $(srcdir)/../generic-testrunner.sh -c "ENDOFTEST" $(top_builddir) red5test.swf > $@
1510         chmod 755 $@
1512 rtmpytest.swf: rtmpytest.as Dejagnu.swf Makefile ../actionscript.all/check.as ../actionscript.all/utils.as
1513         $(MAKESWF) -n network -r12 -o $@ -v7 -DRTMPY_HOST='\"$(RTMPY_HOST)\"' \
1514                 -DUSE_DEJAGNU_MODULE -DOUTPUT_VERSION=7 Dejagnu.swf $(srcdir)/rtmpytest.as \
1515                 $(srcdir)/../actionscript.all/dejagnu_so_fini.as
1517 rtmpytest-runner: $(srcdir)/../generic-testrunner.sh rtmpytest.swf
1518         sh $(srcdir)/../generic-testrunner.sh -c "ENDOFTEST" $(top_builddir) rtmpytest.swf > $@
1519         chmod 755 $@
1521 case6.swf: case6.as Makefile ../actionscript.all/check.as
1522         $(MAKESWF) -v6 -o $@ -DUSE_DEJAGNU_MODULE -DOUTPUT_VERSION=6 -I$(srcdir)/../actionscript.all $(srcdir)/case6.as 
1524 case7.swf: case7.as Makefile ../actionscript.all/check.as
1525         $(MAKESWF) -v7 -o $@ -DUSE_DEJAGNU_MODULE -DOUTPUT_VERSION=7 -I$(srcdir)/../actionscript.all $(srcdir)/case7.as 
1527 caseTestRunner: $(srcdir)/../generic-testrunner.sh case6.swf case7.swf Makefile
1528         sh $(srcdir)/../generic-testrunner.sh -f10 -r10 -c '#total' $(top_builddir) case6.swf case7.swf > $@
1529         chmod 755 $@
1531 DragDropTest.swf: DragDropTest.as Dejagnu.swf DragDropTestLoaded.swf Makefile ../actionscript.all/check.as ../actionscript.all/utils.as
1532         $(MAKESWF) -r12 -o $@ -v6 -DUSE_DEJAGNU_MODULE -DOUTPUT_VERSION=6 Dejagnu.swf $(srcdir)/DragDropTest.as
1534 DragDropTestLoaded.swf: DragDropTest.as Makefile ../actionscript.all/check.as ../actionscript.all/utils.as
1535         $(MAKESWF) -r12 -o $@ -v6 -DUSE_DEJAGNU_MODULE -DOUTPUT_VERSION=6 -DLOADED_VERSION $(srcdir)/DragDropTest.as
1537 DragDropTestRunner_SOURCES = \
1538         DragDropTestRunner.cpp \
1539         $(NULL)
1540 DragDropTestRunner_CXXFLAGS = \
1541         -DSRCDIR='"$(srcdir)"' \
1542         -DTGTDIR='"$(abs_builddir)"' \
1543         $(NULL)
1544 DragDropTestRunner_LDADD = \
1545         $(top_builddir)/testsuite/libtestsuite.la \
1546         $(AM_LDFLAGS) \
1547         $(NULL)
1548 DragDropTestRunner_DEPENDENCIES = \
1549         $(top_builddir)/testsuite/libtestsuite.la \
1550         DragDropTest.swf        \
1551         $(NULL)
1554 static_vs_dynamic1_SOURCES = \
1555         static_vs_dynamic1.c \
1556         $(NULL)
1558 static_vs_dynamic1_LDADD = libgnashmingutils.la
1560 static_vs_dynamic1.swf: static_vs_dynamic1
1561         ./static_vs_dynamic1 $(srcdir)/../media
1563 static_vs_dynamic1_testrunner: $(srcdir)/../generic-testrunner.sh static_vs_dynamic1.swf
1564         sh $(srcdir)/../generic-testrunner.sh $(top_builddir) static_vs_dynamic1.swf > $@
1565         chmod 755 $@
1567 static_vs_dynamic2_SOURCES = \
1568         static_vs_dynamic2.c \
1569         $(NULL)
1571 static_vs_dynamic2_LDADD = libgnashmingutils.la
1573 static_vs_dynamic2.swf: static_vs_dynamic2
1574         ./static_vs_dynamic2 $(srcdir)/../media
1576 static_vs_dynamic2_testrunner: $(srcdir)/../generic-testrunner.sh static_vs_dynamic2.swf
1577         sh $(srcdir)/../generic-testrunner.sh $(top_builddir) static_vs_dynamic2.swf > $@
1578         chmod 755 $@
1581 getTimer_test_SOURCES = \
1582         getTimer_test.c \
1583         $(NULL)
1585 getTimer_test_LDADD = libgnashmingutils.la
1587 getTimer_test.swf: getTimer_test
1588         ./getTimer_test $(srcdir)/../media
1590 getTimer_testrunner: $(srcdir)/../generic-testrunner.sh getTimer_test.swf
1591         sh $(srcdir)/../generic-testrunner.sh $(top_builddir) getTimer_test.swf > $@
1592         chmod 755 $@
1594 NetStream_SquareTest_SOURCES = \
1595         NetStream-SquareTest.c \
1596         $(NULL)
1598 NetStream_SquareTest_LDADD = libgnashmingutils.la
1600 NetStream-SquareTest.swf: NetStream-SquareTest
1601         ./NetStream-SquareTest $(abs_mediadir)
1603 NetStream_SquareTestRunner_SOURCES = \
1604         NetStream-SquareTestRunner.cpp \
1605         $(NULL)
1607 NetStream_SquareTestRunner_CXXFLAGS = \
1608         -DSRCDIR='"$(srcdir)"' \
1609         -DTGTDIR='"$(abs_builddir)"' \
1610         -DMEDIADIR='"$(abs_mediadir)"' \
1611         $(NULL)
1613 NetStream_SquareTestRunner_LDADD = \
1614         $(top_builddir)/testsuite/libtestsuite.la \
1615         $(AM_LDFLAGS) \
1616         $(NULL)
1618 NetStream_SquareTestRunner_DEPENDENCIES = \
1619         $(top_builddir)/testsuite/libtestsuite.la \
1620         NetStream-SquareTest.swf        \
1621         $(NULL)
1623 Video_EmbedSquareTest_SOURCES = \
1624         Video-EmbedSquareTest.c \
1625         $(NULL)
1627 Video_EmbedSquareTest_LDADD = libgnashmingutils.la
1629 Video-EmbedSquareTest.swf: Video-EmbedSquareTest $(srcdir)/../media/square.flv
1630         ./Video-EmbedSquareTest $(srcdir)/../media
1632 Video_EmbedSquareTestRunner_SOURCES = \
1633         Video-EmbedSquareTestRunner.cpp \
1634         $(NULL)
1636 Video_EmbedSquareTestRunner_CXXFLAGS = \
1637         -DSRCDIR='"$(srcdir)"' \
1638         -DTGTDIR='"$(abs_builddir)"' \
1639         $(NULL)
1641 Video_EmbedSquareTestRunner_LDADD = \
1642         $(top_builddir)/testsuite/libtestsuite.la \
1643         $(AM_LDFLAGS) \
1644         $(NULL)
1646 Video_EmbedSquareTestRunner_DEPENDENCIES = \
1647         $(top_builddir)/testsuite/libtestsuite.la \
1648         Video-EmbedSquareTest.swf       \
1649         $(NULL)
1651 instanceNameTest_SOURCES =      \
1652         instanceNameTest.c      \
1653         $(NULL)
1654 instanceNameTest_LDADD = libgnashmingutils.la
1656 instanceNameTest.swf: instanceNameTest
1657         ./instanceNameTest $(abs_mediadir)
1659 instanceNameTestRunner: $(srcdir)/../generic-testrunner.sh instanceNameTest.swf
1660         sh $(srcdir)/../generic-testrunner.sh $(top_builddir) instanceNameTest.swf > $@
1661         chmod 755 $@
1663 Dejagnu_SOURCES =       \
1664         Dejagnu.c       \
1665         $(NULL)
1666 Dejagnu_LDADD = libgnashmingutils.la
1668 Dejagnu.swf: Dejagnu
1669         ./Dejagnu $(abs_mediadir)
1671 clean-local: 
1672         -rm *.swf media *.pp *unner
1674 TEST_DRIVERS = ../simple.exp
1675 TEST_CASES = \
1676         GradientFillTestRunner \
1677         BeginBitmapFillRunner \
1678         BitmapDataTestRunner \
1679         BitmapDataDrawRunner \
1680         DeviceFontTestRunner \
1681         EmbeddedFontTestRunner \
1682         DefineEditTextVariableNameTest-Runner \
1683         DefineEditTextVariableNameTest2-Runner \
1684         DefineTextTest-Runner \
1685         DefineEditTextTest-Runner \
1686         RollOverOutTest-Runner \
1687         SpriteButtonEventsTest-Runner \
1688         ResolveEventsTest-Runner \
1689         timeline_var_test-Runner \
1690         root_stop_testrunner \
1691         place_object_testrunner \
1692         place_object_test2runner \
1693         move_object_testrunner \
1694         place_and_remove_object_testrunner \
1695         place_and_remove_object_insane_testrunner \
1696         unload_movieclip_test1runner \
1697         attachMovieTestRunner \
1698         attachMovieLoopingTestRunner \
1699         goto_frame_testrunner \
1700         consecutive_goto_frame_testrunner \
1701         multi_doactions_and_goto_frame_testrunner \
1702         registerClassTestRunner \
1703         XMLSocketTester \
1704         LCTestRunner \
1705         DrawingApiTestRunner \
1706         TextSnapshotTest-Runner \
1707         reverse_execute_PlaceObject2_test1runner \
1708         reverse_execute_PlaceObject2_test2runner \
1709         DepthLimitsTestrunner \
1710         matrix_testrunner \
1711         frame_label_testrunner \
1712         path_format_testrunner \
1713         callFunction_testrunner \
1714         duplicate_movie_clip_testrunner \
1715         duplicate_movie_clip_test2runner \
1716         event_handler_scope_testrunner \
1717         masks_testrunner \
1718         masks_test2runner \
1719         key_event_testrunner \
1720         static_vs_dynamic1_testrunner \
1721         static_vs_dynamic2_testrunner \
1722         getTimer_testrunner \
1723         Video-EmbedSquareTestRunner \
1724         NetStream-SquareTestRunner \
1725         shape_testrunner \
1726         morph_test1runner \
1727         runtime_vm_stack_testrunner \
1728         instanceNameTestRunner \
1729         $(NULL)
1731 if MING_VERSION_0_4_3
1732 TEST_CASES += \
1733     EmbeddedSoundTest-Runner \
1734         eventSoundTest1-Runner \
1735     $(NULL)
1736 endif
1738 if MING_VERSION_0_4
1739 TEST_CASES += \
1740         opcode_guard_testrunner \
1741         get_frame_number_testrunner
1742 endif
1744 if MAKESWF_SUPPORTS_PREBUILT_CLIPS
1745 TEST_CASES += VarAndCharClashTest-Runner \
1746         PrototypeEventListenersTestRunner \
1747         DragDropTestRunner   \
1748         FlashVarsTest-Runner \
1749         SharedObjectTestRunner \
1750         intervalTestRunner \
1751         gotoFrame2Test-Runner \
1752         attachImported-Runner \
1753         attachExtImported-Runner
1754 endif
1756 if MAKESWF_SUPPORTS_PREBUILT_CLIPS
1757 if ENABLE_HTTP_TESTSUITE
1758 TEST_CASES += remotingTestRunner
1759 endif
1760 if ENABLE_RED5_TESTING
1761 TEST_CASES += red5test-runner
1762 endif
1763 if ENABLE_RTMPY_TESTING
1764 TEST_CASES += rtmpytest-runner
1765 endif
1766 endif
1768 if MING_SUPPORTS_INIT_ACTIONS
1769 TEST_CASES += \
1770         registerClassTest2runner \
1771         init_action_testrunner \
1772         InitActionTest2Runner \
1773         RegisterClassTest3Runner \
1774         RegisterClassTest4Runner \
1775         $(NULL)
1776 endif
1778 if MING_SUPPORTS_REPLACE_TAG
1779 TEST_CASES += \
1780         PlaceObject2TestRunner \
1781         replace_shapes1test_runner \
1782         replace_sprites1test_runner \
1783         replace_buttons1test_runner \
1784         $(NULL)
1785 endif
1787 if MING_SUPPORTS_SWFBUTTON_SET_DEPTH
1788 TEST_CASES += \
1789         ButtonPropertiesTestRunner \
1790         ButtonEventsTest-Runner \
1791         KeyEventOrderRunner \
1792         $(NULL)
1793 endif
1795 TEST_ENV = GNASH_GC_TRIGGER_THRESHOLD=0
1796 TEST_ENV += GNASHRC=../gnashrc
1797 TEST_ENV += GST_INSTALL_PLUGINS_HELPER=$(top_srcdir)/testsuite/gst_install_plugins_helper.sh
1800 check-DEJAGNU: site-update $(check_PROGRAMS)
1801         runtest=$(RUNTEST); \
1802         if $(SHELL) -c "$$runtest --version" > /dev/null 2>&1; then \
1803             $(TEST_ENV) $$runtest $(RUNTESTFLAGS) $(TEST_DRIVERS); true; \
1804         else \
1805           echo "WARNING: could not find \`runtest'" 1>&2; \
1806           for i in "$(TEST_CASES)"; do \
1807             $(TEST_ENV) $(SHELL) $$i; \
1808           done; \
1809         fi
1811 site-update: site.exp
1812         @rm -fr site.exp.bak
1813         @cp site.exp site.exp.bak
1814         @sed -e '/testcases/d' site.exp.bak > site.exp
1815         @echo "# This is a list of the pre-compiled testcases" >> site.exp
1816         @echo "set testcases \"$(TEST_CASES)\"" >> site.exp