diff options
| author | joerg <joerg@NetBSD.org> | 2011-07-05 14:15:56 +0000 |
|---|---|---|
| committer | joerg <joerg@NetBSD.org> | 2011-07-05 14:15:56 +0000 |
| commit | 07afca6384ffbced2bbd7dd30d7044a6ed1268f1 (patch) | |
| tree | 5543df8b603828e7ddfde4bafa2f8ff0aa8a53eb /external/bsd/llvm/lib/libLLVMSparcCodeGen | |
| parent | 2678edcfc99321f36b7225ac2fe736b6f6a5edf8 (diff) | |
Hook up LLVM's SPARC target.
Diffstat (limited to 'external/bsd/llvm/lib/libLLVMSparcCodeGen')
| -rw-r--r-- | external/bsd/llvm/lib/libLLVMSparcCodeGen/Makefile | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/external/bsd/llvm/lib/libLLVMSparcCodeGen/Makefile b/external/bsd/llvm/lib/libLLVMSparcCodeGen/Makefile new file mode 100644 index 00000000000..aa2627b6ec7 --- /dev/null +++ b/external/bsd/llvm/lib/libLLVMSparcCodeGen/Makefile @@ -0,0 +1,39 @@ +# $NetBSD: Makefile,v 1.1 2011/07/05 14:15:56 joerg Exp $ + +LIB= LLVMSparcCodeGen + +.include <bsd.init.mk> + +.PATH: ${LLVM_SRCDIR}/lib/Target/Sparc + +SRCS+= DelaySlotFiller.cpp \ + FPMover.cpp \ + SparcAsmPrinter.cpp \ + SparcInstrInfo.cpp \ + SparcISelDAGToDAG.cpp \ + SparcISelLowering.cpp \ + SparcFrameLowering.cpp \ + SparcMCAsmInfo.cpp \ + SparcRegisterInfo.cpp \ + SparcSubtarget.cpp \ + SparcTargetMachine.cpp \ + SparcSelectionDAGInfo.cpp + + +TABLEGEN_SRC= Sparc.td +TABLEGEN_INCLUDES= -I${LLVM_SRCDIR}/lib/Target/Sparc +TABLEGEN_OUTPUT= \ + SparcGenRegisterInfo.inc|-gen-register-info \ + SparcGenInstrInfo.inc|-gen-instr-info \ + SparcGenAsmWriter.inc|-gen-asm-writer \ + SparcGenDAGISel.inc|-gen-dag-isel \ + SparcGenSubtargetInfo.inc|-gen-subtarget \ + SparcGenCallingConv.inc|-gen-callingconv \ + +.include "${.PARSEDIR}/../../tablegen.mk" + +.if defined(HOSTLIB) +.include <bsd.hostlib.mk> +.else +.include <bsd.lib.mk> +.endif |
