# $NetBSD: Makefile,v 1.2 2019/03/12 02:07:14 maya Exp $ LIB= LLVMAMDGPUUtils .include <bsd.init.mk> AMDGPU_OBJDIR!= cd ${.CURDIR}/../libLLVMAMDGPUCodeGen && ${PRINTOBJDIR} CPPFLAGS+= -I${AMDGPU_OBJDIR} -I${LLVM_SRCDIR}/lib/Target/AMDGPU CPPFLAGS+= -I${LLVM_SRCDIR}/lib/Target/AMDGPU .PATH: ${LLVM_SRCDIR}/lib/Target/AMDGPU/Utils SRCS+= AMDGPUBaseInfo.cpp \ AMDKernelCodeTUtils.cpp \ AMDGPUAsmUtils.cpp \ AMDGPULaneDominator.cpp .if defined(HOSTLIB) .include <bsd.hostlib.mk> .else .include <bsd.lib.mk> .endif |