Shih-wei Liao | e445432 | 2010-04-07 12:21:42 -0700 | [diff] [blame] | 1 | LOCAL_PATH:= $(call my-dir) |
| 2 | |
| 3 | transforms_utils_SRC_FILES := \ |
| 4 | AddrModeMatcher.cpp \ |
| 5 | BasicBlockUtils.cpp \ |
| 6 | BasicInliner.cpp \ |
| 7 | BreakCriticalEdges.cpp \ |
Shih-wei Liao | 7abe37e | 2010-04-28 01:47:00 -0700 | [diff] [blame^] | 8 | BuildLibCalls.cpp \ |
Shih-wei Liao | e445432 | 2010-04-07 12:21:42 -0700 | [diff] [blame] | 9 | CloneFunction.cpp \ |
| 10 | CloneLoop.cpp \ |
| 11 | CloneModule.cpp \ |
| 12 | CodeExtractor.cpp \ |
| 13 | DemoteRegToStack.cpp \ |
| 14 | InlineFunction.cpp \ |
| 15 | InstructionNamer.cpp \ |
| 16 | LCSSA.cpp \ |
| 17 | Local.cpp \ |
| 18 | LoopSimplify.cpp \ |
| 19 | LoopUnroll.cpp \ |
| 20 | LowerInvoke.cpp \ |
| 21 | LowerSwitch.cpp \ |
| 22 | Mem2Reg.cpp \ |
| 23 | PromoteMemoryToRegister.cpp \ |
| 24 | SSAUpdater.cpp \ |
| 25 | SSI.cpp \ |
| 26 | SimplifyCFG.cpp \ |
| 27 | UnifyFunctionExitNodes.cpp \ |
| 28 | ValueMapper.cpp |
| 29 | |
| 30 | # For the host |
| 31 | # ===================================================== |
| 32 | include $(CLEAR_VARS) |
| 33 | |
| 34 | LOCAL_SRC_FILES := $(transforms_utils_SRC_FILES) |
| 35 | LOCAL_MODULE:= libLLVMTransformUtils |
| 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 | include $(CLEAR_VARS) |
| 44 | |
| 45 | LOCAL_SRC_FILES := $(transforms_utils_SRC_FILES) |
| 46 | LOCAL_MODULE:= libLLVMTransformUtils |
| 47 | |
| 48 | include $(LLVM_DEVICE_BUILD_MK) |
| 49 | include $(LLVM_GEN_INTRINSICS_MK) |
| 50 | include $(BUILD_STATIC_LIBRARY) |