1.include "../Makefile.inc" 2.include "../Makefile.langs" 3.include "../../Makefile.cco" 4 5PROG_CXX= gcov 6MFILE= gcov${MANPAGEVER}.1 7MAN= ${MFILE} 8 9SRCS= gcov.c 10 11DOC_Release= gcov.1 #${GCCDIR}/gcc/doc/gcov.1 12DOC_Snapshot= gcov.1 13 14${MFILE}: ${DOC_${GCCRELEASE}} 15 cp ${.ALLSRC} ${.TARGET} 16 17CLEANFILES+= ${MFILE} 18 19.if defined(IS_PRIMARY) 20MLINKS+= ${MFILE} gcov.1 21.endif 22 23# hack to force c++ compiler to compile *.c files to create program 24.for cfile in ${SRCS} 25${cfile:.c=.o}: ${cfile} 26 ${CXX} ${STATIC_CXXFLAGS} ${CXXFLAGS} -c ${.IMPSRC} -o ${.TARGET} 27.endfor 28 29.include <bsd.prog.mk> 30