X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=lib%2FMakefile.in;h=30b6a332dc4fee9df2d8b6daf4c524b561799d78;hb=e444519da3359f5207016ad58b82336c41c74945;hp=b821a58604d3a1895ca9949e245714e85741a6c3;hpb=28f1e1585e55bfc52b66f69af695c86df58c3990;p=swftools.git diff --git a/lib/Makefile.in b/lib/Makefile.in index b821a58..30b6a33 100644 --- a/lib/Makefile.in +++ b/lib/Makefile.in @@ -3,20 +3,82 @@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ include ../Makefile.common -all: librfxswf.a q.$(O) +DEVICES = devices/swf.$(O) #devices/lrf.$(O) devices/opengl.$(O) + +all: librfxswf$(A) libpdf$(A) libbase$(A) libgfx$(A) $(DEVICES) lame_objects = @lame_objects@ h263_objects = h.263/dct.$(O) h.263/h263tables.$(O) h.263/swfvideo.$(O) 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) -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 +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/swffilter.c modules/swfrender.c h.263/swfvideo.c + +base_objects=q.$(O) utf8.$(O) png.$(O) wav.$(O) mp3.$(O) os.$(O) bitio.$(O) log.$(O) mem.$(O) +gfx_objects=gfxtools.$(O) gfxfont.$(O) gfxpoly.$(O) devices/dummy.$(O) devices/file.$(O) devices/render.$(O) devices/text.$(O) devices/record.$(O) devices/ops.$(O) devices/polyops.$(O) devices/bbox.$(O) devices/rescale.$(O) +art_objects=art/art_affine.$(O) art/art_alphagamma.$(O) art/art_bpath.$(O) art/art_gray_svp.$(O) art/art_misc.$(O) art/art_pixbuf.$(O) art/art_rect.$(O) art/art_rect_svp.$(O) art/art_rect_uta.$(O) art/art_render.$(O) art/art_render_gradient.$(O) art/art_render_mask.$(O) art/art_render_svp.$(O) art/art_rgb.$(O) art/art_rgb_a_affine.$(O) art/art_rgb_affine.$(O) art/art_rgb_affine_private.$(O) art/art_rgb_bitmap_affine.$(O) art/art_rgb_pixbuf_affine.$(O) art/art_rgb_rgba_affine.$(O) art/art_rgb_svp.$(O) art/art_rgba.$(O) art/art_svp.$(O) art/art_svp_intersect.$(O) art/art_svp_ops.$(O) art/art_svp_point.$(O) art/art_svp_render_aa.$(O) art/art_svp_vpath.$(O) art/art_svp_vpath_stroke.$(O) art/art_svp_wind.$(O) art/art_uta.$(O) art/art_uta_ops.$(O) art/art_uta_rect.$(O) art/art_uta_svp.$(O) art/art_uta_vpath.$(O) art/art_vpath.$(O) art/art_vpath_bpath.$(O) art/art_vpath_dash.$(O) art/art_vpath_svp.$(O) +rfxswf_objects=modules/swfabc.$(O) modules/swfaction.$(O) modules/swfbits.$(O) modules/swfbutton.$(O) modules/swfcgi.$(O) modules/swfdraw.$(O) modules/swfdump.$(O) modules/swffilter.$(O) modules/swffont.$(O) modules/swfmorph.$(O) modules/swfobject.$(O) modules/swfrender.$(O) modules/swfshape.$(O) modules/swfsound.$(O) modules/swftext.$(O) modules/swftools.$(O) +%.$(O): %.c + $(C) $< -o $@ bitio.$(O): bitio.c bitio.h $(C) bitio.c -o $@ drawer.$(O): drawer.c drawer.h $(C) drawer.c -o $@ q.$(O): q.c q.h $(top_builddir)/config.h $(C) q.c -o $@ +utf8.$(O): utf8.c utf8.h $(top_builddir)/config.h + $(C) utf8.c -o $@ +mem.$(O): mem.c mem.h $(top_builddir)/config.h + $(C) mem.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 $@ +modules/swfabc.$(O): modules/swfabc.c rfxswf.h + $(C) modules/swfabc.c -o $@ +modules/swfaction.$(O): modules/swfaction.c rfxswf.h + $(C) modules/swfaction.c -o $@ +modules/swfbits.$(O): modules/swfbits.c rfxswf.h + $(C) modules/swfbits.c -o $@ +modules/swfbutton.$(O): modules/swfbutton.c rfxswf.h + $(C) modules/swfbutton.c -o $@ +modules/swfcgi.$(O): modules/swfcgi.c rfxswf.h + $(C) modules/swfcgi.c -o $@ +modules/swfdraw.$(O): modules/swfdraw.c rfxswf.h + $(C) modules/swfdraw.c -o $@ +modules/swfdump.$(O): modules/swfdump.c rfxswf.h + $(C) modules/swfdump.c -o $@ +modules/swffilter.$(O): modules/swffilter.c rfxswf.h + $(C) modules/swffilter.c -o $@ +modules/swffont.$(O): modules/swffont.c rfxswf.h + $(C) modules/swffont.c -o $@ +modules/swfmorph.$(O): modules/swfmorph.c rfxswf.h + $(C) modules/swfmorph.c -o $@ +modules/swfobject.$(O): modules/swfobject.c rfxswf.h + $(C) modules/swfobject.c -o $@ +modules/swfrender.$(O): modules/swfrender.c rfxswf.h + $(C) modules/swfrender.c -o $@ +modules/swfshape.$(O): modules/swfshape.c rfxswf.h + $(C) modules/swfshape.c -o $@ +modules/swfsound.$(O): modules/swfsound.c rfxswf.h + $(C) modules/swfsound.c -o $@ +modules/swftext.$(O): modules/swftext.c rfxswf.h + $(C) modules/swftext.c -o $@ +modules/swftools.$(O): modules/swftools.c rfxswf.h + $(C) modules/swftools.c -o $@ +gfxtools.$(O): gfxtools.c gfxtools.h $(top_builddir)/config.h + $(C) gfxtools.c -o $@ +gfxpoly.$(O): gfxpoly.c gfxpoly.h $(top_builddir)/config.h + $(C) gfxpoly.c -o $@ +gfxfont.$(O): gfxfont.c gfxfont.h $(top_builddir)/config.h + $(C) gfxfont.c -o $@ +gfxwindow.$(O): gfxwindow_win32.c gfxwindow_unix.c gfxwindow.c gfxwindow.h + $(C) gfxwindow.c -o $@ + MD5.$(O): MD5.c MD5.h $(C) MD5.c -o $@ log.$(O): log.c log.h @@ -25,9 +87,9 @@ 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 .. h.263/dct.$(O): h.263/dct.c h.263/dct.h $(C) h.263/dct.c -o h.263/dct.$(O) @@ -36,16 +98,54 @@ 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) -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 +devices/swf.$(O): devices/swf.c devices/swf.h + $(C) devices/swf.c -o devices/swf.$(O) +devices/file.$(O): devices/file.c devices/file.h + $(C) devices/file.c -o devices/file.$(O) +devices/dummy.$(O): devices/dummy.c devices/dummy.h + $(C) devices/dummy.c -o devices/dummy.$(O) +devices/render.$(O): devices/render.c devices/render.h + $(C) devices/render.c -o devices/render.$(O) +devices/opengl.$(O): devices/opengl.c devices/opengl.h + $(C) devices/opengl.c -o devices/opengl.$(O) +devices/polyops.$(O): devices/polyops.c devices/polyops.h gfxpoly.h + $(C) devices/polyops.c -o devices/polyops.$(O) +devices/record.$(O): devices/record.c devices/record.h + $(C) devices/record.c -o devices/record.$(O) +devices/text.$(O): devices/text.c devices/text.h + $(C) devices/text.c -o devices/text.$(O) +devices/ops.$(O): devices/ops.c devices/ops.h + $(C) devices/ops.c -o devices/ops.$(O) +devices/rescale.$(O): devices/rescale.c devices/rescale.h + $(C) devices/rescale.c -o devices/rescale.$(O) +devices/bbox.$(O): devices/bbox.c devices/bbox.h + $(C) devices/bbox.c -o devices/bbox.$(O) +devices/lrf.$(O): devices/lrf.c devices/lrf.h + $(C) devices/lrf.c -o devices/lrf.$(O) + +libbase$(A): $(base_objects) Makefile + $(AR) r libbase$(A) $(base_objects) + +libgfx$(A): $(gfx_objects) $(art_objects) Makefile + $(AR) r libgfx$(A) $(gfx_objects) $(art_objects) + +librfxswf$(A): Makefile rfxswf.$(O) $(rfxswf_objects) drawer.$(O) MD5.$(O) $(lame_objects) $(h263_objects) $(actioncompiler_objects) Makefile + $(AR) r librfxswf$(A) rfxswf.$(O) $(rfxswf_objects) drawer.$(O) MD5.$(O) $(lame_objects) $(h263_objects) $(actioncompiler_objects) + $(RANLIB) librfxswf$(A) + +libpdf$(A): pdf/GFXOutputDev.cc pdf/GFXOutputDev.h pdf/pdf.cc pdf/pdf.h + cd pdf;$(MAKE) libpdf + install: uninstall: clean: - rm -f *.o *.obj *.lo *.a *.la gmon.out + rm -f *.o *.obj *.lo *.a *.lib *.la gmon.out + rm -f art/*.o art/*.obj art/*.lo art/*.a art/*.lib art/*.la art/gmon.out + rm -f modules/*.o modules/*.obj modules/*.lo modules/*.a modules/*.lib modules/*.la modules/gmon.out cd lame && $(MAKE) clean && cd .. || true cd action && $(MAKE) clean && cd .. cd python && $(MAKE) clean && cd .. + cd pdf && $(MAKE) clean && cd ..