xref: /minix3/external/bsd/llvm/lib/liblldReaderWriterELF/Makefile (revision f4a2713ac843a11c696ec80c0a5e3e5d80b4d338)
1*f4a2713aSLionel Sambuc#	$NetBSD: Makefile,v 1.2 2013/10/30 20:27:40 joerg Exp $
2*f4a2713aSLionel Sambuc
3*f4a2713aSLionel SambucLIB=	lldReaderWriterELF
4*f4a2713aSLionel Sambuc
5*f4a2713aSLionel Sambuc.include <bsd.init.mk>
6*f4a2713aSLionel Sambuc
7*f4a2713aSLionel Sambuc.PATH: ${LLD_SRCDIR}/lib/ReaderWriter/ELF
8*f4a2713aSLionel Sambuc
9*f4a2713aSLionel SambucCPPFLAGS+=	-I${LLD_SRCDIR}/lib/ReaderWriter/ELF
10*f4a2713aSLionel Sambuc
11*f4a2713aSLionel SambucSRCS+=	ArrayOrderPass.cpp \
12*f4a2713aSLionel Sambuc	ELFLinkingContext.cpp \
13*f4a2713aSLionel Sambuc	Reader.cpp \
14*f4a2713aSLionel Sambuc	Writer.cpp
15*f4a2713aSLionel Sambuc
16*f4a2713aSLionel Sambuc.if defined(HOSTLIB)
17*f4a2713aSLionel Sambuc.include <bsd.hostlib.mk>
18*f4a2713aSLionel Sambuc.else
19*f4a2713aSLionel Sambuc.include <bsd.lib.mk>
20*f4a2713aSLionel Sambuc.endif
21