X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=lib%2FMakefile.in;h=b38ae2f0ac75dea3d7eba9f166997eb5034d5a4c;hb=adbab7976f60c1fc9d69fe2d5f6d0e72382b3a4b;hp=47136cac99b9d74269231ea217599170ed53ffe6;hpb=559f612b3997098648af09b1cfdc95c61e1e2877;p=swftools.git diff --git a/lib/Makefile.in b/lib/Makefile.in index 47136ca..b38ae2f 100644 --- a/lib/Makefile.in +++ b/lib/Makefile.in @@ -3,7 +3,10 @@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ include ../Makefile.common -all: librfxswf$(A) q.$(O) +DEVICES = devices/gfxdevice_file.$(O) devices/gfxdevice_swf.$(O) + +all: librfxswf$(A) q.$(O) os.$(O) gfxtools.$(O) gfxfont.$(O) art/libart$(A) png.$(O) mp3.$(O) wav.$(O) $(DEVICES) + lame_objects = @lame_objects@ @@ -17,6 +20,19 @@ drawer.$(O): drawer.c drawer.h $(C) drawer.c -o $@ q.$(O): q.c q.h $(top_builddir)/config.h $(C) q.c -o $@ +png.$(O): png.c png.h $(top_builddir)/config.h + $(C) png.c -o $@ +mp3.$(O): mp3.c mp3.h $(top_builddir)/config.h + $(C) mp3.c -o $@ +wav.$(O): wav.c wav.h $(top_builddir)/config.h + $(C) wav.c -o $@ +os.$(O): os.c os.h $(top_builddir)/config.h + $(C) -DSWFTOOLS_DATADIR=\"$(pkgdatadir)\" os.c -o $@ +gfxtools.$(O): gfxtools.c gfxtools.h $(top_builddir)/config.h + $(C) gfxtools.c -o $@ +gfxfont.$(O): gfxfont.c gfxfont.h $(top_builddir)/config.h + $(C) gfxfont.c -o $@ + MD5.$(O): MD5.c MD5.h $(C) MD5.c -o $@ log.$(O): log.c log.h @@ -25,9 +41,12 @@ rfxswf.$(O): rfxswf.c rfxswf.h drawer.h bitio.h log.h MD5.h $(rfxswf_modules) $( $(C) rfxswf.c -o $@ $(lame_objects): - cd lame;make all;cd .. + cd lame;$(MAKE) all;cd .. $(actioncompiler_objects): - cd action;make all;cd .. + cd action;$(MAKE) all;cd .. + +art/libart$(A): + cd art; $(MAKE) libart$(A);cd .. h.263/dct.$(O): h.263/dct.c h.263/dct.h $(C) h.263/dct.c -o h.263/dct.$(O) @@ -36,6 +55,11 @@ h.263/h263tables.$(O): h.263/h263tables.c h.263/h263tables.h h.263/swfvideo.$(O): h.263/swfvideo.c h.263/h263tables.h h.263/dct.h $(C) h.263/swfvideo.c -o h.263/swfvideo.$(O) +devices/gfxdevice_swf.$(O): devices/gfxdevice_swf.c devices/gfxdevice_swf.h + $(C) devices/gfxdevice_swf.c -o devices/gfxdevice_swf.$(O) +devices/gfxdevice_file.$(O): devices/gfxdevice_file.c devices/gfxdevice_file.h + $(C) devices/gfxdevice_file.c -o devices/gfxdevice_file.$(O) + librfxswf$(A): Makefile rfxswf.$(O) drawer.$(O) bitio.$(O) log.$(O) MD5.$(O) $(lame_objects) $(h263_objects) $(actioncompiler_objects) $(AR) r librfxswf$(A) rfxswf.$(O) drawer.$(O) bitio.$(O) log.$(O) MD5.$(O) $(lame_objects) $(h263_objects) $(actioncompiler_objects) $(RANLIB) librfxswf$(A) @@ -48,4 +72,5 @@ clean: cd lame && $(MAKE) clean && cd .. || true cd action && $(MAKE) clean && cd .. cd python && $(MAKE) clean && cd .. + cd art && $(MAKE) clean && cd ..