• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1LOCAL_PATH := $(call my-dir)
2
3LLVM_ROOT_PATH := $(LOCAL_PATH)/../..
4
5
6#===---------------------------------------------------------------===
7# llvm-mcmarkup command line tool
8#===---------------------------------------------------------------===
9
10llvm_mcmarkup_SRC_FILES := \
11  llvm-mcmarkup.cpp
12
13llvm_mcmarkup_STATIC_LIBRARIES := \
14  libLLVMCore \
15  libLLVMSupport \
16
17include $(CLEAR_VARS)
18
19LOCAL_MODULE := llvm-mcmarkup
20LOCAL_MODULE_TAGS := optional
21LOCAL_MODULE_CLASS := EXECUTABLES
22LOCAL_IS_HOST_MODULE := true
23
24LOCAL_SRC_FILES := $(llvm_mcmarkup_SRC_FILES)
25
26LOCAL_STATIC_LIBRARIES := $(llvm_mcmarkup_STATIC_LIBRARIES)
27
28LOCAL_LDLIBS += -lpthread -lm -ldl
29
30include $(LLVM_ROOT_PATH)/llvm.mk
31include $(LLVM_HOST_BUILD_MK)
32include $(LLVM_GEN_INTRINSICS_MK)
33include $(BUILD_HOST_EXECUTABLE)
34