1EXTRA_DIST = SWF/Action.pm SWF/BinaryData.pm SWF/Bitmap.pm SWF/Blur.pm \
2		SWF/Button.pm SWF/ButtonRecord.pm SWF/Constants.pm \
3		SWF/CXform.pm SWF/DisplayItem.pm SWF/Fill.pm \
4		SWF/FilterMatrix.pm SWF/Filter.pm SWF/Font.pm \
5		SWF/FontCharacter.pm SWF/Gradient.pm SWF/InitAction.pm \
6		SWF/Matrix.pm SWF/Morph.pm SWF/Movie.pm SWF/PrebuiltClip.pm \
7		SWF/Shape.pm SWF/Shadow.pm SWF/Sound.pm \
8		SWF/SoundInstance.pm SWF/SoundStream.pm SWF/MovieClip.pm \
9		SWF/Text.pm SWF/TextField.pm SWF/VideoStream.pm SWF/Sprite.pm \
10		SWF/BrowserFont.pm SWF/FontCollection.pm SWF/Character.pm\
11		t/00_basic.t t/01_shape.t t/03_movie.t t/button.t t/drag.t \
12		t/fill.t t/filljpeg.t t/gradient.t t/movieclip.t t/png.t \
13		t/sound.t \
14		Action.xs BinaryData.xs Bitmap.xs Blur.xs Button.xs CREDITS \
15		Changes Constants.xs CXform.xs BrowserFont.xs  FontCollection.xs\
16		DisplayItem.xs Exports.c Fill.xs FilterMatrix.xs Filter.xs \
17		Font.xs Gradient.xs InitAction.xs MANIFEST Makefile.PL \
18		Matrix.xs Morph.xs Movie.xs MovieClip.xs PrebuiltClip.xs \
19		README SUPPORT SWF.pm.in SWF.xs Shadow.xs Shape.xs Sound.xs \
20		SoundInstance.xs SoundStream.xs TODO Text.xs TextField.xs \
21		VideoStream.xs FontCharacter.xs ButtonRecord.xs Character.xs\
22		perl_swf.h swf_util.c typemap examples/action.cgi \
23		examples/alphafill.cgi  examples/animation.cgi \
24		examples/glyph.cgi examples/jpegfill.cgi \
25		examples/keypress.cgi examples/morph.cgi examples/shape.cgi \
26		examples/sound.cgi examples/sprite.cgi examples/text.cgi \
27		examples/textfield.cgi examples/video.cgi \
28		common/_sans.fdb common/README common/beep.wav \
29		mkdoc
30
31#TMP_DIR=$(top_builddir)/perl_ext
32#abs_builddir=`cd $(TMP_DIR); pwd`
33
34all: Makefile.perl
35	$(MAKE) -f Makefile.perl
36
37install: Makefile.perl
38	$(MAKE) -f Makefile.perl install PREFIX=$(prefix)
39
40Makefile.perl: Makefile.PL
41	srcdir=$(srcdir) builddir=$(abs_builddir) $(PERL) $< PREFIX=$(prefix) FIRST_MAKEFILE=Makefile.perl
42
43clean-local: Makefile.perl
44	$(MAKE) -f Makefile.perl realclean
45	rm -f Makefile.perl
46
47distclean-local:
48	rm -f t/config.pl
49
50check: all
51