Mercurial > MadButterfly
annotate Android/mb/Android.mk @ 648:e13dbfd37eab
JS binding generator and observer definition with the generator
author | Thinker K.F. Li <thinker@branda.to> |
---|---|
date | Thu, 29 Jul 2010 01:02:29 +0800 |
parents | ccc6bdc7e5a0 |
children |
rev | line source |
---|---|
488
aebfb7c7de46
Makefile to build libmbfly.a for Android.
Thinker K.F. Li <thinker@branda.to>
parents:
diff
changeset
|
1 LOCAL_PATH:= $(call my-dir) |
494
ebc431f2af70
Fix issue of replace realloc and malloc.
Thinker K.F. Li <thinker@branda.to>
parents:
488
diff
changeset
|
2 MB_LOCAL_PATH := $(LOCAL_PATH) |
488
aebfb7c7de46
Makefile to build libmbfly.a for Android.
Thinker K.F. Li <thinker@branda.to>
parents:
diff
changeset
|
3 include $(CLEAR_VARS) |
aebfb7c7de46
Makefile to build libmbfly.a for Android.
Thinker K.F. Li <thinker@branda.to>
parents:
diff
changeset
|
4 |
aebfb7c7de46
Makefile to build libmbfly.a for Android.
Thinker K.F. Li <thinker@branda.to>
parents:
diff
changeset
|
5 LOCAL_MODULE := MadButterfly |
aebfb7c7de46
Makefile to build libmbfly.a for Android.
Thinker K.F. Li <thinker@branda.to>
parents:
diff
changeset
|
6 LOCAL_CONFIGURE := $(LOCAL_PATH)/../../configure |
494
ebc431f2af70
Fix issue of replace realloc and malloc.
Thinker K.F. Li <thinker@branda.to>
parents:
488
diff
changeset
|
7 LOCAL_CONFIGURE_ARGS := --enable-skia --config-cache |
488
aebfb7c7de46
Makefile to build libmbfly.a for Android.
Thinker K.F. Li <thinker@branda.to>
parents:
diff
changeset
|
8 LOCAL_CFLAGS := -I$(shell pwd)/$(call include-path-for,corecg) \ |
aebfb7c7de46
Makefile to build libmbfly.a for Android.
Thinker K.F. Li <thinker@branda.to>
parents:
diff
changeset
|
9 -I$(shell pwd)/$(call include-path-for,corecg)/../effects/ \ |
515
ccc6bdc7e5a0
Add system/core/include as one of include pathes.
Thinker K.F. Li <thinker@branda.to>
parents:
510
diff
changeset
|
10 -I$(shell pwd)/$(call include-path-for,frameworks-base) \ |
ccc6bdc7e5a0
Add system/core/include as one of include pathes.
Thinker K.F. Li <thinker@branda.to>
parents:
510
diff
changeset
|
11 -I$(shell pwd)/$(call include-path-for,system-core) |
ccc6bdc7e5a0
Add system/core/include as one of include pathes.
Thinker K.F. Li <thinker@branda.to>
parents:
510
diff
changeset
|
12 # LOCAL_CFLAGS += -O0 -g |
494
ebc431f2af70
Fix issue of replace realloc and malloc.
Thinker K.F. Li <thinker@branda.to>
parents:
488
diff
changeset
|
13 LOCAL_CONFIGURE_CACHE := config.cache |
488
aebfb7c7de46
Makefile to build libmbfly.a for Android.
Thinker K.F. Li <thinker@branda.to>
parents:
diff
changeset
|
14 |
aebfb7c7de46
Makefile to build libmbfly.a for Android.
Thinker K.F. Li <thinker@branda.to>
parents:
diff
changeset
|
15 include $(BUILD_AUTOCONF) |
aebfb7c7de46
Makefile to build libmbfly.a for Android.
Thinker K.F. Li <thinker@branda.to>
parents:
diff
changeset
|
16 |
aebfb7c7de46
Makefile to build libmbfly.a for Android.
Thinker K.F. Li <thinker@branda.to>
parents:
diff
changeset
|
17 MB_INTERMEDIATES:=$(strip $(intermediates)) |
aebfb7c7de46
Makefile to build libmbfly.a for Android.
Thinker K.F. Li <thinker@branda.to>
parents:
diff
changeset
|
18 |
494
ebc431f2af70
Fix issue of replace realloc and malloc.
Thinker K.F. Li <thinker@branda.to>
parents:
488
diff
changeset
|
19 $(LOCAL_BUILT_MODULE): $(MB_INTERMEDIATES)/build/config.cache |
ebc431f2af70
Fix issue of replace realloc and malloc.
Thinker K.F. Li <thinker@branda.to>
parents:
488
diff
changeset
|
20 |
ebc431f2af70
Fix issue of replace realloc and malloc.
Thinker K.F. Li <thinker@branda.to>
parents:
488
diff
changeset
|
21 $(MB_INTERMEDIATES)/build/config.cache: |
ebc431f2af70
Fix issue of replace realloc and malloc.
Thinker K.F. Li <thinker@branda.to>
parents:
488
diff
changeset
|
22 $(hide) mkdir -p $(MB_INTERMEDIATES)/build/; |
ebc431f2af70
Fix issue of replace realloc and malloc.
Thinker K.F. Li <thinker@branda.to>
parents:
488
diff
changeset
|
23 cp $(strip $(MB_LOCAL_PATH))/config.cache $(MB_INTERMEDIATES)/build/ |
ebc431f2af70
Fix issue of replace realloc and malloc.
Thinker K.F. Li <thinker@branda.to>
parents:
488
diff
changeset
|
24 |
488
aebfb7c7de46
Makefile to build libmbfly.a for Android.
Thinker K.F. Li <thinker@branda.to>
parents:
diff
changeset
|
25 include $(CLEAR_VARS) |
aebfb7c7de46
Makefile to build libmbfly.a for Android.
Thinker K.F. Li <thinker@branda.to>
parents:
diff
changeset
|
26 |
aebfb7c7de46
Makefile to build libmbfly.a for Android.
Thinker K.F. Li <thinker@branda.to>
parents:
diff
changeset
|
27 LOCAL_MODULE:= libmbfly |
aebfb7c7de46
Makefile to build libmbfly.a for Android.
Thinker K.F. Li <thinker@branda.to>
parents:
diff
changeset
|
28 LOCAL_MODULE_SUFFIX:= .a |
aebfb7c7de46
Makefile to build libmbfly.a for Android.
Thinker K.F. Li <thinker@branda.to>
parents:
diff
changeset
|
29 LOCAL_SRC_FILES:= $(MB_INTERMEDIATES)/build/src/.libs/libmbfly.a |
aebfb7c7de46
Makefile to build libmbfly.a for Android.
Thinker K.F. Li <thinker@branda.to>
parents:
diff
changeset
|
30 LOCAL_MODULE_CLASS:= STATIC_LIBRARIES |
aebfb7c7de46
Makefile to build libmbfly.a for Android.
Thinker K.F. Li <thinker@branda.to>
parents:
diff
changeset
|
31 LOCAL_REQUIRED_MODULES:= MadButterfly |
aebfb7c7de46
Makefile to build libmbfly.a for Android.
Thinker K.F. Li <thinker@branda.to>
parents:
diff
changeset
|
32 LOCAL_COPY_HEADERS:= \ |
498
6fc6061fff58
Fix path of header files
Thinker K.F. Li <thinker@branda.to>
parents:
494
diff
changeset
|
33 ../../include/mb_prop.h \ |
6fc6061fff58
Fix path of header files
Thinker K.F. Li <thinker@branda.to>
parents:
494
diff
changeset
|
34 ../../include/mb_graph_engine.h \ |
6fc6061fff58
Fix path of header files
Thinker K.F. Li <thinker@branda.to>
parents:
494
diff
changeset
|
35 ../../include/mb_redraw_man.h \ |
6fc6061fff58
Fix path of header files
Thinker K.F. Li <thinker@branda.to>
parents:
494
diff
changeset
|
36 ../../include/mb.h \ |
6fc6061fff58
Fix path of header files
Thinker K.F. Li <thinker@branda.to>
parents:
494
diff
changeset
|
37 ../../include/mb_graph_engine_cairo.h \ |
6fc6061fff58
Fix path of header files
Thinker K.F. Li <thinker@branda.to>
parents:
494
diff
changeset
|
38 ../../include/mb_shapes.h \ |
6fc6061fff58
Fix path of header files
Thinker K.F. Li <thinker@branda.to>
parents:
494
diff
changeset
|
39 ../../include/mb_X_supp.h \ |
6fc6061fff58
Fix path of header files
Thinker K.F. Li <thinker@branda.to>
parents:
494
diff
changeset
|
40 ../../include/mb_graph_engine_skia.h \ |
6fc6061fff58
Fix path of header files
Thinker K.F. Li <thinker@branda.to>
parents:
494
diff
changeset
|
41 ../../include/mb_so.h \ |
6fc6061fff58
Fix path of header files
Thinker K.F. Li <thinker@branda.to>
parents:
494
diff
changeset
|
42 ../../include/mb_af.h \ |
6fc6061fff58
Fix path of header files
Thinker K.F. Li <thinker@branda.to>
parents:
494
diff
changeset
|
43 ../../include/mb_img_ldr.h \ |
6fc6061fff58
Fix path of header files
Thinker K.F. Li <thinker@branda.to>
parents:
494
diff
changeset
|
44 ../../include/mb_timer.h \ |
6fc6061fff58
Fix path of header files
Thinker K.F. Li <thinker@branda.to>
parents:
494
diff
changeset
|
45 ../../include/mb_ani_menu.h \ |
6fc6061fff58
Fix path of header files
Thinker K.F. Li <thinker@branda.to>
parents:
494
diff
changeset
|
46 ../../include/mb_obj.h \ |
6fc6061fff58
Fix path of header files
Thinker K.F. Li <thinker@branda.to>
parents:
494
diff
changeset
|
47 ../../include/mb_tools.h \ |
6fc6061fff58
Fix path of header files
Thinker K.F. Li <thinker@branda.to>
parents:
494
diff
changeset
|
48 ../../include/mb_animate.h \ |
6fc6061fff58
Fix path of header files
Thinker K.F. Li <thinker@branda.to>
parents:
494
diff
changeset
|
49 ../../include/mb_observer.h \ |
6fc6061fff58
Fix path of header files
Thinker K.F. Li <thinker@branda.to>
parents:
494
diff
changeset
|
50 ../../include/mb_types.h \ |
6fc6061fff58
Fix path of header files
Thinker K.F. Li <thinker@branda.to>
parents:
494
diff
changeset
|
51 ../../include/mb_basic_types.h \ |
6fc6061fff58
Fix path of header files
Thinker K.F. Li <thinker@branda.to>
parents:
494
diff
changeset
|
52 ../../include/mb_paint.h \ |
6fc6061fff58
Fix path of header files
Thinker K.F. Li <thinker@branda.to>
parents:
494
diff
changeset
|
53 ../../include/mbbutton.h |
488
aebfb7c7de46
Makefile to build libmbfly.a for Android.
Thinker K.F. Li <thinker@branda.to>
parents:
diff
changeset
|
54 LOCAL_COPY_HEADERS_TO:= libmbfly |
aebfb7c7de46
Makefile to build libmbfly.a for Android.
Thinker K.F. Li <thinker@branda.to>
parents:
diff
changeset
|
55 |
aebfb7c7de46
Makefile to build libmbfly.a for Android.
Thinker K.F. Li <thinker@branda.to>
parents:
diff
changeset
|
56 include $(BUILD_DUMMY) |
aebfb7c7de46
Makefile to build libmbfly.a for Android.
Thinker K.F. Li <thinker@branda.to>
parents:
diff
changeset
|
57 |
510
371d88fc655f
Make mb_config.h depends on MadButterfly.
Thinker K.F. Li <thinker@branda.to>
parents:
498
diff
changeset
|
58 MB_LOCAL_COPY_HEADERS_TO:= $(LOCAL_COPY_HEADERS_TO) |
371d88fc655f
Make mb_config.h depends on MadButterfly.
Thinker K.F. Li <thinker@branda.to>
parents:
498
diff
changeset
|
59 $(eval $(call copy-one-header,$(MB_INTERMEDIATES)/build/include/mb_config.h,$(TARGET_OUT_HEADERS)/$(MB_LOCAL_COPY_HEADERS_TO)/mb_config.h)) |
371d88fc655f
Make mb_config.h depends on MadButterfly.
Thinker K.F. Li <thinker@branda.to>
parents:
498
diff
changeset
|
60 all_copied_headers: $(TARGET_OUT_HEADERS)/$(MB_LOCAL_COPY_HEADERS_TO)/mb_config.h |
488
aebfb7c7de46
Makefile to build libmbfly.a for Android.
Thinker K.F. Li <thinker@branda.to>
parents:
diff
changeset
|
61 |
aebfb7c7de46
Makefile to build libmbfly.a for Android.
Thinker K.F. Li <thinker@branda.to>
parents:
diff
changeset
|
62 $(MB_INTERMEDIATES)/build/src/.libs/libmbfly.a: MadButterfly |
510
371d88fc655f
Make mb_config.h depends on MadButterfly.
Thinker K.F. Li <thinker@branda.to>
parents:
498
diff
changeset
|
63 $(MB_INTERMEDIATES)/build/include/mb_config.h: MadButterfly |