1 1.4 lukem # $NetBSD: Makefile,v 1.4 2023/06/03 08:52:53 lukem Exp $ 2 1.1 joerg 3 1.1 joerg LIB= LLVMInstrumentation 4 1.1 joerg 5 1.1 joerg .include <bsd.init.mk> 6 1.1 joerg 7 1.1 joerg .PATH: ${LLVM_SRCDIR}/lib/Transforms/Instrumentation 8 1.1 joerg 9 1.1 joerg SRCS+= AddressSanitizer.cpp \ 10 1.1 joerg BoundsChecking.cpp \ 11 1.1 joerg CGProfile.cpp \ 12 1.1 joerg ControlHeightReduction.cpp \ 13 1.1 joerg DataFlowSanitizer.cpp \ 14 1.1 joerg GCOVProfiling.cpp \ 15 1.1 joerg HWAddressSanitizer.cpp \ 16 1.1 joerg IndirectCallPromotion.cpp \ 17 1.1 joerg InstrOrderFile.cpp \ 18 1.1 joerg InstrProfiling.cpp \ 19 1.1 joerg Instrumentation.cpp \ 20 1.1 joerg MemorySanitizer.cpp \ 21 1.3 joerg MemProfiler.cpp \ 22 1.1 joerg PGOInstrumentation.cpp \ 23 1.1 joerg PGOMemOPSizeOpt.cpp \ 24 1.1 joerg PoisonChecking.cpp \ 25 1.1 joerg SanitizerCoverage.cpp \ 26 1.1 joerg ThreadSanitizer.cpp \ 27 1.1 joerg ValueProfileCollector.cpp 28 1.1 joerg 29 1.1 joerg .if defined(HOSTLIB) 30 1.1 joerg .include <bsd.hostlib.mk> 31 1.1 joerg .else 32 1.1 joerg .include <bsd.lib.mk> 33 1.1 joerg .endif 34 1.2 mrg 35 1.4 lukem CWARNFLAGS.gcc+= ${CC_WNO_ADDRESS_OF_PACKED_MEMBER} 36