1 # $DragonFly: src/gnu/lib/gcc41/libgcov/Makefile,v 1.1 2006/09/27 12:10:33 corecode Exp $
3 .
include "../Makefile.inc"
4 .
include "${STOPDIR}/cc_tools/Makefile.tools"
7 CFLAGS
+= -DIN_LIBGCC2
-D__GCC_FLOAT_NOT_NEEDED
-DHAVE_GTHR_DEFAULT
13 INSTALL_PIC_ARCHIVE
= yes
15 FUNCS
= _gcov _gcov_merge_add _gcov_merge_single _gcov_merge_delta \
16 _gcov_fork _gcov_execl _gcov_execlp _gcov_execle \
17 _gcov_execv _gcov_execvp _gcov_execve \
18 _gcov_interval_profiler _gcov_pow2_profiler _gcov_one_value_profiler
20 SRCS
= ${FUNCS
:S
/$/.c
/g
}
21 CLEANFILES
+= ${FUNCS
:S
/$/.c
/g
}
23 SRCS
+= insn-flags.h insn-constants.h
27 echo
'#define L${.TARGET:T:R}' > ${.TARGET
}
28 echo
'#include "libgcov.c"' >> ${.TARGET
}