1# $NetBSD: Makefile,v 1.1 2019/11/11 22:45:07 joerg Exp $ 2 3LIB= LLVMLTO 4 5.include <bsd.init.mk> 6 7.PATH: ${LLVM_SRCDIR}/lib/LTO 8 9SRCS+= Caching.cpp \ 10 LTOBackend.cpp \ 11 LTOCodeGenerator.cpp \ 12 LTO.cpp \ 13 LTOModule.cpp \ 14 SummaryBasedOptimizations.cpp \ 15 ThinLTOCodeGenerator.cpp \ 16 UpdateCompilerUsed.cpp 17 18.if defined(HOSTLIB) 19.include <bsd.hostlib.mk> 20.else 21.include <bsd.lib.mk> 22.endif 23