# HG changeset patch # User Thinker K.F. Li # Date 1258885457 -28800 # Node ID aebfb7c7de4698d5a98d423273124da1d27882a5 # Parent 099d6f26dc0534917d46a4433a505f47375f48d2 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. diff -r 099d6f26dc05 -r aebfb7c7de46 Android/mb/Android.mk --- /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