vm: fix a null dereference on out-of-memory
[minix.git] / lib / libc / gmon / Makefile.inc
blobf735d56baa1a100652df4453bebe578c74a2fecd
1 #       $NetBSD: Makefile.inc,v 1.9 2009/12/17 06:54:51 mrg Exp $
2 #       @(#)Makefile.inc        8.1 (Berkeley) 6/4/93
4 # gmon sources
5 .PATH: ${.CURDIR}/gmon ${ARCHDIR}/gmon
7 .-include "${ARCHDIR}/gmon/Makefile.inc"
9 SRCS+=  gmon.c mcount.c
10 MAN+=   moncontrol.3
11 MLINKS+=moncontrol.3 monstartup.3
13 .if (${MACHINE_ARCH} == "mipseb") || (${MACHINE_ARCH} == "mipsel") || \
14     (${MACHINE_ARCH} == "mips64eb") || (${MACHINE_ARCH} == "mips64el")
15 # Turn off as(1) warnings on MIPS, since warnings are fatal with WARNS>0
16 # and mcount.c causes warnings from as(1).
17 # mcount.c should be fixed and this test removed.
19 COPTS.mcount.c+=-Wa,--no-warn
20 .endif
23 # mcount and gmon cannot be compiled with profiling
24 mcount.po: mcount.o
25         cp mcount.o mcount.po
27 gmon.po: gmon.o
28         cp gmon.o gmon.po