-VPATH = @srcdir@
-prefix = @prefix@
-exec_prefix = @exec_prefix@
-
-bindir = @bindir@
-sbindir = @sbindir@
-libexecdir = @libexecdir@
-datadir = @datadir@
-sysconfdir = @sysconfdir@
-sharedstatedir = @sharedstatedir@
-localstatedir = @localstatedir@
-libdir = @libdir@
-infodir = @infodir@
-mandir = @mandir@
-includedir = @includedir@
-oldincludedir = /usr/include
-
-DESTDIR =
-
-pkgdatadir = $(datadir)/@PACKAGE@
-pkglibdir = $(libdir)/@PACKAGE@
-pkgincludedir = $(includedir)/@PACKAGE@
-
-top_builddir = ..
-
-
-
-
-
-
-INSTALL = @INSTALL@
-INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
-INSTALL_DATA = @INSTALL_DATA@
-INSTALL_SCRIPT = @INSTALL_SCRIPT@
-transform = @program_transform_name@
-
-NORMAL_INSTALL = :
-PRE_INSTALL = :
-POST_INSTALL = :
-NORMAL_UNINSTALL = :
-PRE_UNINSTALL = :
-POST_UNINSTALL = :
-CC = @CC@
-CPP = @CPP@
-CXX = @CXX@
-EXEEXT = @EXEEXT@
-HAVE_UNISTD_H = @HAVE_UNISTD_H@
-JPEG2SWF = @JPEG2SWF@
-LN_S = @LN_S@
-RANLIB = @RANLIB@
-SYSTEM_BACKTICKS = @SYSTEM_BACKTICKS@
-UNCOMPRESS = @UNCOMPRESS@
-WORDS_BIGENDIAN = @WORDS_BIGENDIAN@
-
-SUBDIRS = lame
-noinst_LIBRARIES = librfxswf.a
-
-librfxswf_a_SOURCES = bitio.c bitio.h rfxswf.c rfxswf.h log.c log.h rfxswf.o
-librfxswf_a_DEPENDENCIES = bitio.c bitio.h rfxswf.o rfxswf.h log.c log.h modules/swfbits.c modules/swfaction.c modules/swfdump.c modules/swfcgi.c modules/swfbutton.c modules/swftext.c modules/swftools.c modules/swfsound.c modules/swfshape.c lame/psymodel.o lame/fft.o lame/newmdct.o lame/quantize.o lame/takehiro.o lame/reservoir.o lame/quantize_pvt.o lame/vbrquantize.o lame/encoder.o lame/id3tag.o lame/version.o lame/tables.o lame/util.o lame/bitstream.o lame/set_get.o lame/VbrTag.o lame/lame.o
-
-
-librfxswf_a_LIBADD = lame/psymodel.o lame/fft.o lame/newmdct.o lame/quantize.o lame/takehiro.o lame/reservoir.o lame/quantize_pvt.o lame/vbrquantize.o lame/encoder.o lame/id3tag.o lame/version.o lame/tables.o lame/util.o lame/bitstream.o lame/set_get.o lame/VbrTag.o lame/lame.o
-
-
-COMPILE = $(CC) $(CFLAGS) $(CPPFLAGS)
-mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
-CONFIG_HEADER = ../config.h
-CONFIG_CLEAN_FILES =
-LIBRARIES = $(noinst_LIBRARIES)
-
-
-DEFS = @DEFS@ -I. -I$(srcdir) -I..
-CPPFLAGS = @CPPFLAGS@
-LDFLAGS = @LDFLAGS@
-LIBS = @LIBS@
-librfxswf_a_OBJECTS = bitio.o rfxswf.o log.o
-AR = ar
-CFLAGS = @CFLAGS@
-CCLD = $(CC)
-LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
-DIST_COMMON = Makefile.in
-
-
-PACKAGE = @PACKAGE@
-VERSION = @VERSION@
-
-DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
-
-TAR = tar
-GZIP_ENV = --best
-SOURCES = $(librfxswf_a_SOURCES)
-OBJECTS = $(librfxswf_a_OBJECTS)
-
-all: all-redirect
-.SUFFIXES:
-.SUFFIXES: .S .c .o .s
-
-
-
-
-
-
-
-
-mostlyclean-noinstLIBRARIES:
-
-clean-noinstLIBRARIES:
- -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES)
-
-distclean-noinstLIBRARIES:
-
-maintainer-clean-noinstLIBRARIES:
-
-.c.o:
- $(COMPILE) -c $<
-
-.s.o:
- $(COMPILE) -c $<
-
-.S.o:
- $(COMPILE) -c $<
-
-mostlyclean-compile:
- -rm -f *.o core *.core
-
-clean-compile:
-
-distclean-compile:
- -rm -f *.tab.c
-
-maintainer-clean-compile:
-
-librfxswf.a: $(librfxswf_a_OBJECTS) $(librfxswf_a_DEPENDENCIES)
- -rm -f librfxswf.a
- $(AR) cru librfxswf.a $(librfxswf_a_OBJECTS) $(librfxswf_a_LIBADD)
- $(RANLIB) librfxswf.a
-
-# This directory's subdirectories are mostly independent; you can cd
-# into them and run `make' without going through this Makefile.
-# To change the values of `make' variables: instead of editing Makefiles,
-# (1) if the variable is set in `config.status', edit `config.status'
-# (which will cause the Makefiles to be regenerated when you run `make');
-# (2) otherwise, pass the desired values on the `make' command line.
-
-@SET_MAKE@
-
-all-recursive install-data-recursive install-exec-recursive \
-installdirs-recursive install-recursive uninstall-recursive \
-check-recursive installcheck-recursive info-recursive dvi-recursive:
- @set fnord $(MAKEFLAGS); amf=$$2; \
- dot_seen=no; \
- target=`echo $@ | sed s/-recursive//`; \
- list='$(SUBDIRS)'; for subdir in $$list; do \
- echo "Making $$target in $$subdir"; \
- if test "$$subdir" = "."; then \
- dot_seen=yes; \
- local_target="$$target-am"; \
- else \
- local_target="$$target"; \
- fi; \
- (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
- || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
- done; \
- if test "$$dot_seen" = "no"; then \
- $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
- fi; test -z "$$fail"
-
-mostlyclean-recursive clean-recursive distclean-recursive \
-maintainer-clean-recursive:
- @set fnord $(MAKEFLAGS); amf=$$2; \
- dot_seen=no; \
- rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
- rev="$$subdir $$rev"; \
- test "$$subdir" = "." && dot_seen=yes; \
- done; \
- test "$$dot_seen" = "no" && rev=". $$rev"; \
- target=`echo $@ | sed s/-recursive//`; \
- for subdir in $$rev; do \
- echo "Making $$target in $$subdir"; \
- if test "$$subdir" = "."; then \
- local_target="$$target-am"; \
- else \
- local_target="$$target"; \
- fi; \
- (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
- || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
- done && test -z "$$fail"
-tags-recursive:
- list='$(SUBDIRS)'; for subdir in $$list; do \
- test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
- done
-
-tags: TAGS
-
-ID: $(HEADERS) $(SOURCES) $(LISP)
- list='$(SOURCES) $(HEADERS)'; \
- unique=`for i in $$list; do echo $$i; done | \
- awk ' { files[$$0] = 1; } \
- END { for (i in files) print i; }'`; \
- here=`pwd` && cd $(srcdir) \
- && mkid -f$$here/ID $$unique $(LISP)
-
-TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
- tags=; \
- here=`pwd`; \
- list='$(SUBDIRS)'; for subdir in $$list; do \
- if test "$$subdir" = .; then :; else \
- test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
- fi; \
- done; \
- list='$(SOURCES) $(HEADERS)'; \
- unique=`for i in $$list; do echo $$i; done | \
- awk ' { files[$$0] = 1; } \
- END { for (i in files) print i; }'`; \
- test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
- || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS)
-
-mostlyclean-tags:
-
-clean-tags:
-
-distclean-tags:
- -rm -f TAGS ID
-
-maintainer-clean-tags:
-
-distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
-
-subdir = lib
-
-distdir: $(DISTFILES)
- @for file in $(DISTFILES); do \
- d=$(srcdir); \
- if test -d $$d/$$file; then \
- cp -pr $$d/$$file $(distdir)/$$file; \
- else \
- test -f $(distdir)/$$file \
- || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
- || cp -p $$d/$$file $(distdir)/$$file || :; \
- fi; \
- done
- for subdir in $(SUBDIRS); do \
- if test "$$subdir" = .; then :; else \
- test -d $(distdir)/$$subdir \
- || mkdir $(distdir)/$$subdir \
- || exit 1; \
- chmod 777 $(distdir)/$$subdir; \
- (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(top_distdir) distdir=../$(distdir)/$$subdir distdir) \
- || exit 1; \
- fi; \
- done
-info-am:
-info: info-recursive
-dvi-am:
-dvi: dvi-recursive
-check-am: all-am
-check: check-recursive
-installcheck-am:
-installcheck: installcheck-recursive
-install-exec-am:
-install-exec: install-exec-recursive
-
-install-data-am:
-install-data: install-data-recursive
-
-install-am: all-am
- @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
-install: install-recursive
-uninstall-am:
-uninstall: uninstall-recursive
-all-am: Makefile $(LIBRARIES)
-all-redirect: all-recursive
-install-strip:
- $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
-installdirs: installdirs-recursive
-installdirs-am:
-
-
-mostlyclean-generic:
-
-clean-generic:
-
-distclean-generic:
- -rm -f Makefile $(CONFIG_CLEAN_FILES)
- -rm -f config.cache config.log stamp-h stamp-h[0-9]*
-
-maintainer-clean-generic:
-mostlyclean-am: mostlyclean-noinstLIBRARIES mostlyclean-compile \
- mostlyclean-tags mostlyclean-generic
-
-mostlyclean: mostlyclean-recursive
-
-clean-am: clean-noinstLIBRARIES clean-compile clean-tags clean-generic \
- mostlyclean-am
-
-clean: clean-recursive
-
-distclean-am: distclean-noinstLIBRARIES distclean-compile \
- distclean-tags distclean-generic clean-am
-
-distclean: distclean-recursive
-
-maintainer-clean-am: maintainer-clean-noinstLIBRARIES \
- maintainer-clean-compile maintainer-clean-tags \
- maintainer-clean-generic distclean-am
- @echo "This command is intended for maintainers to use;"
- @echo "it deletes files that may require special tools to rebuild."
-
-maintainer-clean: maintainer-clean-recursive
-
-.PHONY: mostlyclean-noinstLIBRARIES distclean-noinstLIBRARIES \
-clean-noinstLIBRARIES maintainer-clean-noinstLIBRARIES \
-mostlyclean-compile distclean-compile clean-compile \
-maintainer-clean-compile install-data-recursive \
-uninstall-data-recursive install-exec-recursive \
-uninstall-exec-recursive installdirs-recursive uninstalldirs-recursive \
-all-recursive check-recursive installcheck-recursive info-recursive \
-dvi-recursive mostlyclean-recursive distclean-recursive clean-recursive \
-maintainer-clean-recursive tags tags-recursive mostlyclean-tags \
-distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
-dvi-am dvi check check-am installcheck-am installcheck install-exec-am \
-install-exec install-data-am install-data install-am install \
-uninstall-am uninstall all-redirect all-am all installdirs-am \
-installdirs mostlyclean-generic distclean-generic clean-generic \
-maintainer-clean-generic clean mostlyclean distclean maintainer-clean
-
-rfxswf.o: rfxswf.c rfxswf.h bitio.c bitio.h modules/swfbits.c \
- modules/swfaction.c modules/swfdump.c modules/swfcgi.c \
- modules/swfbutton.c modules/swftext.c modules/swftools.c \
- modules/swfsound.c modules/swfshape.c
- $(COMPILE) -c $<
+include ../Makefile.common
+
+DEVICES = devices/swf.$(O) devices/arts.$(O) #devices/lrf.$(O) devices/opengl.$(O)
+
+all: librfxswf$(A) libpdf$(A) art/libart$(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/swffilter.c modules/swfrender.c h.263/swfvideo.c
+
+base_objects=q.$(O) utf8.$(O) mem.$(O) png.$(O) wav.$(O) mp3.$(O) os.$(O) bitio.$(O) log.$(O) mem.$(O)
+gfx_objects=gfxtools.$(O) gfxfont.$(O) devices/dummy.$(O) devices/file.$(O) devices/render.$(O) devices/text.$(O) devices/record.$(O) devices/ops.$(O) devices/bbox.$(O) devices/rescale.$(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 $@
+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 $@
+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
+ $(C) log.c -o $@
+rfxswf.$(O): rfxswf.c rfxswf.h drawer.h bitio.h log.h MD5.h $(rfxswf_modules) $(top_builddir)/config.h
+ $(C) rfxswf.c -o $@
+
+$(lame_objects):
+ cd lame;$(MAKE) all;cd ..
+$(actioncompiler_objects):
+ 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)
+h.263/h263tables.$(O): h.263/h263tables.c h.263/h263tables.h
+ $(C) h.263/h263tables.c -o h.263/h263tables.$(O)
+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/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/arts.$(O): devices/arts.c devices/arts.h devices/artsutils.c
+ $(C) devices/arts.c -o devices/arts.$(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) Makefile
+ $(AR) r libgfx$(A) $(gfx_objects)
+
+librfxswf$(A): Makefile rfxswf.$(O) drawer.$(O) MD5.$(O) $(lame_objects) $(h263_objects) $(actioncompiler_objects) Makefile
+ $(AR) r librfxswf$(A) rfxswf.$(O) 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 *.lib *.la gmon.out
+ cd lame && $(MAKE) clean && cd .. || true
+ cd action && $(MAKE) clean && cd ..
+ cd python && $(MAKE) clean && cd ..
+ cd art && $(MAKE) clean && cd ..
+ cd pdf && $(MAKE) clean && cd ..