Merge from vendor branch NCURSES:
[dragonfly.git] / gnu / lib / gcc34 / libgcov / Makefile
1 # $DragonFly: src/gnu/lib/gcc34/libgcov/Makefile,v 1.1 2004/06/14 22:27:52 joerg Exp $
2
3 .include "../Makefile.inc"
4 .include "${STOPDIR}/cc_tools/Makefile.tools"
5
6 CFLAGS+=        -I.
7 CFLAGS+=        -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -DHAVE_GTHR_DEFAULT
8 CFLAGS+=        -DIN_GCC
9
10 LIB=            gcov
11
12 # used by shared libs
13 INSTALL_PIC_ARCHIVE=    yes
14
15 FUNCS=  _gcov _gcov_merge_add _gcov_merge_delta _gcov_merge_single
16
17 SRCS=   ${FUNCS:S/$/.c/g}
18 SRCS+=  insn-flags.h insn-constants.h
19
20 .for F in ${FUNCS}
21 ${F}.c:
22         echo '#define L${.TARGET:T:R}' > ${.TARGET}
23         echo '#include "libgcc2.c"' >> ${.TARGET}
24 .endfor
25
26 .include <bsd.lib.mk>