view Android/mb/Android.mk @ 1127:baf4c4d48cff

Fix issue of passing EGLSurface with mbe_surface_t for OpenVG
author Thinker K.F. Li <thinker@codemud.net>
date Tue, 14 Dec 2010 11:04:56 +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