1 LOCAL_PATH := $(call my-dir)
3 LLVM_ROOT_PATH := $(LOCAL_PATH)/../..
6 #===---------------------------------------------------------------===
7 # bugpoint command line tool
8 #===---------------------------------------------------------------===
10 bugpoint_SRC_FILES := \
21 bugpoint_STATIC_LIBRARIES := \
30 libLLVMInstrumentation \
32 libLLVMTransformObjCARC \
39 libLLVMTransformUtils \
45 LOCAL_MODULE := bugpoint
46 LOCAL_MODULE_TAGS := optional
47 LOCAL_MODULE_CLASS := EXECUTABLES
48 LOCAL_IS_HOST_MODULE := true
50 LOCAL_SRC_FILES := $(bugpoint_SRC_FILES)
52 LOCAL_STATIC_LIBRARIES := $(bugpoint_STATIC_LIBRARIES)
54 LOCAL_LDLIBS += -lpthread -lm -ldl
55 LOCAL_LDFLAGS += -Wl,--export-dynamic
57 include $(LLVM_ROOT_PATH)/llvm.mk
58 include $(LLVM_HOST_BUILD_MK)
59 include $(LLVM_GEN_INTRINSICS_MK)
60 include $(BUILD_HOST_EXECUTABLE)