Annotation of src/lib/libc/gmon/Makefile.inc, Revision 1.8
1.8 ! lukem 1: # $NetBSD: Makefile.inc,v 1.7 2004/05/10 22:16:42 thorpej Exp $
1.4 cgd 2: # @(#)Makefile.inc 8.1 (Berkeley) 6/4/93
1.1 cgd 3:
4: # gmon sources
1.5 thorpej 5: .PATH: ${.CURDIR}/gmon ${ARCHDIR}/gmon
6:
7: .-include "${ARCHDIR}/gmon/Makefile.inc"
1.1 cgd 8:
9: SRCS+= gmon.c mcount.c
1.3 cgd 10: MAN+= moncontrol.3
1.6 briggs 11: MLINKS+=moncontrol.3 monstartup.3
1.1 cgd 12:
1.8 ! lukem 13: .if (${MACHINE_ARCH} == "mipseb") || (${MACHINE_ARCH} == "mipsel")
! 14: # Turn off as(1) warnings on MIPS, since warnings are fatal with WARNS>0
! 15: # and mcount.c causes warnings from as(1).
! 16: # mcount.c should be fixed and this test removed.
! 17: #
! 18: COPTS.mcount.c+=-Wa,--no-warn
! 19: .endif
! 20:
! 21:
1.7 thorpej 22: # mcount and gmon cannot be compiled with profiling
1.1 cgd 23: mcount.po: mcount.o
24: cp mcount.o mcount.po
1.7 thorpej 25:
26: gmon.po: gmon.o
27: cp gmon.o gmon.po
CVSweb <webmaster@jp.NetBSD.org>