summaryrefslogtreecommitdiffstats
path: root/lib/MC/Android.mk
blob: a2dc85a9b1cc510398123abcce85c2b49a083dc8 (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
47
LOCAL_PATH:= $(call my-dir)

mc_SRC_FILES :=	\
	MachObjectWriter.cpp	\
	MCAsmInfo.cpp	\
	MCAsmInfoCOFF.cpp	\
	MCAsmInfoDarwin.cpp	\
	MCAsmStreamer.cpp	\
	MCAssembler.cpp	\
	MCCodeEmitter.cpp	\
	MCContext.cpp	\
	MCDisassembler.cpp	\
	MCExpr.cpp	\
	MCInst.cpp	\
	MCInstPrinter.cpp	\
	MCMachOStreamer.cpp	\
	MCNullStreamer.cpp	\
	MCObjectWriter.cpp	\
	MCSection.cpp	\
	MCSectionELF.cpp	\
	MCSectionMachO.cpp	\
	MCStreamer.cpp	\
	MCSymbol.cpp	\
	MCValue.cpp	\
	TargetAsmBackend.cpp

# For the host
# =====================================================
include $(CLEAR_VARS)

LOCAL_SRC_FILES := $(mc_SRC_FILES)

LOCAL_MODULE:= libLLVMMC

include $(LLVM_HOST_BUILD_MK)
include $(BUILD_HOST_STATIC_LIBRARY)

# For the device
# =====================================================
include $(CLEAR_VARS)

LOCAL_SRC_FILES := $(mc_SRC_FILES)

LOCAL_MODULE:= libLLVMMC

include $(LLVM_DEVICE_BUILD_MK)
include $(BUILD_STATIC_LIBRARY)