Home | History | Annotate | Line # | Download | only in lto-wrapper
Makefile revision 1.7
      1 #	$NetBSD: Makefile,v 1.7 2020/07/01 07:54:24 lukem Exp $
      2 
      3 NOMAN=1
      4 PROG=		lto-wrapper
      5 # XXX pullout from LTO_WRAPPER_OBJS
      6 SRCS=		lto-wrapper.c \
      7 		collect-utils.c \
      8 		ggc-none.c
      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.c=	-Wno-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