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