1 LOCAL_PATH := $(call my-dir) 2 3 LLVM_ROOT_PATH := $(LOCAL_PATH)/../.. 4 5 6 #===---------------------------------------------------------------=== 7 # count command line tool 8 #===---------------------------------------------------------------=== 9 10 count_SRC_FILES := \ 11 count.c 12 13 include $(CLEAR_VARS) 14 15 LOCAL_MODULE := count 16 LOCAL_MODULE_TAGS := optional 17 LOCAL_MODULE_CLASS := EXECUTABLES 18 LOCAL_IS_HOST_MODULE := true 19 20 LOCAL_SRC_FILES := $(count_SRC_FILES) 21 22 LOCAL_LDLIBS += -lpthread -lm -ldl 23 24 include $(LLVM_ROOT_PATH)/llvm.mk 25 include $(LLVM_HOST_BUILD_MK) 26 include $(BUILD_HOST_EXECUTABLE) 27