OSDN Git Service

Fix llvm.mk and the other 49 mk files
[android-x86/external-llvm.git] / lib / Target / X86 / AsmPrinter / Android.mk
1 # Only use this on the device or emulator.
2 ifneq ($(TARGET_ARCH),arm)
3
4 LOCAL_PATH := $(call my-dir)
5
6 # For the device only
7 # =====================================================
8 include $(CLEAR_VARS)
9 include $(CLEAR_TBLGEN_VARS)
10
11 TBLGEN_TABLES :=        \
12         X86GenAsmWriter.inc     \
13         X86GenAsmWriter1.inc    \
14         X86GenInstrNames.inc    \
15         X86GenRegisterNames.inc \
16         X86GenRegisterInfo.h.inc
17
18 TBLGEN_TD_DIR := $(LOCAL_PATH)/..
19
20 LOCAL_SRC_FILES :=      \
21         X86ATTInstPrinter.cpp   \
22         X86AsmPrinter.cpp       \
23         X86IntelInstPrinter.cpp \
24         X86MCInstLower.cpp
25
26 LOCAL_C_INCLUDES +=     \
27         $(LOCAL_PATH)/..
28
29 LOCAL_MODULE:= libLLVMX86AsmPrinter
30
31 include $(LLVM_HOST_BUILD_MK)
32 include $(LLVM_TBLGEN_RULES_MK)
33 include $(BUILD_HOST_STATIC_LIBRARY)
34
35 endif