blob: 96dfff9ce643358f58c9674fd118a53a65870bac (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
LOCAL_PATH:= $(call my-dir)
llvm_link_SRC_FILES := \
llvm-link.cpp
llvm_link_STATIC_LIBRARIES := \
libLLVMLinker \
libLLVMBitReader \
libLLVMBitWriter \
libLLVMAsmParser \
libLLVMTransformUtils \
libLLVMAnalysis \
libLLVMTarget \
libLLVMCore \
libLLVMSupport
#===---------------------------------------------------------------===
# llvm-link command line tool (host)
#===---------------------------------------------------------------===
include $(CLEAR_VARS)
LOCAL_MODULE := llvm-link
LOCAL_MODULE_TAGS := optional
LOCAL_SRC_FILES := $(llvm_link_SRC_FILES)
LOCAL_STATIC_LIBRARIES := $(llvm_link_STATIC_LIBRARIES)
LOCAL_LDLIBS += -lpthread -lm -ldl
include $(LLVM_HOST_BUILD_MK)
include $(BUILD_HOST_EXECUTABLE)
#===---------------------------------------------------------------===
# llvm-link command line tool (target)
#===---------------------------------------------------------------===
include $(CLEAR_VARS)
LOCAL_MODULE := llvm-link
LOCAL_MODULE_TAGS := optional
LOCAL_SRC_FILES := $(llvm_link_SRC_FILES)
LOCAL_STATIC_LIBRARIES := $(llvm_link_STATIC_LIBRARIES)
LOCAL_SHARED_LIBRARIES := \
libstlport
include $(LLVM_DEVICE_BUILD_MK)
include $(BUILD_EXECUTABLE)
|