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