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