
This brings our tree to NetBSD 7.0, as found on -current on the 10-10-2015. This updates: - LLVM to 3.6.1 - GCC to GCC 5.1 - Replace minix/commands/zdump with usr.bin/zdump - external/bsd/libelf has moved to /external/bsd/elftoolchain/ - Import ctwm - Drop sprintf from libminc Change-Id: I149836ac18e9326be9353958bab9b266efb056f0
35 lines
665 B
Makefile
35 lines
665 B
Makefile
# $NetBSD: Makefile,v 1.5 2014/03/05 21:37:02 tron Exp $
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
PROG= gcov
|
|
SRCS= ${G_GCOV_OBJS:.o=.c}
|
|
|
|
CPPFLAGS+= -I${GCCARCH} -I${BACKENDOBJ} ${G_ALL_CFLAGS:M-D*} ${G_INCLUDES:M-I*:N-I.*}
|
|
|
|
BINDIR= /usr/bin
|
|
|
|
MAN= gcov.1
|
|
|
|
HOSTPROG_CXX= 1
|
|
|
|
.include <bsd.prog.mk>
|
|
|
|
# Force using C++ for this
|
|
HOST_CC:= ${HOST_CXX}
|
|
CC:= ${CXX}
|
|
CFLAGS:= ${CXXFLAGS} -Wno-stack-protector
|
|
|
|
.include "../Makefile.common"
|
|
.include "../Makefile.libcpp"
|
|
.include "../Makefile.backtrace"
|
|
.include "../Makefile.libiberty"
|
|
.include "../Makefile.libdecnumber"
|
|
|
|
.if !defined(__MINIX)
|
|
LDADD+= -lintl
|
|
DPADD+= ${LIBINTL}
|
|
.endif # !defined(__MINIX)
|
|
|
|
.PATH: ${DIST}/gcc
|