freebsd-dev/lib/libc/compat-43/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

21 lines
553 B
Makefile

# @(#)Makefile.inc 8.1 (Berkeley) 6/2/93
# $Id$
# compat-43 sources
.PATH: ${.CURDIR}/../libc/${MACHINE}/compat-43 ${.CURDIR}/../libc/compat-43
SRCS+= creat.c gethostid.c getwd.c killpg.c sethostid.c setpgrp.c \
setrgid.c setruid.c sigcompat.c
# Only build man pages with libc.
.if ${LIB} == "c"
MAN2+= compat-43/creat.2 compat-43/killpg.2 \
compat-43/sigblock.2 \
compat-43/sigpause.2 compat-43/sigsetmask.2 compat-43/sigvec.2
MAN3+= compat-43/gethostid.3 compat-43/setruid.3
MLINKS+=setruid.3 setrgid.3
MLINKS+=gethostid.3 sethostid.3
.endif