3 top_srcdir = @top_srcdir@
4 include ../Makefile.common
6 all: librfxswf$(A) q.$(O) os.$(O) gfxtools.$(O) gfxfont.$(O) art/libart$(A) png.$(O)
8 lame_objects = @lame_objects@
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 modules/swfrender.c h.263/swfvideo.c
14 bitio.$(O): bitio.c bitio.h
16 drawer.$(O): drawer.c drawer.h
18 q.$(O): q.c q.h $(top_builddir)/config.h
20 png.$(O): png.c png.h $(top_builddir)/config.h
22 os.$(O): os.c os.h $(top_builddir)/config.h
23 $(C) -DSWFTOOLS_DATADIR=\"$(pkgdatadir)\" os.c -o $@
24 gfxtools.$(O): gfxtools.c gfxtools.h $(top_builddir)/config.h
26 gfxfont.$(O): gfxfont.c gfxfont.h $(top_builddir)/config.h
33 rfxswf.$(O): rfxswf.c rfxswf.h drawer.h bitio.h log.h MD5.h $(rfxswf_modules) $(top_builddir)/config.h
37 cd lame;$(MAKE) all;cd ..
38 $(actioncompiler_objects):
39 cd action;$(MAKE) all;cd ..
42 cd art; $(MAKE) libart$(A);cd ..
44 h.263/dct.$(O): h.263/dct.c h.263/dct.h
45 $(C) h.263/dct.c -o h.263/dct.$(O)
46 h.263/h263tables.$(O): h.263/h263tables.c h.263/h263tables.h
47 $(C) h.263/h263tables.c -o h.263/h263tables.$(O)
48 h.263/swfvideo.$(O): h.263/swfvideo.c h.263/h263tables.h h.263/dct.h
49 $(C) h.263/swfvideo.c -o h.263/swfvideo.$(O)
51 librfxswf$(A): Makefile rfxswf.$(O) drawer.$(O) bitio.$(O) log.$(O) MD5.$(O) $(lame_objects) $(h263_objects) $(actioncompiler_objects)
52 $(AR) r librfxswf$(A) rfxswf.$(O) drawer.$(O) bitio.$(O) log.$(O) MD5.$(O) $(lame_objects) $(h263_objects) $(actioncompiler_objects)
53 $(RANLIB) librfxswf$(A)
59 rm -f *.o *.obj *.lo *.a *.la gmon.out
60 cd lame && $(MAKE) clean && cd .. || true
61 cd action && $(MAKE) clean && cd ..
62 cd python && $(MAKE) clean && cd ..
63 cd art && $(MAKE) clean && cd ..