view Android/mb/Android.mk @ 1381:9a585df24e52

Consider the width and height attribute for the rect elements. The inkscape will change the width and height directly without using transform when we resize the rectangle.
author wycc
date Wed, 23 Mar 2011 23:02:36 +0800
parents ccc6bdc7e5a0
children
line wrap: on
line source

LOCAL_PATH:= $(call my-dir)
MB_LOCAL_PATH := $(LOCAL_PATH)
include $(CLEAR_VARS)

LOCAL_MODULE := MadButterfly
LOCAL_CONFIGURE := $(LOCAL_PATH)/../../configure
LOCAL_CONFIGURE_ARGS := --enable-skia --config-cache
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) \
	-I$(shell pwd)/$(call include-path-for,system-core)
# LOCAL_CFLAGS += -O0 -g
LOCAL_CONFIGURE_CACHE := config.cache

include $(BUILD_AUTOCONF)

MB_INTERMEDIATES:=$(strip $(intermediates))

$(LOCAL_BUILT_MODULE): $(MB_INTERMEDIATES)/build/config.cache

$(MB_INTERMEDIATES)/build/config.cache:
	$(hide) mkdir -p $(MB_INTERMEDIATES)/build/;
	cp $(strip $(MB_LOCAL_PATH))/config.cache $(MB_INTERMEDIATES)/build/

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:= \
		../../include/mb_prop.h \
		../../include/mb_graph_engine.h \
		../../include/mb_redraw_man.h \
		../../include/mb.h \
		../../include/mb_graph_engine_cairo.h \
		../../include/mb_shapes.h \
		../../include/mb_X_supp.h \
		../../include/mb_graph_engine_skia.h \
		../../include/mb_so.h \
		../../include/mb_af.h \
		../../include/mb_img_ldr.h \
		../../include/mb_timer.h \
		../../include/mb_ani_menu.h \
		../../include/mb_obj.h \
		../../include/mb_tools.h \
		../../include/mb_animate.h \
		../../include/mb_observer.h \
		../../include/mb_types.h \
		../../include/mb_basic_types.h \
		../../include/mb_paint.h \
		../../include/mbbutton.h
LOCAL_COPY_HEADERS_TO:= libmbfly

include $(BUILD_DUMMY)

MB_LOCAL_COPY_HEADERS_TO:= $(LOCAL_COPY_HEADERS_TO)
$(eval $(call copy-one-header,$(MB_INTERMEDIATES)/build/include/mb_config.h,$(TARGET_OUT_HEADERS)/$(MB_LOCAL_COPY_HEADERS_TO)/mb_config.h))
all_copied_headers: $(TARGET_OUT_HEADERS)/$(MB_LOCAL_COPY_HEADERS_TO)/mb_config.h

$(MB_INTERMEDIATES)/build/src/.libs/libmbfly.a: MadButterfly
$(MB_INTERMEDIATES)/build/include/mb_config.h: MadButterfly