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