fixed endless loop.
[swftools.git] / lib / Makefile.in
1 top_builddir = ..
2 srcdir = @srcdir@
3 top_srcdir = @top_srcdir@
4 include ../Makefile.common
5
6 all: librfxswf.a q.o
7
8 lame_objects = @lame_objects@
9
10 h263_objects = h.263/dct.o h.263/h263tables.o h.263/swfvideo.o
11 actioncompiler_objects = action/assembler.o action/compile.o action/lex.swf4.o action/lex.swf5.o action/libming.o action/swf4compiler.tab.o action/swf5compiler.tab.o action/actioncompiler.o
12 rfxswf_modules =  modules/swfbits.c modules/swfaction.c modules/swfdump.c modules/swfcgi.c modules/swfbutton.c modules/swftext.c modules/swffont.c modules/swftools.c modules/swfsound.c modules/swfshape.c modules/swfobject.c modules/swfdraw.c h.263/swfvideo.c
13
14 bitio.o: bitio.c bitio.h
15         $(C) bitio.c -o $@
16 drawer.o: drawer.c drawer.h
17         $(C) drawer.c -o $@
18 q.o: q.c q.h $(top_builddir)/config.h
19         $(C) q.c -o $@
20 MD5.o: MD5.c MD5.h
21         $(C) MD5.c -o $@
22 log.o: log.c log.h
23         $(C) log.c -o $@
24 rfxswf.o: rfxswf.c rfxswf.h drawer.h bitio.h log.h MD5.h $(rfxswf_modules) $(top_builddir)/config.h
25         $(C) rfxswf.c -o $@
26
27 $(lame_objects):
28         cd lame;make all;cd ..
29 $(actioncompiler_objects):
30         cd action;make all;cd ..
31
32 h.263/dct.o:  h.263/dct.c h.263/dct.h
33         $(C) h.263/dct.c -o h.263/dct.o
34 h.263/h263tables.o: h.263/h263tables.c h.263/h263tables.h
35         $(C) h.263/h263tables.c -o h.263/h263tables.o
36 h.263/swfvideo.o: h.263/swfvideo.c h.263/h263tables.h h.263/dct.h
37         $(C) h.263/swfvideo.c -o h.263/swfvideo.o
38
39 librfxswf.a: rfxswf.o drawer.o bitio.o log.o MD5.o $(lame_objects) $(h263_objects) $(actioncompiler_objects)
40         $(AR) r librfxswf.a rfxswf.o drawer.o bitio.o log.o MD5.o $(lame_objects) $(h263_objects) $(actioncompiler_objects)
41         $(RANLIB) librfxswf.a
42
43 install:
44 uninstall:
45
46 clean: 
47         rm -f *.o *.lo *.a *.la gmon.out
48         cd lame && $(MAKE) clean && cd .. || true
49         cd h.263 && $(MAKE) clean && cd ..
50         cd action && $(MAKE) clean && cd ..
51         cd python && $(MAKE) clean && cd ..
52