mm-core: Add Makefile and Configure files

add makefile and configure file to build mm-core libraries.

Change-Id: I94c714d124594627ce6b61ad4a507d1718e3eee1
diff --git a/mm-core/Makefile.am b/mm-core/Makefile.am
index 51f68da..9fa9b32 100644
--- a/mm-core/Makefile.am
+++ b/mm-core/Makefile.am
@@ -54,6 +54,10 @@
 TARGET_REGISTRY = msm8996
 endif
 
+if TARGET_MSM8909
+TARGET_REGISTRY = 8909
+endif
+
 c_sources +=src/${TARGET_REGISTRY}/registry_table_android.c
 
 lib_LTLIBRARIES = libOmxCore.la
@@ -61,8 +65,8 @@
 libOmxCore_la_SOURCES = $(c_sources)
 libOmxCore_la_CFLAGS = $(AM_CFLAGS) $(AM_CPPFLAGS) -fPIC
 libOmxCore_la_CPPFLAGS = $(AM_CFLAGS) $(AM_CPPFLAGS) -fPIC
-libOmxCore_la_LDFLAGS = -ldl -lrt -lpthread -lglib-2.0
-libOmxCore_la_LDFLAGS += -shared -version-info 0
+libOmxCore_la_LDFLAGS = -ldl -lrt -lpthread -lglib-2.0 -lcutils
+libOmxCore_la_LDFLAGS += -shared -avoid-version
 
 lib_LTLIBRARIES += libmm-omxcore.la
 
@@ -74,6 +78,6 @@
 libmm_omxcore_la_SOURCES = $(c_sources)
 libmm_omxcore_la_CFLAGS = $(AM_CFLAGS) $(AM_CPPFLAGS) -fPIC
 libmm_omxcore_la_CPPFLAGS = $(AM_CFLAGS) $(AM_CPPFLAGS) -fPIC
-libmm_omxcore_la_LDFLAGS = -ldl -lrt -lpthread -lglib-2.0
-libmm_omxcore_la_LDFLAGS += -shared -version-info 0
+libmm_omxcore_la_LDFLAGS = -ldl -lrt -lpthread -lglib-2.0 -lcutils
+libmm_omxcore_la_LDFLAGS += -shared -avoid-version