diff --git a/gnu/usr.bin/cc/Makefile b/gnu/usr.bin/cc/Makefile index e7823d21ba84..30ec1194d954 100644 --- a/gnu/usr.bin/cc/Makefile +++ b/gnu/usr.bin/cc/Makefile @@ -21,4 +21,8 @@ SUBDIR+= cc1obj SUBDIR+= f77 f771 f77doc .endif +.if !defined(NO_GCOV) +SUBDIR+= gcov +.endif + .include diff --git a/gnu/usr.bin/cc/gcov/Makefile b/gnu/usr.bin/cc/gcov/Makefile new file mode 100644 index 000000000000..e8a5794348c3 --- /dev/null +++ b/gnu/usr.bin/cc/gcov/Makefile @@ -0,0 +1,11 @@ +# $FreeBSD$ + +.include "../Makefile.inc" + +.PATH: ${GCCDIR} + +PROG= gcov +SRCS= gcov.c +NOMAN= 1 + +.include