new function isFolded().
[swftools.git] / src / Makefile.in
1 top_builddir = ..
2 srcdir = @srcdir@
3 top_srcdir = @top_srcdir@
4 include ../Makefile.common
5
6 programs = wav2swf png2swf swfcombine swfstrings swfextract swfdump @JPEG2SWF@
7
8 all: $(programs)
9
10 wav2swf.o: wav2swf.c wav.h
11         $(C) wav2swf.c -o $@
12 wav.o: wav.c wav.h
13         $(C) wav.c -o $@
14 png2swf.o: png2swf.c
15         $(C) png2swf.c -o $@
16 swfcombine.o: swfcombine.c
17         $(C) swfcombine.c -o $@
18 swfdump.o: swfdump.c
19         $(C) swfdump.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
25         $(C) jpeg2swf.c -o $@
26
27 wav2swf: wav2swf.o wav.o
28         $(L) wav2swf.o wav.o -o $@ ../lib/librfxswf.a $(LIBS)
29 png2swf: png2swf.o
30         $(L) png2swf.o -o $@ ../lib/librfxswf.a $(LIBS)
31 swfcombine: swfcombine.o
32         $(L) swfcombine.o -o $@ ../lib/librfxswf.a $(LIBS)
33 swfdump: swfdump.o
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)
39 jpeg2swf: jpeg2swf.o
40         $(L) jpeg2swf.o -o $@ ../lib/librfxswf.a $(LIBS)
41
42 install:
43         $(mkinstalldirs) $(bindir)
44         $(mkinstalldirs) $(man1dir)
45         @for file in $(programs); do $(INSTALL_BIN);$(INSTALL_MAN1);done
46         
47 uninstall:
48         @for file in $(programs); do $(UNINSTALL_BIN);$(UNINSTALL_MAN1);done
49
50 clean: 
51         rm -f *.o *.lo *.a *.la wav2swf png2swf swfcombine swfextract swfstrings png2swf jpeg2swf *~
52