# Check for LLVMCBackend target
ifneq ($(strip $(filter CBackend,$(TARGETS_TO_BUILD))),)
-USEDLIB += LLVMCBackend
+USEDLIBS += LLVMCBackend
endif
-# Check for Skeleton target
-ifneq ($(strip $(filter Skeleton,$(TARGETS_TO_BUILD))),)
-USEDLIB += LLVMSkeleton
+ifneq ($(strip $(filter Sparc,$(TARGETS_TO_BUILD))),)
+USEDLIBS += LLVMSparc
endif
-# Check for Sparc target
-ifneq ($(strip $(filter SparcV8,$(TARGETS_TO_BUILD))),)
-USEDLIBS += \
- LLVMSparcV9ModuloSched \
- LLVMSparcV8 \
- LLVMSparcV9 \
- LLVMSparcV9RegAlloc \
- LLVMSparcV9InstrSched \
- LLVMSparcV9LiveVar
-endif
#Check for X86 Target
ifneq ($(strip $(filter X86,$(TARGETS_TO_BUILD))),)
USEDLIBS += LLVMIA64
endif
+#Check for ARM Target
+ifneq ($(strip $(filter ARM,$(TARGETS_TO_BUILD))),)
+USEDLIBS += LLVMARM
+endif
+
USEDLIBS += \
LLVMSelectionDAG \
LLVMCodeGen \
- LLVMTarget.a \
+ LLVMTarget \
LLVMipa.a \
LLVMTransforms.a \
- LLVMScalarOpts \
- LLVMAnalysis.a \
+ LLVMScalarOpts.a \
LLVMTransformUtils.a \
- LLVMBCReader \
- LLVMBCWriter \
- LLVMCore \
+ LLVMAnalysis.a \
+ LLVMBCReader.a \
+ LLVMBCWriter.a \
+ LLVMCore.a \
LLVMSupport.a \
- LLVMbzip2 \
+ LLVMbzip2.a \
LLVMSystem.a
include $(LLVM_SRC_ROOT)/Makefile.rules