1 LOCAL_PATH:= $(call my-dir) 2 3 llvm_as_SRC_FILES := \ 4 llvm-as.cpp 5 6 include $(CLEAR_VARS) 7 8 LOCAL_MODULE := llvm-as 9 LOCAL_MODULE_TAGS := optional 10 LOCAL_SRC_FILES := $(llvm_as_SRC_FILES) 11 LOCAL_LDLIBS += -lm 12 ifdef USE_MINGW 13 LOCAL_LDLIBS += -limagehlp 14 else 15 LOCAL_LDLIBS += -lpthread -ldl 16 endif 17 18 REQUIRES_EH := 1 19 REQUIRES_RTTI := 1 20 21 LOCAL_STATIC_LIBRARIES := \ 22 libLLVMAsmParser \ 23 libLLVMBitWriter \ 24 libLLVMCore \ 25 libLLVMSupport 26 27 include $(LLVM_HOST_BUILD_MK) 28 include $(BUILD_HOST_EXECUTABLE) 29