aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/X86/AsmPrinter/Android.mk
diff options
context:
space:
mode:
authorShih-wei Liao <sliao@google.com>2010-04-29 00:24:07 -0700
committerShih-wei Liao <sliao@google.com>2010-04-29 00:24:07 -0700
commita59a85f8dd03d52907019f1a4caaf7653b01b7d3 (patch)
treebf887e96b412f30a0f610ba86088f048be87a19c /lib/Target/X86/AsmPrinter/Android.mk
parent7abe37e4aee38cc79d91dd069a37d7e91d5bef53 (diff)
downloadexternal_llvm-a59a85f8dd03d52907019f1a4caaf7653b01b7d3.zip
external_llvm-a59a85f8dd03d52907019f1a4caaf7653b01b7d3.tar.gz
external_llvm-a59a85f8dd03d52907019f1a4caaf7653b01b7d3.tar.bz2
For disassembler
Change-Id: I14e64ec4640cbeb57ac87473775e8ba8a7320b3f
Diffstat (limited to 'lib/Target/X86/AsmPrinter/Android.mk')
-rw-r--r--lib/Target/X86/AsmPrinter/Android.mk30
1 files changed, 30 insertions, 0 deletions
diff --git a/lib/Target/X86/AsmPrinter/Android.mk b/lib/Target/X86/AsmPrinter/Android.mk
new file mode 100644
index 0000000..9e4c5e2
--- /dev/null
+++ b/lib/Target/X86/AsmPrinter/Android.mk
@@ -0,0 +1,30 @@
+LOCAL_PATH := $(call my-dir)
+
+# For the device only
+# =====================================================
+include $(CLEAR_VARS)
+include $(CLEAR_TBLGEN_VARS)
+
+TBLGEN_TABLES := \
+ X86GenAsmWriter.inc \
+ X86GenAsmWriter1.inc \
+ X86GenInstrNames.inc \
+ X86GenRegisterNames.inc \
+ X86GenRegisterInfo.h.inc
+
+TBLGEN_TD_DIR := $(LOCAL_PATH)/..
+
+LOCAL_SRC_FILES := \
+ X86ATTInstPrinter.cpp \
+ X86AsmPrinter.cpp \
+ X86IntelInstPrinter.cpp \
+ X86MCInstLower.cpp
+
+LOCAL_C_INCLUDES += \
+ $(LOCAL_PATH)/..
+
+LOCAL_MODULE:= libLLVMX86AsmPrinter
+
+include $(LLVM_HOST_BUILD_MK)
+include $(LLVM_TBLGEN_RULES_MK)
+include $(BUILD_HOST_STATIC_LIBRARY)