Android.mk revision 4671b174806e6c8577125a644aa85999598e4971
1LOCAL_PATH := $(call my-dir) 2 3arm_codegen_TBLGEN_TABLES := \ 4 ARMGenAsmWriter.inc \ 5 ARMGenMCCodeEmitter.inc \ 6 ARMGenRegisterInfo.h.inc\ 7 ARMGenRegisterNames.inc \ 8 ARMGenRegisterInfo.inc \ 9 ARMGenInstrNames.inc \ 10 ARMGenInstrInfo.inc \ 11 ARMGenDAGISel.inc \ 12 ARMGenFastISel.inc \ 13 ARMGenSubtarget.inc \ 14 ARMGenCodeEmitter.inc \ 15 ARMGenCallingConv.inc 16 17arm_codegen_SRC_FILES := \ 18 ARMAsmBackend.cpp \ 19 ARMAsmPrinter.cpp \ 20 ARMBaseInstrInfo.cpp \ 21 ARMBaseRegisterInfo.cpp \ 22 ARMCodeEmitter.cpp \ 23 ARMConstantIslandPass.cpp \ 24 ARMConstantPoolValue.cpp \ 25 ARMELFWriterInfo.cpp \ 26 ARMExpandPseudoInsts.cpp \ 27 ARMFastISel.cpp \ 28 ARMFrameInfo.cpp \ 29 ARMGlobalMerge.cpp \ 30 ARMISelDAGToDAG.cpp \ 31 ARMISelLowering.cpp \ 32 ARMInstrInfo.cpp \ 33 ARMJITInfo.cpp \ 34 ARMLoadStoreOptimizer.cpp \ 35 ARMMCAsmInfo.cpp \ 36 ARMMCCodeEmitter.cpp\ 37 ARMMCInstLower.cpp \ 38 ARMRegisterInfo.cpp \ 39 ARMSelectionDAGInfo.cpp \ 40 ARMSubtarget.cpp \ 41 ARMTargetMachine.cpp \ 42 ARMTargetObjectFile.cpp \ 43 InstPrinter/ARMInstPrinter.cpp \ 44 NEONMoveFix.cpp \ 45 Thumb1FrameInfo.cpp \ 46 Thumb1InstrInfo.cpp \ 47 Thumb1RegisterInfo.cpp \ 48 Thumb2HazardRecognizer.cpp \ 49 Thumb2ITBlockPass.cpp \ 50 Thumb2InstrInfo.cpp \ 51 Thumb2RegisterInfo.cpp \ 52 Thumb2SizeReduction.cpp 53 54# For the host 55# ===================================================== 56include $(CLEAR_VARS) 57include $(CLEAR_TBLGEN_VARS) 58 59TBLGEN_TABLES := $(arm_codegen_TBLGEN_TABLES) 60 61LOCAL_SRC_FILES := $(arm_codegen_SRC_FILES) 62 63LOCAL_MODULE:= libLLVMARMCodeGen 64 65LOCAL_MODULE_TAGS := optional 66 67include $(LLVM_HOST_BUILD_MK) 68include $(LLVM_TBLGEN_RULES_MK) 69include $(LLVM_GEN_INTRINSICS_MK) 70include $(BUILD_HOST_STATIC_LIBRARY) 71 72# For the device only 73# ===================================================== 74ifeq ($(TARGET_ARCH),arm) 75include $(CLEAR_VARS) 76include $(CLEAR_TBLGEN_VARS) 77 78TBLGEN_TABLES := $(arm_codegen_TBLGEN_TABLES) 79 80LOCAL_SRC_FILES := $(arm_codegen_SRC_FILES) 81 82LOCAL_MODULE:= libLLVMARMCodeGen 83 84LOCAL_MODULE_TAGS := optional 85 86include $(LLVM_DEVICE_BUILD_MK) 87include $(LLVM_TBLGEN_RULES_MK) 88include $(LLVM_GEN_INTRINSICS_MK) 89include $(BUILD_STATIC_LIBRARY) 90endif 91