[go: nahoru, domu]

mm-core: Add Makefile and Configure files

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

Change-Id: I94c714d124594627ce6b61ad4a507d1718e3eee1
diff --git a/Makefile.am b/Makefile.am
index aa14ba8..4315263 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -2,4 +2,10 @@
 #
 ACLOCAL_AMFLAGS = -I m4
 
-SUBDIRS = mm-core mm-video-v4l2
\ No newline at end of file
+BUILD_COMPONENTS := mm-core
+
+if BUILD_MM_VIDEO
+BUILD_COMPONENTS += mm-video-v4l2
+endif
+
+SUBDIRS := $(BUILD_COMPONENTS)