diff options
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/usr.bin/clang/Makefile.arch | 4 | ||||
-rw-r--r-- | gnu/usr.bin/clang/include/llvm/Mips/Makefile | 80 | ||||
-rw-r--r-- | gnu/usr.bin/clang/libLLVMMipsAsmParser/Makefile | 21 | ||||
-rw-r--r-- | gnu/usr.bin/clang/libLLVMMipsAsmPrinter/Makefile | 20 | ||||
-rw-r--r-- | gnu/usr.bin/clang/libLLVMMipsCodeGen/Makefile | 52 | ||||
-rw-r--r-- | gnu/usr.bin/clang/libLLVMMipsDesc/Makefile | 31 | ||||
-rw-r--r-- | gnu/usr.bin/clang/libLLVMMipsDisassembler/Makefile | 20 | ||||
-rw-r--r-- | gnu/usr.bin/clang/libLLVMMipsInfo/Makefile | 20 |
8 files changed, 246 insertions, 2 deletions
diff --git a/gnu/usr.bin/clang/Makefile.arch b/gnu/usr.bin/clang/Makefile.arch index 9ba43ab3ef5..a8110eb8889 100644 --- a/gnu/usr.bin/clang/Makefile.arch +++ b/gnu/usr.bin/clang/Makefile.arch @@ -1,6 +1,6 @@ -# $OpenBSD: Makefile.arch,v 1.3 2017/01/25 07:29:30 patrick Exp $ +# $OpenBSD: Makefile.arch,v 1.4 2017/01/25 19:24:33 patrick Exp $ -LLVM_ARCHS=AArch64 ARM PowerPC Sparc X86 +LLVM_ARCHS=AArch64 ARM Mips PowerPC Sparc X86 LLVM_ARCH?= .if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "i386" diff --git a/gnu/usr.bin/clang/include/llvm/Mips/Makefile b/gnu/usr.bin/clang/include/llvm/Mips/Makefile new file mode 100644 index 00000000000..85b828e498f --- /dev/null +++ b/gnu/usr.bin/clang/include/llvm/Mips/Makefile @@ -0,0 +1,80 @@ +# $OpenBSD: Makefile,v 1.1 2017/01/25 19:24:33 patrick Exp $ + +.include <bsd.own.mk> + +LLVM_SRCS= ${.CURDIR}/../../../../../llvm + +HDRS= MipsGenAsmMatcher.inc MipsGenAsmWriter.inc \ + MipsGenCallingConv.inc MipsGenDAGISel.inc \ + MipsGenDisassemblerTables.inc MipsGenFastISel.inc \ + MipsGenInstrInfo.inc MipsGenMCCodeEmitter.inc \ + MipsGenMCPseudoLowering.inc MipsGenSubtargetInfo.inc \ + MipsGenRegisterInfo.inc + +all: ${HDRS} + +install: + # Nothing here so far ... + +depend: + # Nothing here so far ... + +clean cleandir: + rm -f ${HDRS} + +MipsGenAsmMatcher.inc: ${LLVM_SRCS}/lib/Target/Mips/Mips.td + ${.OBJDIR}/../../../llvm-tblgen/llvm-tblgen -gen-asm-matcher \ + -I${LLVM_SRCS}/include -I${LLVM_SRCS}/lib/Target/Mips \ + -o ${.TARGET} ${.ALLSRC} + +MipsGenAsmWriter.inc: ${LLVM_SRCS}/lib/Target/Mips/Mips.td + ${.OBJDIR}/../../../llvm-tblgen/llvm-tblgen -gen-asm-writer \ + -I${LLVM_SRCS}/include -I${LLVM_SRCS}/lib/Target/Mips \ + -o ${.TARGET} ${.ALLSRC} + +MipsGenCallingConv.inc: ${LLVM_SRCS}/lib/Target/Mips/Mips.td + ${.OBJDIR}/../../../llvm-tblgen/llvm-tblgen -gen-callingconv \ + -I${LLVM_SRCS}/include -I${LLVM_SRCS}/lib/Target/Mips \ + -o ${.TARGET} ${.ALLSRC} + +MipsGenDAGISel.inc: ${LLVM_SRCS}/lib/Target/Mips/Mips.td + ${.OBJDIR}/../../../llvm-tblgen/llvm-tblgen -gen-dag-isel \ + -I${LLVM_SRCS}/include -I${LLVM_SRCS}/lib/Target/Mips \ + -o ${.TARGET} ${.ALLSRC} + +MipsGenDisassemblerTables.inc: ${LLVM_SRCS}/lib/Target/Mips/Mips.td + ${.OBJDIR}/../../../llvm-tblgen/llvm-tblgen -gen-disassembler \ + -I${LLVM_SRCS}/include -I${LLVM_SRCS}/lib/Target/Mips \ + -o ${.TARGET} ${.ALLSRC} + +MipsGenFastISel.inc: ${LLVM_SRCS}/lib/Target/Mips/Mips.td + ${.OBJDIR}/../../../llvm-tblgen/llvm-tblgen -gen-fast-isel \ + -I${LLVM_SRCS}/include -I${LLVM_SRCS}/lib/Target/Mips \ + -o ${.TARGET} ${.ALLSRC} + +MipsGenInstrInfo.inc: ${LLVM_SRCS}/lib/Target/Mips/Mips.td + ${.OBJDIR}/../../../llvm-tblgen/llvm-tblgen -gen-instr-info \ + -I${LLVM_SRCS}/include -I${LLVM_SRCS}/lib/Target/Mips \ + -o ${.TARGET} ${.ALLSRC} + +MipsGenMCCodeEmitter.inc: ${LLVM_SRCS}/lib/Target/Mips/Mips.td + ${.OBJDIR}/../../../llvm-tblgen/llvm-tblgen -gen-emitter \ + -I${LLVM_SRCS}/include -I${LLVM_SRCS}/lib/Target/Mips \ + -o ${.TARGET} ${.ALLSRC} + +MipsGenMCPseudoLowering.inc: ${LLVM_SRCS}/lib/Target/Mips/Mips.td + ${.OBJDIR}/../../../llvm-tblgen/llvm-tblgen -gen-pseudo-lowering \ + -I${LLVM_SRCS}/include -I${LLVM_SRCS}/lib/Target/Mips \ + -o ${.TARGET} ${.ALLSRC} + +MipsGenRegisterInfo.inc: ${LLVM_SRCS}/lib/Target/Mips/Mips.td + ${.OBJDIR}/../../../llvm-tblgen/llvm-tblgen -gen-register-info \ + -I${LLVM_SRCS}/include -I${LLVM_SRCS}/lib/Target/Mips \ + -o ${.TARGET} ${.ALLSRC} + +MipsGenSubtargetInfo.inc: ${LLVM_SRCS}/lib/Target/Mips/Mips.td + ${.OBJDIR}/../../../llvm-tblgen/llvm-tblgen -gen-subtarget \ + -I${LLVM_SRCS}/include -I${LLVM_SRCS}/lib/Target/Mips \ + -o ${.TARGET} ${.ALLSRC} + +.include <bsd.obj.mk> diff --git a/gnu/usr.bin/clang/libLLVMMipsAsmParser/Makefile b/gnu/usr.bin/clang/libLLVMMipsAsmParser/Makefile new file mode 100644 index 00000000000..2287e052587 --- /dev/null +++ b/gnu/usr.bin/clang/libLLVMMipsAsmParser/Makefile @@ -0,0 +1,21 @@ +# $OpenBSD: Makefile,v 1.1 2017/01/25 19:24:33 patrick Exp $ + +LIB= LLVMMipsAsmParser +NOPIC= +NOPROFILE= + +CPPFLAGS+= -I${.OBJDIR}/../include/llvm/Mips \ + -I${LLVM_SRCS}/lib/Target/Mips + +.include <bsd.own.mk> +SRCS= MipsAsmParser.cpp + +.PATH: ${.CURDIR}/../../../llvm/lib/Target/Mips/AsmParser + +depend: + # Nothing here so far ... + +install: + # Nothing here so far ... + +.include <bsd.lib.mk> diff --git a/gnu/usr.bin/clang/libLLVMMipsAsmPrinter/Makefile b/gnu/usr.bin/clang/libLLVMMipsAsmPrinter/Makefile new file mode 100644 index 00000000000..2e94aa2e1c8 --- /dev/null +++ b/gnu/usr.bin/clang/libLLVMMipsAsmPrinter/Makefile @@ -0,0 +1,20 @@ +# $OpenBSD: Makefile,v 1.1 2017/01/25 19:24:33 patrick Exp $ + +LIB= LLVMMipsAsmPrinter +NOPIC= +NOPROFILE= + +CPPFLAGS+= -I${.OBJDIR}/../include/llvm/Mips -I${LLVM_SRCS}/lib/Target/Mips + +.include <bsd.own.mk> +SRCS= MipsInstPrinter.cpp + +.PATH: ${.CURDIR}/../../../llvm/lib/Target/Mips/InstPrinter + +depend: + # Nothing here so far ... + +install: + # Nothing here so far ... + +.include <bsd.lib.mk> diff --git a/gnu/usr.bin/clang/libLLVMMipsCodeGen/Makefile b/gnu/usr.bin/clang/libLLVMMipsCodeGen/Makefile new file mode 100644 index 00000000000..12d46150620 --- /dev/null +++ b/gnu/usr.bin/clang/libLLVMMipsCodeGen/Makefile @@ -0,0 +1,52 @@ +# $OpenBSD: Makefile,v 1.1 2017/01/25 19:24:33 patrick Exp $ + +LIB= LLVMMipsCodeGen +NOPIC= +NOPROFILE= + +CPPFLAGS+= -I${.OBJDIR}/../include/llvm/Mips -I${LLVM_SRCS}/lib/Target/Mips + +.include <bsd.own.mk> +SRCS= Mips16FrameLowering.cpp \ + Mips16HardFloat.cpp \ + Mips16HardFloatInfo.cpp \ + Mips16InstrInfo.cpp \ + Mips16ISelDAGToDAG.cpp \ + Mips16ISelLowering.cpp \ + Mips16RegisterInfo.cpp \ + MipsAnalyzeImmediate.cpp \ + MipsAsmPrinter.cpp \ + MipsCCState.cpp \ + MipsConstantIslandPass.cpp \ + MipsDelaySlotFiller.cpp \ + MipsFastISel.cpp \ + MipsHazardSchedule.cpp \ + MipsInstrInfo.cpp \ + MipsISelDAGToDAG.cpp \ + MipsISelLowering.cpp \ + MipsFrameLowering.cpp \ + MipsLongBranch.cpp \ + MipsMCInstLower.cpp \ + MipsMachineFunction.cpp \ + MipsModuleISelDAGToDAG.cpp \ + MipsOptimizePICCall.cpp \ + MipsOs16.cpp \ + MipsRegisterInfo.cpp \ + MipsSEFrameLowering.cpp \ + MipsSEInstrInfo.cpp \ + MipsSEISelDAGToDAG.cpp \ + MipsSEISelLowering.cpp \ + MipsSERegisterInfo.cpp \ + MipsSubtarget.cpp \ + MipsTargetMachine.cpp \ + MipsTargetObjectFile.cpp + +.PATH: ${.CURDIR}/../../../llvm/lib/Target/Mips + +depend: + # Nothing here so far ... + +install: + # Nothing here so far ... + +.include <bsd.lib.mk> diff --git a/gnu/usr.bin/clang/libLLVMMipsDesc/Makefile b/gnu/usr.bin/clang/libLLVMMipsDesc/Makefile new file mode 100644 index 00000000000..d57355ca363 --- /dev/null +++ b/gnu/usr.bin/clang/libLLVMMipsDesc/Makefile @@ -0,0 +1,31 @@ +# $OpenBSD: Makefile,v 1.1 2017/01/25 19:24:33 patrick Exp $ + +LIB= LLVMMipsDesc +NOPIC= +NOPROFILE= + +CPPFLAGS+= -I${.OBJDIR}/../include/llvm/Mips -I${LLVM_SRCS}/lib/Target/Mips + +.include <bsd.own.mk> +SRCS= MipsABIInfo.cpp \ + MipsABIFlagsSection.cpp \ + MipsAsmBackend.cpp \ + MipsELFObjectWriter.cpp \ + MipsELFStreamer.cpp \ + MipsMCAsmInfo.cpp \ + MipsMCCodeEmitter.cpp \ + MipsMCExpr.cpp \ + MipsMCTargetDesc.cpp \ + MipsNaClELFStreamer.cpp \ + MipsOptionRecord.cpp \ + MipsTargetStreamer.cpp + +.PATH: ${.CURDIR}/../../../llvm/lib/Target/Mips/MCTargetDesc + +depend: + # Nothing here so far ... + +install: + # Nothing here so far ... + +.include <bsd.lib.mk> diff --git a/gnu/usr.bin/clang/libLLVMMipsDisassembler/Makefile b/gnu/usr.bin/clang/libLLVMMipsDisassembler/Makefile new file mode 100644 index 00000000000..0e52670b4d3 --- /dev/null +++ b/gnu/usr.bin/clang/libLLVMMipsDisassembler/Makefile @@ -0,0 +1,20 @@ +# $OpenBSD: Makefile,v 1.1 2017/01/25 19:24:33 patrick Exp $ + +LIB= LLVMMipsDisassembler +NOPIC= +NOPROFILE= + +CPPFLAGS+= -I${.OBJDIR}/../include/llvm/Mips -I${LLVM_SRCS}/lib/Target/Mips + +.include <bsd.own.mk> +SRCS= MipsDisassembler.cpp + +.PATH: ${.CURDIR}/../../../llvm/lib/Target/Mips/Disassembler + +depend: + # Nothing here so far ... + +install: + # Nothing here so far ... + +.include <bsd.lib.mk> diff --git a/gnu/usr.bin/clang/libLLVMMipsInfo/Makefile b/gnu/usr.bin/clang/libLLVMMipsInfo/Makefile new file mode 100644 index 00000000000..322712365ea --- /dev/null +++ b/gnu/usr.bin/clang/libLLVMMipsInfo/Makefile @@ -0,0 +1,20 @@ +# $OpenBSD: Makefile,v 1.1 2017/01/25 19:24:33 patrick Exp $ + +LIB= LLVMMipsInfo +NOPIC= +NOPROFILE= + +CPPFLAGS+= -I${.OBJDIR}/../include/llvm/Mips -I${LLVM_SRCS}/lib/Target/Mips + +.include <bsd.own.mk> +SRCS= MipsTargetInfo.cpp + +.PATH: ${.CURDIR}/../../../llvm/lib/Target/Mips/TargetInfo + +depend: + # Nothing here so far ... + +install: + # Nothing here so far ... + +.include <bsd.lib.mk> |