# $DragonFly: src/gnu/lib/gcc41/libgcov/Makefile,v 1.1 2006/09/27 12:10:33 corecode Exp $ .include "../Makefile.inc" .include "${STOPDIR}/cc_tools/Makefile.tools" CFLAGS+= -I. CFLAGS+= -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -DHAVE_GTHR_DEFAULT CFLAGS+= -DIN_GCC LIB= gcov # used by shared libs INSTALL_PIC_ARCHIVE= yes FUNCS= _gcov _gcov_merge_add _gcov_merge_single _gcov_merge_delta \ _gcov_fork _gcov_execl _gcov_execlp _gcov_execle \ _gcov_execv _gcov_execvp _gcov_execve \ _gcov_interval_profiler _gcov_pow2_profiler _gcov_one_value_profiler SRCS= ${FUNCS:S/$/.c/g} CLEANFILES+= ${FUNCS:S/$/.c/g} SRCS+= gcov-iov.h SRCS+= insn-flags.h insn-constants.h .for F in ${FUNCS} ${F}.c: echo '#define L${.TARGET:T:R}' > ${.TARGET} echo '#include "libgcov.c"' >> ${.TARGET} .endfor .include