summaryrefslogtreecommitdiffstats
path: root/lib/libc/compat-43/Makefile.inc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/compat-43/Makefile.inc')
-rw-r--r--lib/libc/compat-43/Makefile.inc19
1 files changed, 13 insertions, 6 deletions
diff --git a/lib/libc/compat-43/Makefile.inc b/lib/libc/compat-43/Makefile.inc
index e4d66f5..25d7763 100644
--- a/lib/libc/compat-43/Makefile.inc
+++ b/lib/libc/compat-43/Makefile.inc
@@ -1,13 +1,20 @@
# @(#)Makefile.inc 8.1 (Berkeley) 6/2/93
+# $Id$
# compat-43 sources
-.PATH: ${.CURDIR}/${MACHINE}/compat-43 ${.CURDIR}/compat-43
+.PATH: ${.CURDIR}/../libc/${MACHINE}/compat-43 ${.CURDIR}/../libc/compat-43
SRCS+= creat.c gethostid.c getwd.c killpg.c sethostid.c setpgrp.c \
- setregid.c setreuid.c setrgid.c setruid.c sigcompat.c
+ setrgid.c setruid.c sigcompat.c
-MAN2+= creat.0 gethostid.0 killpg.0 setregid.0 setreuid.0 setruid.0 \
- sigblock.0 sigpause.0 sigsetmask.0 sigvec.0
+# 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
-MLINKS+=setruid.2 setrgid.2
-MLINKS+=gethostid.2 sethostid.2
+MAN3+= compat-43/gethostid.3 compat-43/setruid.3
+
+MLINKS+=setruid.3 setrgid.3
+MLINKS+=gethostid.3 sethostid.3
+.endif
OpenPOWER on IntegriCloud