freebsd-nq/lib/libc/gmon/Makefile.inc
John Birrell 870039320f Changed all paths to be relative to src/lib instead of src/lib/libc
so that all these makefiles can be used to build libc_r too.

Added .if ${LIB} == "c" tests to restrict man page builds to libc
to avoid needlessly building them with libc_r too.

Split libc Makefile into Makefile and Makefile.inc to allow the
libc_r Makefile to include Makefile.inc too.
1997-05-03 03:50:06 +00:00

18 lines
331 B
Makefile

# from @(#)Makefile.inc 8.1 (Berkeley) 6/4/93
# $Id$
# gmon sources
.PATH: ${.CURDIR}/../libc/gmon
SRCS+= gmon.c mcount.c
# Only build man pages with libc.
.if ${LIB} == "c"
MAN3+= gmon/moncontrol.3
MLINKS+= moncontrol.3 monstartup.3
.endif
# mcount cannot be compiled with profiling
mcount.po: mcount.o
cp mcount.o mcount.po