1 1.10 mrg # $NetBSD: Makefile,v 1.10 2025/09/07 04:12:46 mrg Exp $ 2 1.1 mrg 3 1.1 mrg NOMAN=1 4 1.1 mrg PROG= lto-wrapper 5 1.6 mrg # XXX pullout from LTO_WRAPPER_OBJS 6 1.10 mrg SRCS= lto-wrapper.cc \ 7 1.10 mrg collect-utils.cc \ 8 1.10 mrg ggc-none.cc 9 1.1 mrg 10 1.6 mrg BINDIR= /usr/libexec 11 1.6 mrg 12 1.6 mrg CPPFLAGS+= -DPREFIX=\"/usr\" -I${GCCARCH} -I${G_ALL_CPPFLAGS} 13 1.6 mrg 14 1.6 mrg .include "../Makefile.prog" 15 1.6 mrg .include "../Makefile.target-defines" 16 1.1 mrg .include "../Makefile.common-target" 17 1.6 mrg .include "../Makefile.common" 18 1.1 mrg .include "../Makefile.libcpp" 19 1.6 mrg .include "../Makefile.backtrace" 20 1.6 mrg .include "../Makefile.libiberty" 21 1.1 mrg 22 1.10 mrg COPTS.lto-wrapper.cc= -Wno-error=stack-protector 23 1.3 mrg 24 1.1 mrg LDADD+= ${LIBMPC} ${LIBMPFR} ${LIBGMP} -lintl -lz -lm 25 1.1 mrg DPADD+= ${LIBMPC} ${LIBMPFR} ${LIBGMP} ${LIBINTL} ${LIBZ} ${LIBM} 26 1.1 mrg 27 1.1 mrg .PATH: ${DIST}/gcc ${DIST}/gcc/c ${DIST}/gcc/c-family ${DIST}/gcc/config 28 1.1 mrg .PATH: ${G_out_file:H} 29