1 1.8.6.2 lukem # $NetBSD: Makefile.inc,v 1.8.6.2 2008/07/29 14:20:13 lukem Exp $ 2 1.8.6.2 lukem # @(#)Makefile.inc 8.1 (Berkeley) 6/4/93 3 1.8.6.2 lukem 4 1.8.6.2 lukem # gmon sources 5 1.8.6.2 lukem .PATH: ${.CURDIR}/gmon ${ARCHDIR}/gmon 6 1.8.6.2 lukem 7 1.8.6.2 lukem .-include "${ARCHDIR}/gmon/Makefile.inc" 8 1.8.6.2 lukem 9 1.8.6.2 lukem SRCS+= gmon.c mcount.c 10 1.8.6.2 lukem MAN+= moncontrol.3 11 1.8.6.2 lukem MLINKS+=moncontrol.3 monstartup.3 12 1.8.6.2 lukem 13 1.8.6.2 lukem .if (${MACHINE_ARCH} == "mipseb") || (${MACHINE_ARCH} == "mipsel") 14 1.8.6.2 lukem # Turn off as(1) warnings on MIPS, since warnings are fatal with WARNS>0 15 1.8.6.2 lukem # and mcount.c causes warnings from as(1). 16 1.8.6.2 lukem # mcount.c should be fixed and this test removed. 17 1.8.6.2 lukem # 18 1.8.6.2 lukem COPTS.mcount.c+=-Wa,--no-warn 19 1.8.6.2 lukem .endif 20 1.8.6.2 lukem 21 1.8.6.2 lukem 22 1.8.6.2 lukem # mcount and gmon cannot be compiled with profiling 23 1.8.6.2 lukem mcount.po: mcount.o 24 1.8.6.2 lukem cp mcount.o mcount.po 25 1.8.6.2 lukem 26 1.8.6.2 lukem gmon.po: gmon.o 27 1.8.6.2 lukem cp gmon.o gmon.po 28