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