diff Android/mb/Android.mk @ 488:aebfb7c7de46 Android_Skia

Makefile to build libmbfly.a for Android. This makefile require apply changeset, from autoconf-support branch at git@gitorious.org:~thinkeryzu/freebroid/thinkeryzus-build.git, to Android build system.
author Thinker K.F. Li <thinker@branda.to>
date Sun, 22 Nov 2009 18:24:17 +0800
parents
children ebc431f2af70
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Android/mb/Android.mk	Sun Nov 22 18:24:17 2009 +0800
@@ -0,0 +1,51 @@
+LOCAL_PATH:= $(call my-dir)
+include $(CLEAR_VARS)
+
+LOCAL_MODULE := MadButterfly
+LOCAL_CONFIGURE := $(LOCAL_PATH)/../../configure
+LOCAL_CONFIGURE_ARGS := --enable-skia
+LOCAL_CFLAGS := -I$(shell pwd)/$(call include-path-for,corecg) \
+	-I$(shell pwd)/$(call include-path-for,corecg)/../effects/ \
+	-I$(shell pwd)/$(call include-path-for,frameworks-base)
+
+include $(BUILD_AUTOCONF)
+
+MB_INTERMEDIATES:=$(strip $(intermediates))
+
+include $(CLEAR_VARS)
+
+LOCAL_MODULE:= libmbfly
+LOCAL_MODULE_SUFFIX:= .a
+LOCAL_SRC_FILES:= $(MB_INTERMEDIATES)/build/src/.libs/libmbfly.a
+LOCAL_MODULE_CLASS:= STATIC_LIBRARIES
+LOCAL_REQUIRED_MODULES:= MadButterfly
+LOCAL_COPY_HEADERS:= \
+		../../src/include/mb_prop.h \
+		../../src/include/mb_graph_engine.h \
+		../../src/include/mb_redraw_man.h \
+		../../src/include/mb.h \
+		../../src/include/mb_graph_engine_cairo.h \
+		../../src/include/mb_shapes.h \
+		../../src/include/mb_X_supp.h \
+		../../src/include/mb_graph_engine_skia.h \
+		../../src/include/mb_so.h \
+		../../src/include/mb_af.h \
+		../../src/include/mb_img_ldr.h \
+		../../src/include/mb_timer.h \
+		../../src/include/mb_ani_menu.h \
+		../../src/include/mb_obj.h \
+		../../src/include/mb_tools.h \
+		../../src/include/mb_animate.h \
+		../../src/include/mb_observer.h \
+		../../src/include/mb_types.h \
+		../../src/include/mb_basic_types.h \
+		../../src/include/mb_paint.h \
+		../../src/include/mbbutton.h
+LOCAL_COPY_HEADERS_TO:= libmbfly
+
+include $(BUILD_DUMMY)
+
+$(eval $(call copy-one-header,$(MB_INTERMEDIATES)/build/include/mb_config.h,$(TARGET_OUT_HEADERS)/$(LOCAL_COPY_HEADERS_TO)/mb_config.h))
+all_copied_headers: $(TARGET_OUT_HEADERS)/$(LOCAL_COPY_HEADERS_TO)/mb_config.h
+
+$(MB_INTERMEDIATES)/build/src/.libs/libmbfly.a: MadButterfly