1 LOCAL_PATH := $(call my-dir) 2 3 LLVM_ROOT_PATH := $(LOCAL_PATH)/../../../ 4 5 6 #===---------------------------------------------------------------=== 7 # lli-child-target command line tool 8 #===---------------------------------------------------------------=== 9 10 lli_child_target_SRC_FILES := \ 11 ChildTarget.cpp \ 12 ../RemoteTarget.cpp 13 14 include $(CLEAR_VARS) 15 16 LOCAL_MODULE := lli-child-target 17 LOCAL_MODULE_TAGS := optional 18 LOCAL_MODULE_CLASS := EXECUTABLES 19 LOCAL_IS_HOST_MODULE := true 20 21 LOCAL_SRC_FILES := $(lli_child_target_SRC_FILES) 22 23 LOCAL_STATIC_LIBRARIES := \ 24 libLLVMSupport 25 26 LOCAL_LDLIBS += -lpthread -lm -ldl 27 28 include $(LLVM_ROOT_PATH)/llvm.mk 29 include $(LLVM_HOST_BUILD_MK) 30 include $(LLVM_GEN_INTRINSICS_MK) 31 include $(BUILD_HOST_EXECUTABLE) 32