Improve the process for GNU tools
[minix3.git] / external / gpl3 / gcc / usr.bin / gcov / Makefile
blob726ddcf61f9cb114b3aecc9d5ce482355614cf8f
1 # $NetBSD: Makefile,v 1.5 2014/03/05 21:37:02 tron Exp $
3 .include <bsd.own.mk>
5 PROG= gcov
6 SRCS= ${G_GCOV_OBJS:.o=.c}
8 CPPFLAGS+= -I${GCCARCH} -I${BACKENDOBJ} ${G_ALL_CFLAGS:M-D*} ${G_INCLUDES:M-I*:N-I.*}
10 BINDIR= /usr/bin
12 MAN= gcov.1
14 HOSTPROG_CXX= 1
16 .include <bsd.prog.mk>
18 # Force using C++ for this
19 HOST_CC:= ${HOST_CXX}
20 CC:= ${CXX}
21 CFLAGS:= ${CXXFLAGS} -Wno-stack-protector
23 .include "../Makefile.common"
24 .include "../Makefile.libcpp"
25 .include "../Makefile.backtrace"
26 .include "../Makefile.libiberty"
27 .include "../Makefile.libdecnumber"
29 .if !defined(__MINIX)
30 LDADD+= -lintl
31 DPADD+= ${LIBINTL}
32 .endif # !defined(__MINIX)
34 .PATH: ${DIST}/gcc