1# $NetBSD: Makefile,v 1.13 2015/01/29 20:41:36 joerg Exp $ 2 3LIB= LLVMX86CodeGen 4 5.include <bsd.init.mk> 6 7.PATH: ${LLVM_SRCDIR}/lib/Target/X86 8 9SRCS+= X86AsmPrinter.cpp \ 10 X86FastISel.cpp \ 11 X86FixupLEAs.cpp \ 12 X86FloatingPoint.cpp \ 13 X86FrameLowering.cpp \ 14 X86ISelDAGToDAG.cpp \ 15 X86ISelLowering.cpp \ 16 X86InstrInfo.cpp \ 17 X86MachineFunctionInfo.cpp \ 18 X86MCInstLower.cpp \ 19 X86PadShortFunction.cpp \ 20 X86RegisterInfo.cpp \ 21 X86SelectionDAGInfo.cpp \ 22 X86Subtarget.cpp \ 23 X86TargetMachine.cpp \ 24 X86TargetObjectFile.cpp \ 25 X86TargetTransformInfo.cpp \ 26 X86VZeroUpper.cpp 27 28TABLEGEN_SRC= X86.td 29TABLEGEN_INCLUDES= -I${LLVM_SRCDIR}/lib/Target/X86 30TABLEGEN_OUTPUT= \ 31 X86GenAsmMatcher.inc|-gen-asm-matcher \ 32 X86GenAsmWriter.inc|-gen-asm-writer \ 33 X86GenAsmWriter1.inc|-gen-asm-writer^-asmwriternum=1 \ 34 X86GenCallingConv.inc|-gen-callingconv \ 35 X86GenDAGISel.inc|-gen-dag-isel \ 36 X86GenDisassemblerTables.inc|-gen-disassembler \ 37 X86GenFastISel.inc|-gen-fast-isel \ 38 X86GenInstrInfo.inc|-gen-instr-info \ 39 X86GenRegisterInfo.inc|-gen-register-info \ 40 X86GenSubtargetInfo.inc|-gen-subtarget 41 42.include "${.PARSEDIR}/../../tablegen.mk" 43 44.if defined(HOSTLIB) 45.include <bsd.hostlib.mk> 46.else 47.include <bsd.lib.mk> 48.endif 49