Home | History | Annotate | Line # | Download | only in lto-wrapper
      1 #	$NetBSD: Makefile,v 1.10 2025/09/07 04:12:46 mrg Exp $
      2 
      3 NOMAN=1
      4 PROG=		lto-wrapper
      5 # XXX pullout from LTO_WRAPPER_OBJS
      6 SRCS=		lto-wrapper.cc \
      7 		collect-utils.cc \
      8 		ggc-none.cc
      9 
     10 BINDIR=		/usr/libexec
     11 
     12 CPPFLAGS+=	-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 
     22 COPTS.lto-wrapper.cc=	-Wno-error=stack-protector
     23 
     24 LDADD+=	${LIBMPC} ${LIBMPFR} ${LIBGMP} -lintl -lz -lm
     25 DPADD+=	${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