xref: /minix3/external/bsd/llvm/lib/liblldReaderWriterMachO/Makefile (revision 0a6a1f1d05b60e214de2f05a7310ddd1f0e590e7)
1*0a6a1f1dSLionel Sambuc#	$NetBSD: Makefile,v 1.7 2015/01/29 20:41:37 joerg Exp $
2f4a2713aSLionel Sambuc
3f4a2713aSLionel SambucLIB=	lldReaderWriterMachO
4f4a2713aSLionel Sambuc
5f4a2713aSLionel Sambuc.include <bsd.init.mk>
6f4a2713aSLionel Sambuc
7f4a2713aSLionel Sambuc.PATH: ${LLD_SRCDIR}/lib/ReaderWriter/MachO
8f4a2713aSLionel Sambuc
9*0a6a1f1dSLionel SambucSRCS+=	ArchHandler_arm64.cpp \
10*0a6a1f1dSLionel Sambuc	ArchHandler_x86.cpp \
11*0a6a1f1dSLionel Sambuc	ArchHandler_x86_64.cpp \
12*0a6a1f1dSLionel Sambuc	ArchHandler_arm.cpp \
13*0a6a1f1dSLionel Sambuc	ArchHandler.cpp \
14*0a6a1f1dSLionel Sambuc	CompactUnwindPass.cpp \
15*0a6a1f1dSLionel Sambuc	GOTPass.cpp \
16*0a6a1f1dSLionel Sambuc	MachOLinkingContext.cpp \
17f4a2713aSLionel Sambuc	MachONormalizedFileBinaryReader.cpp \
18f4a2713aSLionel Sambuc	MachONormalizedFileBinaryWriter.cpp \
19*0a6a1f1dSLionel Sambuc	MachONormalizedFileFromAtoms.cpp \
20*0a6a1f1dSLionel Sambuc	MachONormalizedFileToAtoms.cpp \
21f4a2713aSLionel Sambuc	MachONormalizedFileYAML.cpp \
22*0a6a1f1dSLionel Sambuc	ShimPass.cpp \
23*0a6a1f1dSLionel Sambuc	StubsPass.cpp \
24f4a2713aSLionel Sambuc	WriterMachO.cpp
25f4a2713aSLionel Sambuc
26f4a2713aSLionel Sambuc.if defined(HOSTLIB)
27f4a2713aSLionel Sambuc.include <bsd.hostlib.mk>
28f4a2713aSLionel Sambuc.else
29f4a2713aSLionel Sambuc.include <bsd.lib.mk>
30f4a2713aSLionel Sambuc.endif
31