OSDN Git Service

c1250d070a774909bedb19228d3bb725869110cc
[android-x86/external-llvm.git] / lib / CodeGen / AsmPrinter / Android.mk
1 LOCAL_PATH := $(call my-dir)
2
3 codegen_asmprinter_SRC_FILES := \
4   AddressPool.cpp \
5   ARMException.cpp \
6   AsmPrinter.cpp \
7   AsmPrinterDwarf.cpp \
8   AsmPrinterInlineAsm.cpp \
9   DbgValueHistoryCalculator.cpp \
10   DIE.cpp \
11   DIEHash.cpp \
12   DwarfAccelTable.cpp \
13   DwarfCFIException.cpp \
14   DwarfCompileUnit.cpp \
15   DwarfDebug.cpp \
16   DwarfExpression.cpp \
17   DwarfFile.cpp \
18   DwarfStringPool.cpp \
19   DwarfUnit.cpp \
20   EHStreamer.cpp \
21   ErlangGCPrinter.cpp \
22   OcamlGCPrinter.cpp \
23   WinException.cpp \
24   WinCodeViewLineTables.cpp
25
26
27
28 # For the host
29 # =====================================================
30 include $(CLEAR_VARS)
31
32 LOCAL_SRC_FILES := $(codegen_asmprinter_SRC_FILES)
33 LOCAL_MODULE:= libLLVMAsmPrinter
34
35 LOCAL_MODULE_TAGS := optional
36
37 include $(LLVM_HOST_BUILD_MK)
38 include $(LLVM_GEN_INTRINSICS_MK)
39 include $(BUILD_HOST_STATIC_LIBRARY)
40
41 # For the device
42 # =====================================================
43 ifneq (true,$(DISABLE_LLVM_DEVICE_BUILDS))
44 include $(CLEAR_VARS)
45
46 LOCAL_SRC_FILES := $(codegen_asmprinter_SRC_FILES)
47 LOCAL_MODULE:= libLLVMAsmPrinter
48
49 LOCAL_MODULE_TAGS := optional
50
51 include $(LLVM_DEVICE_BUILD_MK)
52 include $(LLVM_GEN_INTRINSICS_MK)
53 include $(BUILD_STATIC_LIBRARY)
54 endif