Home | History | Annotate | Line # | Download | only in gmon
Makefile.inc revision 1.9
      1  1.9      mrg #	$NetBSD: Makefile.inc,v 1.9 2009/12/17 06:54:51 mrg Exp $
      2  1.4      cgd #	@(#)Makefile.inc	8.1 (Berkeley) 6/4/93
      3  1.1      cgd 
      4  1.1      cgd # gmon sources
      5  1.5  thorpej .PATH: ${.CURDIR}/gmon ${ARCHDIR}/gmon
      6  1.5  thorpej 
      7  1.5  thorpej .-include "${ARCHDIR}/gmon/Makefile.inc"
      8  1.1      cgd 
      9  1.1      cgd SRCS+=	gmon.c mcount.c
     10  1.3      cgd MAN+=	moncontrol.3
     11  1.6   briggs MLINKS+=moncontrol.3 monstartup.3
     12  1.1      cgd 
     13  1.9      mrg .if (${MACHINE_ARCH} == "mipseb") || (${MACHINE_ARCH} == "mipsel") || \
     14  1.9      mrg     (${MACHINE_ARCH} == "mips64eb") || (${MACHINE_ARCH} == "mips64el")
     15  1.8    lukem # Turn off as(1) warnings on MIPS, since warnings are fatal with WARNS>0
     16  1.8    lukem # and mcount.c causes warnings from as(1).
     17  1.8    lukem # mcount.c should be fixed and this test removed.
     18  1.8    lukem #
     19  1.8    lukem COPTS.mcount.c+=-Wa,--no-warn
     20  1.8    lukem .endif
     21  1.8    lukem 
     22  1.8    lukem 
     23  1.7  thorpej # mcount and gmon cannot be compiled with profiling
     24  1.1      cgd mcount.po: mcount.o
     25  1.1      cgd 	cp mcount.o mcount.po
     26  1.7  thorpej 
     27  1.7  thorpej gmon.po: gmon.o
     28  1.7  thorpej 	cp gmon.o gmon.po
     29