Home | History | Annotate | Line # | Download | only in gmon
Makefile.inc revision 1.9.2.1
      1  1.9.2.1   bouyer #	$NetBSD: Makefile.inc,v 1.9.2.1 2011/02/08 16:18:59 bouyer 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.2.1   bouyer .if (${MACHINE_CPU} == "mips")
     14      1.8    lukem # Turn off as(1) warnings on MIPS, since warnings are fatal with WARNS>0
     15      1.8    lukem # and mcount.c causes warnings from as(1).
     16      1.8    lukem # mcount.c should be fixed and this test removed.
     17      1.8    lukem #
     18      1.8    lukem COPTS.mcount.c+=-Wa,--no-warn
     19      1.8    lukem .endif
     20      1.8    lukem 
     21      1.8    lukem 
     22      1.7  thorpej # mcount and gmon cannot be compiled with profiling
     23      1.1      cgd mcount.po: mcount.o
     24      1.1      cgd 	cp mcount.o mcount.po
     25      1.7  thorpej 
     26      1.7  thorpej gmon.po: gmon.o
     27      1.7  thorpej 	cp gmon.o gmon.po
     28