3 top_srcdir
= @top_srcdir@
4 include ..
/Makefile.common
6 programs
= wav2swf
$(E
) @PNG2SWF@ swfcombine
$(E
) swfstrings
$(E
) swfextract
$(E
) swfdump
$(E
) swfc
$(E
) @JPEG2SWF@ swfbbox
$(E
) font2swf
$(E
)
10 wav2swf.o
: wav2swf.c wav.h
16 swfcombine.o
: swfcombine.c
17 $(C
) swfcombine.c
-o
$@
20 swfextract.o
: swfextract.c
21 $(C
) swfextract.c
-o
$@
22 swfstrings.o
: swfstrings.c
23 $(C
) swfstrings.c
-o
$@
26 jpeg2swf.o
: jpeg2swf.c
28 font2swf.o
: font2swf.c
30 swfc.o
: swfc.c parser.h ..
/lib
/q.h
32 parser.o
: parser.yy.c parser.h ..
/lib
/q.h
33 $(C
) parser.yy.c
-o
$@
35 # TODO: include the following rule only if lex is available
36 parser.yy.c
: parser.
lex
37 flex
-Bs
-oparser.yy.c parser.
lex
39 wav2swf
$(E
): wav2swf.o wav.o ..
/lib
/librfxswf.a
40 $(L
) wav2swf.o wav.o
-o
$@ ..
/lib
/librfxswf.a
$(LIBS
)
42 png2swf
$(E
): png2swf.o ..
/lib
/librfxswf.a
43 $(L
) png2swf.o
-o
$@ ..
/lib
/librfxswf.a
$(LIBS
)
45 swfcombine
$(E
): swfcombine.o ..
/lib
/librfxswf.a
46 $(L
) swfcombine.o
-o
$@ ..
/lib
/librfxswf.a
$(LIBS
)
48 swfdump
$(E
): swfdump.o ..
/lib
/librfxswf.a
49 $(L
) swfdump.o
-o
$@ ..
/lib
/librfxswf.a
$(LIBS
)
51 swfextract
$(E
): swfextract.o ..
/lib
/librfxswf.a
52 $(L
) swfextract.o
-o
$@ ..
/lib
/librfxswf.a
$(LIBS
)
54 swfstrings
$(E
): swfstrings.o ..
/lib
/librfxswf.a
55 $(L
) swfstrings.o
-o
$@ ..
/lib
/librfxswf.a
$(LIBS
)
57 swfbbox
$(E
): swfbbox.o ..
/lib
/librfxswf.a
58 $(L
) swfbbox.o
-o
$@ ..
/lib
/librfxswf.a
$(LIBS
)
60 font2swf
$(E
): font2swf.o ..
/lib
/librfxswf.a
61 $(L
) font2swf.o
-o
$@ ..
/lib
/librfxswf.a
$(LIBS
)
63 jpeg2swf
$(E
): jpeg2swf.o ..
/lib
/librfxswf.a
64 $(L
) jpeg2swf.o
-o
$@ ..
/lib
/librfxswf.a
$(LIBS
)
66 swfc
$(E
): parser.o swfc.o ..
/lib
/q.o wav.o ..
/lib
/librfxswf.a
67 $(L
) parser.o swfc.o ..
/lib
/q.o wav.o
-o
$@ ..
/lib
/librfxswf.a
$(LIBS
)
71 $(mkinstalldirs
) $(bindir)
72 $(mkinstalldirs
) $(man1dir)
73 @for file in
$(programs
); do
$(INSTALL_BIN
);$(INSTALL_MAN1
);done
76 @for file in
$(programs
); do
$(UNINSTALL_BIN
);$(UNINSTALL_MAN1
);done
79 rm -f
*.o
*.lo
*.a
*.la
*~ gmon.out
80 rm -f swfbbox swfdump wav2swf png2swf swfcombine swfextract swfstrings png2swf jpeg2swf swfc font2swf
81 @
rm -f swfbbox.exe swfdump.exe wav2swf.exe png2swf.exe swfcombine.exe swfextract.exe swfstrings.exe png2swf.exe jpeg2swf.exe swfc.exe font2swf.exe
82 @
rm -f swfbbox
$(E
) swfdump
$(E
) wav2swf
$(E
) png2swf
$(E
) swfcombine
$(E
) swfextract
$(E
) swfstrings
$(E
) png2swf
$(E
) jpeg2swf
$(E
) swfc
$(E
) font2swf
$(E
)
85 perl ..
/parsedoc.pl wav2swf.doc
86 perl ..
/parsedoc.pl png2swf.doc
87 perl ..
/parsedoc.pl swfbbox.doc
88 perl ..
/parsedoc.pl font2swf.doc
89 perl ..
/parsedoc.pl jpeg2swf.doc
90 perl ..
/parsedoc.pl swfcombine.doc
91 perl ..
/parsedoc.pl swfdump.doc
92 perl ..
/parsedoc.pl swfc.doc