comparison 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
comparison
equal deleted inserted replaced
487:099d6f26dc05 488:aebfb7c7de46
1 LOCAL_PATH:= $(call my-dir)
2 include $(CLEAR_VARS)
3
4 LOCAL_MODULE := MadButterfly
5 LOCAL_CONFIGURE := $(LOCAL_PATH)/../../configure
6 LOCAL_CONFIGURE_ARGS := --enable-skia
7 LOCAL_CFLAGS := -I$(shell pwd)/$(call include-path-for,corecg) \
8 -I$(shell pwd)/$(call include-path-for,corecg)/../effects/ \
9 -I$(shell pwd)/$(call include-path-for,frameworks-base)
10
11 include $(BUILD_AUTOCONF)
12
13 MB_INTERMEDIATES:=$(strip $(intermediates))
14
15 include $(CLEAR_VARS)
16
17 LOCAL_MODULE:= libmbfly
18 LOCAL_MODULE_SUFFIX:= .a
19 LOCAL_SRC_FILES:= $(MB_INTERMEDIATES)/build/src/.libs/libmbfly.a
20 LOCAL_MODULE_CLASS:= STATIC_LIBRARIES
21 LOCAL_REQUIRED_MODULES:= MadButterfly
22 LOCAL_COPY_HEADERS:= \
23 ../../src/include/mb_prop.h \
24 ../../src/include/mb_graph_engine.h \
25 ../../src/include/mb_redraw_man.h \
26 ../../src/include/mb.h \
27 ../../src/include/mb_graph_engine_cairo.h \
28 ../../src/include/mb_shapes.h \
29 ../../src/include/mb_X_supp.h \
30 ../../src/include/mb_graph_engine_skia.h \
31 ../../src/include/mb_so.h \
32 ../../src/include/mb_af.h \
33 ../../src/include/mb_img_ldr.h \
34 ../../src/include/mb_timer.h \
35 ../../src/include/mb_ani_menu.h \
36 ../../src/include/mb_obj.h \
37 ../../src/include/mb_tools.h \
38 ../../src/include/mb_animate.h \
39 ../../src/include/mb_observer.h \
40 ../../src/include/mb_types.h \
41 ../../src/include/mb_basic_types.h \
42 ../../src/include/mb_paint.h \
43 ../../src/include/mbbutton.h
44 LOCAL_COPY_HEADERS_TO:= libmbfly
45
46 include $(BUILD_DUMMY)
47
48 $(eval $(call copy-one-header,$(MB_INTERMEDIATES)/build/include/mb_config.h,$(TARGET_OUT_HEADERS)/$(LOCAL_COPY_HEADERS_TO)/mb_config.h))
49 all_copied_headers: $(TARGET_OUT_HEADERS)/$(LOCAL_COPY_HEADERS_TO)/mb_config.h
50
51 $(MB_INTERMEDIATES)/build/src/.libs/libmbfly.a: MadButterfly