Android.mk revision 373aa5c665fe6df6b9c5586d397dc3617f25aab5
1LOCAL_PATH := $(call my-dir)
2
3object_SRC_FILES := \
4  Archive.cpp \
5  Binary.cpp \
6  COFFObjectFile.cpp \
7  ELF.cpp \
8  ELFObjectFile.cpp \
9  Error.cpp \
10  MachOObjectFile.cpp \
11  MachOUniversal.cpp \
12  Object.cpp \
13  ObjectFile.cpp
14
15
16# For the host
17# =====================================================
18include $(CLEAR_VARS)
19include $(CLEAR_TBLGEN_VARS)
20
21LOCAL_MODULE:= libLLVMObject
22LOCAL_MODULE_TAGS := optional
23
24LOCAL_SRC_FILES := $(object_SRC_FILES)
25
26include $(LLVM_HOST_BUILD_MK)
27include $(LLVM_GEN_INTRINSICS_MK)
28include $(BUILD_HOST_STATIC_LIBRARY)
29
30# For the device only
31# =====================================================
32include $(CLEAR_VARS)
33
34LOCAL_MODULE:= libLLVMObject
35LOCAL_MODULE_TAGS := optional
36
37LOCAL_SRC_FILES := $(object_SRC_FILES)
38
39include $(LLVM_DEVICE_BUILD_MK)
40include $(LLVM_GEN_INTRINSICS_MK)
41include $(BUILD_STATIC_LIBRARY)
42