Mercurial > MadButterfly
view Android/mb/Android.mk @ 509:3e0d63d7c7ae Android_Skia
Remove absolute pathes from config.cache.
Absolute pathes in config.cache would be the source of problems when
the source tree of Android is different from what is in config.cache.
So, these cached values are removed and re-computed when running
configure.
author | Thinker K.F. Li <thinker@branda.to> |
---|---|
date | Tue, 01 Dec 2009 22:55:27 +0800 |
parents | 6fc6061fff58 |
children | 371d88fc655f |
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) 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) $(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