1 1.1 christos # $NetBSD: lgpl3.mk,v 1.1 2023/08/09 18:57:04 christos Exp $ 2 1.1 christos # configuration for native build to find lgpl3 libraries 3 1.1 christos # 4 1.1 christos .include "../../external/lgpl3/gmp/Makefile.arch" 5 1.1 christos 6 1.1 christos MPC= ${NETBSDSRCDIR}/external/lgpl3/mpc 7 1.1 christos MPFR= ${NETBSDSRCDIR}/external/lgpl3/mpfr 8 1.1 christos GMP= ${NETBSDSRCDIR}/external/lgpl3/gmp 9 1.1 christos 10 1.1 christos MPCOBJ!= cd ${MPC}/lib/libmpc && ${PRINTOBJDIR} 11 1.1 christos MPFROBJ!= cd ${MPFR}/lib/libmpfr && ${PRINTOBJDIR} 12 1.1 christos GMPOBJ!= cd ${GMP}/lib/libgmp && ${PRINTOBJDIR} 13 1.1 christos 14 1.1 christos MPCINC= ${MPC}/dist/src 15 1.1 christos MPFRINC= ${MPFR}/dist/src 16 1.1 christos GMPINC= ${GMP}/lib/libgmp/arch/${GMP_MACHINE_ARCH} 17 1.1 christos 18 1.1 christos NATIVE_CONFIGURE_ARGS+= \ 19 1.1 christos --with-mpc-lib=${MPCOBJ} \ 20 1.1 christos --with-mpfr-lib=${MPFROBJ} \ 21 1.1 christos --with-gmp-lib=${GMPOBJ} \ 22 1.1 christos --with-mpc-include=${MPCINC} \ 23 1.1 christos --with-mpfr-include=${MPFRINC} \ 24 1.1 christos --with-gmp-include=${GMPINC} 25