summaryrefslogtreecommitdiffstats
path: root/gnu/lib/libgcov
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2006-03-18 21:37:05 +0000
committerru <ru@FreeBSD.org>2006-03-18 21:37:05 +0000
commit5f8b6d3c5a60616fb0b4ed779dd22ad78bc974ba (patch)
tree6851b1ccb04bc6d6a4b43ddbc6c2e16e2b682eb3 /gnu/lib/libgcov
parentf00375a188c2cdbd95c0d7c2bc960351161eabef (diff)
downloadFreeBSD-src-5f8b6d3c5a60616fb0b4ed779dd22ad78bc974ba.zip
FreeBSD-src-5f8b6d3c5a60616fb0b4ed779dd22ad78bc974ba.tar.gz
Convert NO_PROFILE and NO_LIB32 to new style.
Diffstat (limited to 'gnu/lib/libgcov')
-rw-r--r--gnu/lib/libgcov/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/gnu/lib/libgcov/Makefile b/gnu/lib/libgcov/Makefile
index bcf4d2d..c6ab0d5 100644
--- a/gnu/lib/libgcov/Makefile
+++ b/gnu/lib/libgcov/Makefile
@@ -1,12 +1,13 @@
# $FreeBSD$
+NO_PROFILE=
+.include <bsd.own.mk>
.include "${.CURDIR}/../../usr.bin/cc/Makefile.tgt"
GCCDIR= ${.CURDIR}/../../../contrib/gcc
.PATH: ${GCCDIR}/config/${GCC_CPU} ${GCCDIR}
LIB= gcov
-NO_PROFILE=
CFLAGS+= -DIN_GCC -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED
CFLAGS+= -D_PTHREADS -DGTHREAD_USE_WEAK
@@ -37,7 +38,7 @@ ${OBJS_S}: libgcov.c
${CC} -c ${PICFLAG} ${CFLAGS} -DL${.PREFIX} -o ${.TARGET} ${.ALLSRC:M*.c}
.endif
-.if !defined(NO_PROFILE)
+.if ${MK_PROFILE} != "no"
${OBJS_P}: libgcc2.c
${CC} -c -p ${CFLAGS} -DL${.PREFIX} -o ${.TARGET} ${.ALLSRC:M*.c}
.endif
OpenPOWER on IntegriCloud