xref: /minix3/external/bsd/llvm/lib/liblldReaderWriterELFMips/Makefile (revision 0a6a1f1d05b60e214de2f05a7310ddd1f0e590e7)
1*0a6a1f1dSLionel Sambuc    #	$NetBSD: Makefile,v 1.4 2015/01/29 20:41:37 joerg Exp $
2*0a6a1f1dSLionel Sambuc
3*0a6a1f1dSLionel SambucLIB=	lldReaderWriterELFMips
4*0a6a1f1dSLionel Sambuc
5*0a6a1f1dSLionel Sambuc.include <bsd.init.mk>
6*0a6a1f1dSLionel Sambuc
7*0a6a1f1dSLionel Sambuc.PATH: ${LLD_SRCDIR}/lib/ReaderWriter/ELF/Mips
8*0a6a1f1dSLionel Sambuc
9*0a6a1f1dSLionel SambucCPPFLAGS+=	-I${LLD_SRCDIR}/lib/ReaderWriter/ELF
10*0a6a1f1dSLionel Sambuc
11*0a6a1f1dSLionel SambucSRCS+=	MipsCtorsOrderPass.cpp \
12*0a6a1f1dSLionel Sambuc	MipsELFFlagsMerger.cpp \
13*0a6a1f1dSLionel Sambuc	MipsLinkingContext.cpp \
14*0a6a1f1dSLionel Sambuc	MipsRelocationHandler.cpp \
15*0a6a1f1dSLionel Sambuc	MipsRelocationPass.cpp \
16*0a6a1f1dSLionel Sambuc	MipsTargetHandler.cpp
17*0a6a1f1dSLionel Sambuc.if defined(HOSTLIB)
18*0a6a1f1dSLionel Sambuc.include <bsd.hostlib.mk>
19*0a6a1f1dSLionel Sambuc.else
20*0a6a1f1dSLionel Sambuc.include <bsd.lib.mk>
21*0a6a1f1dSLionel Sambuc.endif
22