diff -Naur fsl-mm-codeclib-2.0.5.orig//Makefile fsl-mm-codeclib-2.0.5//Makefile
--- fsl-mm-codeclib-2.0.5.orig//Makefile	1969-12-31 19:00:00.000000000 -0500
+++ fsl-mm-codeclib-2.0.5//Makefile	2012-04-04 16:16:41.285716991 -0400
@@ -0,0 +1,159 @@
+# Makefile for fsl-mm-codeclib
+#
+# This makefile is just a dummy that copies the files over.
+# Using this will allow us to more easily transition between the binary
+# and source versions if we were to receive permission to do so.
+#
+# Based on the fsl-mm-codeclib.spec file in Freescale SDK 09.12.00
+# Timesys Corporation 2012
+
+
+LIBDIR=release/lib
+BINDIR=release/exe
+INCLUDEDIR=ghdr
+
+TARGETS=
+
+PREFIX?=usr
+
+ifeq ($(strip $(PLATFORM)), MX25)
+INSTALL_TARGET=mx25-install
+endif
+ifeq ($(strip $(PLATFORM)), MX233)
+INSTALL_TARGET=mx233-install
+endif
+ifeq ($(strip $(PLATFORM)), MX27)
+INSTALL_TARGET=mx27-install
+endif
+ifeq ($(strip $(PLATFORM)), MX31)
+INSTALL_TARGET=mx31-install
+endif
+ifeq ($(strip $(PLATFORM)), MX35)
+INSTALL_TARGET=mx35-install
+endif
+ifeq ($(strip $(PLATFORM)), MX37)
+INSTALL_TARGET=mx37-install
+endif
+ifeq ($(strip $(PLATFORM)), MX51)
+INSTALL_TARGET=mx51-install
+endif
+ifeq ($(strip $(PLATFORM)), MX53)
+INSTALL_TARGET=mx53-install
+endif
+ifeq ($(strip $(PLATFORM)), MX5X)
+INSTALL_TARGET=mx5x-install
+endif
+ifeq ($(strip $(PLATFORM)), MX6)
+INSTALL_TARGET=mx6-install
+endif
+ifeq ($(strip $(PLATFORM)),)
+INSTALL_TARGET=
+endif
+
+all: $(TARGETS)
+
+$(TARGETS):
+
+install-common:
+	mkdir -p $(DESTDIR)/$(PREFIX)/lib
+	mkdir -p $(DESTDIR)/$(PREFIX)/bin
+	mkdir -p $(DESTDIR)/$(PREFIX)/include
+	find $(LIBDIR) -name "*arm9*.so" | xargs -I corelib install corelib $(DESTDIR)/$(PREFIX)/lib/
+	find $(LIBDIR) -name "*arm11*.so" | xargs -I corelib install corelib $(DESTDIR)/$(PREFIX)/lib/
+	find $(LIBDIR) -name "*arm12*.so" | xargs -I corelib install corelib $(DESTDIR)/$(PREFIX)/lib/
+	find $(BINDIR) -name "*test_*" | xargs -I corelib install corelib $(DESTDIR)/$(PREFIX)/bin/
+
+mx25-install:
+mx233-install:
+mx27-install:
+	find $(DESTDIR)/$(PREFIX)/lib/ -name "*arm12*.*" | xargs rm -f
+	find $(DESTDIR)/$(PREFIX)/lib/ -name "*arm11*.*" | xargs rm -f
+	find $(DESTDIR)/$(PREFIX)/lib/ -name "lib_deinterlace_arm11_elinux.so" | xargs rm -f
+	find $(DESTDIR)/$(PREFIX)/bin/ -name "test*arm11*.*" | xargs rm -f
+	find $(DESTDIR)/$(PREFIX)/bin/ -name "test*arm12*.*" | xargs rm -f
+
+mx31-install:
+	find $(DESTDIR)/$(PREFIX)/lib/ -name "*arm12*.*" | xargs rm -f
+	find $(DESTDIR)/$(PREFIX)/lib/ -name "*arm9*.*" | xargs rm -f
+	find $(DESTDIR)/$(PREFIX)/lib/ -name "lib_deinterlace_arm11_elinux.so" | xargs rm -f
+	find $(DESTDIR)/$(PREFIX)/bin/ -name "test*arm9*.*" | xargs rm -f
+	find $(DESTDIR)/bin/ -name "test*arm12*.*" | xargs rm -f
+	find $(LIBDIR) -name "lib_wb_amr_*_arm9_elinux.so" | xargs -I corelib install corelib $(DESTDIR)/$(PREFIX)/lib/
+	find $(BINDIR) -name "test_wb_amr_*_arm9_elinux" | xargs -I corelib install corelib $(DESTDIR)/$(PREFIX)/bin/
+	find $(LIBDIR) -name "lib_nb_amr_*_arm9_elinux.so" | xargs -I corelib install corelib $(DESTDIR)/$(PREFIX)/lib/
+	find $(BINDIR) -name "test_nb_amr_*_arm9_elinux" | xargs -I corelib install corelib $(DESTDIR)/$(PREFIX)/bin/
+	find $(LIBDIR) -name "lib_g.729ab_*_arm9_elinux.so" | xargs -I corelib install corelib $(DESTDIR)/$(PREFIX)/lib/
+	find $(BINDIR) -name "test_g.729ab_*_arm9_elinux" | xargs -I corelib install corelib $(DESTDIR)/$(PREFIX)/bin/
+	find $(LIBDIR) -name "lib_g.723.1_*_arm9_elinux.so" | xargs -I corelib install corelib $(DESTDIR)/$(PREFIX)/lib/
+	find $(BINDIR) -name "test_g.723.1_*_arm9_elinux" | xargs -I corelib install corelib $(DESTDIR)/$(PREFIX)/bin/
+
+mx35-install: mx31-install
+	find $(DESTDIR)/$(PREFIX)/lib/ -name "libmpeg4_encoder_arm11_ELINUX.so" | xargs rm -f
+
+mx37-install: mx35-install
+	find $(DESTDIR)/$(PREFIX)/lib/ -name "lib_H264_dec_arm11_elinux.so" | xargs rm -f
+	find $(DESTDIR)/$(PREFIX)/lib/ -name "lib_mpeg2_dec_arm11_elinux.so" | xargs rm -f
+	find $(DESTDIR)/$(PREFIX)/lib/ -name "lib_MPEG4_dec_arm11_elinux.so" | xargs rm -f
+	find $(DESTDIR)/$(PREFIX)/lib/ -name "lib_MPEG4ASP_dec_arm11_elinux.so" | xargs rm -f
+	find $(DESTDIR)/$(PREFIX)/lib/ -name "lib_WMV9MP_dec_MP_arm11_elinux.so" | xargs rm -f
+	find $(LIBDIR) -name "lib_deinterlace_arm11_elinux.so" | xargs -I corelib install corelib $(DESTDIR)/$(PREFIX)/lib/
+
+mx51-install: mx5x-install
+
+mx53-install: mx5x-install
+
+mx5x-install:
+	find $(DESTDIR)/$(PREFIX)/lib/ -name "*arm9*.so" | xargs rm -f
+	# find $(DESTDIR)/$(PREFIX)/lib/ -name "lib_H264_dec_arm11_elinux.so" | xargs rm -f
+	# find $(DESTDIR)/$(PREFIX)/lib/ -name "lib_mpeg2_dec_arm11_elinux.so" | xargs rm -f
+	find $(DESTDIR)/$(PREFIX)/lib/ -name "lib_MPEG4_dec_arm11_elinux.so" | xargs rm -f
+	# find $(DESTDIR)/$(PREFIX)/lib/ -name "lib_MPEG4ASP_dec_arm11_elinux.so" | xargs rm -f
+	# find $(DESTDIR)/$(PREFIX)/lib/ -name "lib_WMV9MP_dec_MP_arm11_elinux.so" | xargs rm -f
+	find $(DESTDIR)/$(PREFIX)/lib/ -name "lib_wma10_dec_arm11_elinux.so" | xargs rm -f
+	find $(DESTDIR)/$(PREFIX)/lib/ -name "lib_mp3_dec_arm11_elinux.so" | xargs rm -f
+	find $(DESTDIR)/$(PREFIX)/lib/ -name "lib_aac_dec_arm11_elinux.so" | xargs rm -f
+	find $(DESTDIR)/$(PREFIX)/lib/ -name "libmpeg4_encoder_arm11_ELINUX.so" | xargs rm -f
+	find $(DESTDIR)/$(PREFIX)/lib/ -name "lib_mp3_enc_arm11_elinux.so" | xargs rm -f
+	find $(DESTDIR)/$(PREFIX)/bin/ -name "test*arm9*" | xargs rm -f
+	find $(LIBDIR) -name "lib_nb_amr_*_arm9_elinux.so" | xargs -I corelib install corelib $(DESTDIR)/$(PREFIX)/lib/
+	find $(BINDIR) -name "test_nb_amr_*_arm9_elinux" | xargs -I corelib install corelib $(DESTDIR)/$(PREFIX)/bin/
+	find $(LIBDIR) -name "lib_g.729ab_*_arm9_elinux.so" | xargs -I corelib install corelib $(DESTDIR)/$(PREFIX)/lib/
+	find $(BINDIR) -name "test_g.729ab_*_arm9_elinux" | xargs -I corelib install corelib $(DESTDIR)/$(PREFIX)/bin/
+	find $(LIBDIR) -name "lib_g.723.1_*_arm9_elinux.so" | xargs -I corelib install corelib $(DESTDIR)/$(PREFIX)/lib/
+	find $(BINDIR) -name "test_g.723.1_*_arm9_elinux" | xargs -I corelib install corelib $(DESTDIR)/$(PREFIX)/bin/
+
+mx6-install:
+	find $(DESTDIR)/$(PREFIX)/lib/ -name "*arm9*.*" | xargs rm -f
+	# find $(DESTDIR)/$(PREFIX)/lib/ -name "lib_H264_dec_arm11_elinux.so*" | xargs rm -f
+	# find $(DESTDIR)/$(PREFIX)/lib/ -name "lib_mpeg2_dec_arm11_elinux.so*" | xargs rm -f
+	find $(DESTDIR)/$(PREFIX)/lib/ -name "lib_MPEG4_dec_arm11_elinux.so*" | xargs rm -f
+	# find $(DESTDIR)/$(PREFIX)/lib/ -name "lib_MPEG4ASP_dec_arm11_elinux.so*" | xargs rm -f
+	# find $(DESTDIR)/$(PREFIX)/lib/ -name "lib_WMV9MP_dec_MP_arm11_elinux.so*" | xargs rm -f
+	find $(DESTDIR)/$(PREFIX)/lib/ -name "lib_wma10_dec_arm11_elinux.so*" | xargs rm -f
+	find $(DESTDIR)/$(PREFIX)/lib/ -name "lib_mp3_dec_arm12_elinux.so*" | xargs rm -f
+	find $(DESTDIR)/$(PREFIX)/lib/ -name "lib_aac_dec_arm12_elinux.so*" | xargs rm -f
+	find $(DESTDIR)/$(PREFIX)/lib/ -name "libmpeg4_encoder_arm11_ELINUX.so*" | xargs rm -f
+	find $(DESTDIR)/$(PREFIX)/lib/ -name "lib_mp3_enc_arm11_elinux.so*" | xargs rm -f
+	find $(DESTDIR)/$(PREFIX)/lib/ -name "lib_peq_arm11_elinux.so*" | xargs rm -f
+	find $(DESTDIR)/$(PREFIX)/lib/ -name "lib_oggvorbis_dec_arm11_elinux.so*" | xargs rm -f
+	find $(DESTDIR)/$(PREFIX)/bin/ -name "test*arm9*.*" | xargs rm -f
+	find $(LIBDIR) -name "lib_nb_amr_*_arm9_elinux.so*" | xargs -I corelib install corelib $(DESTDIR)/$(PREFIX)/lib/
+	find $(BINDIR) -name "test_nb_amr_*_arm9_elinux" | xargs -I corelib install corelib $(DESTDIR)/$(PREFIX)/bin/
+	find $(LIBDIR) -name "lib_wb_amr_*_arm9_elinux.so*" | xargs -I corelib install corelib $(DESTDIR)/$(PREFIX)/lib/
+	find $(BINDIR) -name "test_wb_amr_*_arm9_elinux" | xargs -I corelib install corelib $(DESTDIR)/$(PREFIX)/bin/
+	find $(LIBDIR) -name "lib_g.729ab_*_arm9_elinux.so*" | xargs -I corelib install corelib $(DESTDIR)/$(PREFIX)/lib/
+	find $(BINDIR) -name "test_g.729ab_*_arm9_elinux" | xargs -I corelib install corelib $(DESTDIR)/$(PREFIX)/bin/
+	find $(LIBDIR) -name "lib_g.723.1_*_arm9_elinux.so*" | xargs -I corelib install corelib $(DESTDIR)/$(PREFIX)/lib/
+	find $(BINDIR) -name "test_g.723.1_*_arm9_elinux" | xargs -I corelib install corelib $(DESTDIR)/$(PREFIX)/bin/
+	find $(LIBDIR) -name "lib_mp3_dec_arm12_elinux.so*" | xargs -I corelib install corelib $(DESTDIR)/$(PREFIX)/lib/
+	find $(LIBDIR) -name "lib_peq_arm11_elinux.so*" | xargs -I corelib install corelib $(DESTDIR)/$(PREFIX)/lib/
+	find $(LIBDIR) -name "lib_aac_dec_arm12_elinux.so*" | xargs -I corelib install corelib $(DESTDIR)/$(PREFIX)/lib/
+	find $(LIBDIR) -name "lib_oggvorbis_dec_arm11_elinux.so*" | xargs -I corelib install corelib $(DESTDIR)/$(PREFIX)/lib/
+	find $(LIBDIR) -name "lib_mp3_parser_arm11_elinux.so*" | xargs -I corelib install corelib $(DESTDIR)/$(PREFIX)/lib
+
+install: install-common $(INSTALL_TARGET)
+	mkdir -p $(DESTDIR)/$(PREFIX)/include/mm_ghdr/
+	cp -rf ghdr/* $(DESTDIR)/$(PREFIX)/include/mm_ghdr/
+	mkdir -p $(DESTDIR)/$(PREFIX)/lib/pkgconfig/
+	cp -f pkgconfig/*.pc $(DESTDIR)/$(PREFIX)/lib/pkgconfig/
+
+clean:
+
+distclean: clean
+        
+.PHONY: generate clean distclean mx25-install mx233-install \
+	 mx27-install mx31-install mx35-install mx37-install \
+	 mx51-install mx53-install mx5x-install mx6-install install
