1LOCAL_PATH := $(call my-dir) 2 3LLVM_ROOT_PATH := $(LOCAL_PATH)/../.. 4include $(LLVM_ROOT_PATH)/llvm.mk 5 6bugpoint_passes_SRC_FILES := \ 7 TestPasses.cpp 8 9# BugpointPasses module for the host 10# ===================================================== 11include $(CLEAR_VARS) 12 13LOCAL_SRC_FILES := $(bugpoint_passes_SRC_FILES) 14LOCAL_MODULE := BugpointPasses 15 16LOCAL_MODULE_CLASS := SHARED_LIBRARIES # needed for tblgen 17LOCAL_LDFLAGS_darwin := -Wl,-undefined -Wl,dynamic_lookup 18 19include $(LLVM_HOST_BUILD_MK) 20include $(LLVM_GEN_ATTRIBUTES_MK) 21include $(LLVM_GEN_INTRINSICS_MK) 22include $(BUILD_HOST_SHARED_LIBRARY) 23