-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
-
-DEFS = @DEFS@ -I. -I$(srcdir) -I..
-CPPFLAGS = @CPPFLAGS@
-LDFLAGS = @LDFLAGS@
-LIBS = @LIBS@
-CFLAGS = @CFLAGS@
-COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
-CCLD = $(CC)
-LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
-
-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 = :
-AWK = @AWK@
-CC = @CC@
-CPP = @CPP@
-CXX = @CXX@
-EXEEXT = @EXEEXT@
-HAVE_UNISTD_H = @HAVE_UNISTD_H@
-LN_S = @LN_S@
-MAKEINFO = @MAKEINFO@
-PACKAGE = @PACKAGE@
-RANLIB = @RANLIB@
-VERSION = @VERSION@
-mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
-CONFIG_HEADER = ../config.h
-CONFIG_CLEAN_FILES =
-DIST_COMMON = Makefile.in
-
-
-DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
-
-TAR = tar
-GZIP_ENV = --best
-all: all-redirect
-.SUFFIXES:
-
-tags: TAGS
-TAGS:
-
-
-distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
-
-subdir = lib
-
-distdir: $(DISTFILES)
- here=`cd $(top_builddir) && pwd`; \
- top_distdir=`cd $(top_distdir) && pwd`; \
- distdir=`cd $(distdir) && pwd`; \
- @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
-info-am:
-info: info-am
-dvi-am:
-dvi: dvi-am
-check-am: all-am
-check: check-am
-installcheck-am:
-installcheck: installcheck-am
-install-exec-am:
-install-exec: install-exec-am
-
-install-data-am:
-install-data: install-data-am
-
-install-am: all-am
- @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
-install: install-am
-uninstall-am:
-uninstall: uninstall-am
-
-rfxswf.o: rfxswf.c
- $(COMPILE) -c rfxswf.c
-log.o: log.c
- $(COMPILE) -c log.c
-all-am: Makefile rfxswf.o log.o
-
-all-redirect: all-am
-install-strip:
- $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
-installdirs:
-
-
-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-generic
-
-mostlyclean: mostlyclean-am
-
-clean-am: clean-generic mostlyclean-am
-
-clean: clean-am
-
-distclean-am: distclean-generic clean-am
-
-distclean: distclean-am
-
-maintainer-clean-am: 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-am
-
-.PHONY: 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 mostlyclean-generic \
-distclean-generic clean-generic maintainer-clean-generic clean \
-mostlyclean distclean maintainer-clean
+include ../Makefile.common
+
+DEVICES = devices/file.$(O) devices/swf.$(O) devices/render.$(O) devices/arts.$(O) devices/record.$(O) devices/ops.$(O) #devices/opengl.$(O)
+
+all: librfxswf$(A) libpdf$(A) q.$(O) mem.$(O) os.$(O) gfxtools.$(O) gfxfont.$(O) art/libart$(A) png.$(O) mp3.$(O) wav.$(O) $(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
+
+libpdf$(A): pdf/GFXOutputDev.cc pdf/GFXOutputDev.h pdf/pdf.cc pdf/pdf.h
+ cd pdf;$(MAKE) libpdf;cd ..
+
+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 $@
+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 $@
+
+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/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
+ $(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/ops.$(O): devices/ops.c devices/ops.h
+ $(C) devices/ops.c -o devices/ops.$(O)
+
+librfxswf$(A): Makefile rfxswf.$(O) drawer.$(O) bitio.$(O) log.$(O) MD5.$(O) mem.$(O) $(lame_objects) $(h263_objects) $(actioncompiler_objects)
+ $(AR) r librfxswf$(A) rfxswf.$(O) drawer.$(O) bitio.$(O) log.$(O) MD5.$(O) mem.$(O) $(lame_objects) $(h263_objects) $(actioncompiler_objects)
+ $(RANLIB) librfxswf$(A)
+
+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 ..