The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 1 | ########################################################### |
| 2 | ## Standard rules for building an executable file. |
| 3 | ## |
| 4 | ## Additional inputs from base_rules.make: |
| 5 | ## None. |
| 6 | ########################################################### |
| 7 | |
| 8 | LOCAL_IS_HOST_MODULE := true |
| 9 | ifeq ($(strip $(LOCAL_MODULE_CLASS)),) |
| 10 | LOCAL_MODULE_CLASS := EXECUTABLES |
| 11 | endif |
| 12 | ifeq ($(strip $(LOCAL_MODULE_SUFFIX)),) |
| 13 | LOCAL_MODULE_SUFFIX := $(HOST_EXECUTABLE_SUFFIX) |
| 14 | endif |
| 15 | |
| 16 | include $(BUILD_SYSTEM)/binary.mk |
| 17 | |
| 18 | $(LOCAL_BUILT_MODULE): $(all_objects) $(all_libraries) |
| 19 | $(transform-host-o-to-executable) |
| 20 | $(PRIVATE_POST_PROCESS_COMMAND) |