
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
36 lines
731 B
Makefile
36 lines
731 B
Makefile
# $NetBSD: Makefile,v 1.8 2014/06/01 19:51:01 mrg Exp $
|
|
|
|
REQUIRETOOLS= yes
|
|
NOPIC= # defined
|
|
NOPROFILE= # defined
|
|
NOLINT= # defined
|
|
|
|
LIB= gcov
|
|
|
|
.include "../../../Makefile.gcc_path"
|
|
.include <bsd.own.mk>
|
|
.include <bsd.init.mk>
|
|
|
|
.if ${MKGCC} != "no"
|
|
|
|
.include "${.CURDIR}/arch/${LIBGCC_MACHINE_ARCH}/defs.mk"
|
|
|
|
LIBGCOVSRCS= ${G_LIBGCOV:=.c}
|
|
|
|
CPPFLAGS+= -I${.CURDIR}/arch/${LIBGCC_MACHINE_ARCH}
|
|
CPPFLAGS+= -Wno-stack-protector
|
|
|
|
DPSRCS+= ${.CURDIR}/arch/${LIBGCC_MACHINE_ARCH}/defs.mk
|
|
SRCS+= ${LIBGCOVSRCS}
|
|
|
|
CLEANFILES+= ${LIBGCOVSRCS}
|
|
|
|
${LIBGCOVSRCS}: ${.CURDIR}/Makefile
|
|
${_MKTARGET_CREATE}
|
|
printf '#define L${.PREFIX}\n#include <libgcov.c>\n' >${.TARGET}
|
|
|
|
.include <bsd.lib.mk>
|
|
.else
|
|
.include <bsd.prog.mk> # do nothing
|
|
.endif
|