The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 1 | ########################################################### |
| 2 | ## Standard rules for building a static library. |
| 3 | ## |
| 4 | ## Additional inputs from base_rules.make: |
| 5 | ## None. |
| 6 | ## |
| 7 | ## LOCAL_MODULE_SUFFIX will be set for you. |
| 8 | ########################################################### |
| 9 | |
| 10 | LOCAL_IS_HOST_MODULE := true |
| 11 | |
| 12 | ifeq ($(strip $(LOCAL_MODULE_CLASS)),) |
| 13 | LOCAL_MODULE_CLASS := STATIC_LIBRARIES |
| 14 | endif |
| 15 | ifeq ($(strip $(LOCAL_MODULE_SUFFIX)),) |
| 16 | LOCAL_MODULE_SUFFIX := .a |
| 17 | endif |
| 18 | LOCAL_UNINSTALLABLE_MODULE := true |
| 19 | |
| 20 | include $(BUILD_SYSTEM)/binary.mk |
| 21 | |
| 22 | $(LOCAL_BUILT_MODULE): $(all_objects) |
| 23 | $(transform-host-o-to-static-lib) |