gcc44: import build infrastructure
[dragonfly.git] / gnu / usr.bin / cc44 / gcov / Makefile
1 .include "../Makefile.inc"
2 .include "../Makefile.langs"
3
4 PROG=   gcov
5 MAN=    gcov${GCCSHORTVER}.1
6
7 .if ${GCCDOCSUFFIX} != ${GCCSHORTVER}
8 MLINKS= gcov${GCCSHORTVER}.1 gcov${GCCDOCSUFFIX}.1
9 .endif
10
11 SRCS=   gcov.c intl.c errors.c version.c
12
13 CFLAGS+= -DDEFAULT_TARGET_VERSION=\"${version}\"
14 CFLAGS+= -DDEFAULT_TARGET_MACHINE=\"${target_machine}\"
15
16 gcov${GCCSHORTVER}.1: ${GCCDIR}/gcc/doc/gcov.1
17         cp ${.ALLSRC} ${.TARGET}
18
19 CLEANFILES+=    gcov${GCCSHORTVER}.1
20
21 .include <bsd.prog.mk>