OSDN Git Service

Merge with LLVM upstream r145126 (Nov 25th 2011)
[android-x86/external-llvm.git] / tools / llvm-as / Android.mk
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 += -lpthread -lm -ldl
12
13 REQUIRES_EH := 1
14 REQUIRES_RTTI := 1
15
16 LOCAL_STATIC_LIBRARIES := \
17   libLLVMAsmParser \
18   libLLVMBitWriter \
19   libLLVMCore \
20   libLLVMSupport
21
22 include $(LLVM_HOST_BUILD_MK)
23 include $(BUILD_HOST_EXECUTABLE)