178915Smsmith# $NetBSD: Makefile.backend,v 1.12 2023/02/20 02:12:29 mrg Exp $ 278915Smsmith 378915Smsmith.ifndef _EXTERNAL_GPL3_GCC_USR_BIN_MAKEFILE_BACKEND_ 478915Smsmith_EXTERNAL_GPL3_GCC_USR_BIN_MAKEFILE_BACKEND_=1 578915Smsmith 678915Smsmith.if ${PROG} != "lto-dump" 778915SmsmithNOMAN= # defined 878915SmsmithNOCTF= # defined 978915SmsmithBINDIR= /usr/libexec 1078915Smsmith.endif 1178915Smsmith 1278915SmsmithCPPFLAGS+= -I${GCCARCH} -I${BACKENDOBJ} \ 1378915Smsmith ${G_ALL_CFLAGS:M-D*} ${G_INCLUDES:M-I*:N-I.*} 1478915Smsmith 1578915Smsmith.include <bsd.init.mk> 1678915Smsmith 1778915SmsmithDPADD+= ${BACKENDOBJ}/libbackend.a 1878915SmsmithLDADD+= ${BACKENDOBJ}/libbackend.a 1978915Smsmith 2078915Smsmith.include "../Makefile.common-target" 2178915Smsmith.include "../Makefile.common" 2278915Smsmith.include "../Makefile.libiberty" 2378915Smsmith.include "../Makefile.prog" 2478915Smsmith 2578915Smsmith# Find our (local) libraries 2678915SmsmithLIBGMPDIR!= cd ${GMPDISTDIR}/lib/libgmp && ${PRINTOBJDIR} 27119418SobrienLIBMPFRDIR!= cd ${MPFRDISTDIR}/lib/libmpfr && ${PRINTOBJDIR} 28119418SobrienLIBMPCDIR!= cd ${MPCDISTDIR}/lib/libmpc && ${PRINTOBJDIR} 29119418Sobrien 30119529SnjlLIBGMP= ${LIBGMPDIR}/libgmp.a 3178915SmsmithLIBMPFR= ${LIBMPFRDIR}/libmpfr.a 3278915SmsmithLIBMPC= ${LIBMPCDIR}/libmpc.a 3378915Smsmith 3478915Smsmith.endif 3578915Smsmith