diff options
author | Stephen Hines <srhines@google.com> | 2012-02-24 20:12:52 -0800 |
---|---|---|
committer | Stephen Hines <srhines@google.com> | 2012-02-24 20:12:52 -0800 |
commit | eeadbf034b24be2d902b9b6e2950a6e24145e587 (patch) | |
tree | a3fe649e263090c10e6dcca994137f2914d85ccf /tools/llvm-dis/Android.mk | |
parent | 76284d535a1b405dbaaf0fb6ef40fc55614157e5 (diff) | |
download | external_llvm-eeadbf034b24be2d902b9b6e2950a6e24145e587.zip external_llvm-eeadbf034b24be2d902b9b6e2950a6e24145e587.tar.gz external_llvm-eeadbf034b24be2d902b9b6e2950a6e24145e587.tar.bz2 |
Add support for llvm-as/llvm-dis to build.
Change-Id: I07e590203afaaf0d7cbe4fa23d71fa6a3dc470af
Diffstat (limited to 'tools/llvm-dis/Android.mk')
-rw-r--r-- | tools/llvm-dis/Android.mk | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/tools/llvm-dis/Android.mk b/tools/llvm-dis/Android.mk new file mode 100644 index 0000000..22d44fd --- /dev/null +++ b/tools/llvm-dis/Android.mk @@ -0,0 +1,25 @@ +LOCAL_PATH:= $(call my-dir) + +llvm_dis_SRC_FILES := \ + llvm-dis.cpp + +include $(CLEAR_VARS) + +LOCAL_MODULE := llvm-dis +LOCAL_MODULE_CLASS := EXECUTABLES +LOCAL_MODULE_TAGS := optional +LOCAL_SRC_FILES := $(llvm_dis_SRC_FILES) +LOCAL_LDLIBS += -lpthread -lm -ldl + +REQUIRES_EH := 1 +REQUIRES_RTTI := 1 + +LOCAL_STATIC_LIBRARIES := \ + libLLVMAnalysis \ + libLLVMBitReader \ + libLLVMCore \ + libLLVMSupport + +include $(LLVM_HOST_BUILD_MK) +include $(LLVM_GEN_INTRINSICS_MK) +include $(BUILD_HOST_EXECUTABLE) |