2012-06-06 15:06:52 +02:00
|
|
|
# $NetBSD: Makefile,v 1.3 2011/07/19 15:59: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
|
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|
|
|
|
|
2013-04-24 18:57:59 +02:00
|
|
|
.if defined(__MINIX)
|
|
|
|
LDADD= -L${LIBIBERTYOBJ} -liberty
|
|
|
|
.else
|
2012-06-06 15:06:52 +02:00
|
|
|
LDADD= -L${LIBIBERTYOBJ} -liberty -lintl
|
2013-04-24 18:57:59 +02:00
|
|
|
.endif # defined(__MINIX)
|
2012-06-06 15:06:52 +02:00
|
|
|
|
|
|
|
COPTS+= -Wno-stack-protector
|
|
|
|
|
|
|
|
.PATH: ${DIST}/gcc
|