blob: 39c99ee88dc18596f29e6bdf330fb12d6d64dea8 [file] [log] [blame]
The Android Open Source Project88b60792009-03-03 19:28:42 -08001###########################################################
Dan Bornstein6bffc912009-10-15 13:01:36 -07002## Standard rules for building a static library for the host.
The Android Open Source Project88b60792009-03-03 19:28:42 -08003##
4## Additional inputs from base_rules.make:
5## None.
6##
7## LOCAL_MODULE_SUFFIX will be set for you.
8###########################################################
9
The Android Open Source Project88b60792009-03-03 19:28:42 -080010ifeq ($(strip $(LOCAL_MODULE_CLASS)),)
11LOCAL_MODULE_CLASS := STATIC_LIBRARIES
12endif
13ifeq ($(strip $(LOCAL_MODULE_SUFFIX)),)
14LOCAL_MODULE_SUFFIX := .a
15endif
16LOCAL_UNINSTALLABLE_MODULE := true
17
Dan Bornstein6bffc912009-10-15 13:01:36 -070018LOCAL_IS_HOST_MODULE := true
19
The Android Open Source Project88b60792009-03-03 19:28:42 -080020include $(BUILD_SYSTEM)/binary.mk
21
Dan Bornstein6bffc912009-10-15 13:01:36 -070022$(LOCAL_BUILT_MODULE): $(built_whole_libraries)
The Android Open Source Project88b60792009-03-03 19:28:42 -080023$(LOCAL_BUILT_MODULE): $(all_objects)
24 $(transform-host-o-to-static-lib)