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