fixed the bpp 3 bug reported by Amartyo Banerjee.
[swftools.git] / Makefile.in
index 949320a..31a52e9 100644 (file)
@@ -1,29 +1,35 @@
-SHELL = @SHELL@
+top_builddir = ..
+srcdir = @srcdir@
 top_srcdir = @top_srcdir@
-mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
-@SET_MAKE@
+include ./Makefile.common
 
-all install uninstall:
+all install uninstall clean:
+       @echo making $@ in m4...
+       cd m4;$(MAKE) $@
        @echo making $@ in lib...
-       cd lib;$(MAKE) $@;cd ..
+       cd lib;$(MAKE) $@
        @echo making $@ in src...
-       cd src;$(MAKE) $@;cd ..
+       cd src;$(MAKE) $@
        @echo making $@ in pdf2swf...
-       cd pdf2swf;$(MAKE) $@;cd ..
+       cd pdf2swf;$(MAKE) $@
        @echo making $@ in avi2swf...
-       cd avi2swf;$(MAKE) $@;cd ..
+       cd avi2swf;$(MAKE) $@
        @echo making $@ in swfs...
-       cd swfs;$(MAKE) $@;cd ..
+       cd swfs;$(MAKE) $@
+       @$(MAKE) $@-local
 
-clean:
-       @echo making $@ in lib...
-       cd lib;$(MAKE) $@;cd ..
-       @echo making $@ in src...
-       cd src;$(MAKE) $@;cd ..
-       @echo making $@ in pdf2swf...
-       cd pdf2swf;$(MAKE) $@;cd ..
-       @echo making $@ in avi2swf...
-       cd avi2swf;$(MAKE) $@;cd ..
-       @echo making $@ in swfs...
-       cd swfs;$(MAKE) $@;cd ..
+distclean:
+       $(MAKE) clean
+       rm -f config.status config.cache configure config.h Makefile Makefile.common libtool
+       rm -f lib/lame/Makefile lib/Makefile src/Makefile avi2swf/Makefile pdf2swf/Makefile pdf2swf/ttf2pt1/Makefile pdf2swf/xpdf/Makefile
+
+clean-local:
        rm -f config.cache
+
+uninstall-local:
+       rm -rf $(pkgdatadir)
+
+all-local:
+install-local:
+
+.PHONY: all install uninstall clean distclean clean-local uninstall-local all-local install-local