3 top_srcdir = @top_srcdir@
4 include ../Makefile.common
6 programs = wav2swf png2swf swfcombine swfstrings swfextract swfdump @JPEG2SWF@
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 $@
24 jpeg2swf.o: jpeg2swf.c
27 wav2swf: wav2swf.o wav.o
28 $(L) wav2swf.o wav.o -o $@ ../lib/librfxswf.a $(LIBS)
30 $(L) png2swf.o -o $@ ../lib/librfxswf.a $(LIBS)
31 swfcombine: swfcombine.o
32 $(L) swfcombine.o -o $@ ../lib/librfxswf.a $(LIBS)
34 $(L) swfdump.o -o $@ ../lib/librfxswf.a $(LIBS)
35 swfextract: swfextract.o
36 $(L) swfextract.o -o $@ ../lib/librfxswf.a $(LIBS)
37 swfstrings: swfstrings.o
38 $(L) swfstrings.o -o $@ ../lib/librfxswf.a $(LIBS)
40 $(L) jpeg2swf.o -o $@ ../lib/librfxswf.a $(LIBS)
43 $(mkinstalldirs) $(bindir)
44 $(mkinstalldirs) $(man1dir)
45 @for file in $(programs); do $(INSTALL_BIN);$(INSTALL_MAN1);done
48 @for file in $(programs); do $(UNINSTALL_BIN);$(UNINSTALL_MAN1);done
51 rm -f *.o *.lo *.a *.la wav2swf png2swf swfcombine swfextract swfstrings png2swf jpeg2swf *~