diff options
author | jb <jb@FreeBSD.org> | 1997-05-03 03:50:06 +0000 |
---|---|---|
committer | jb <jb@FreeBSD.org> | 1997-05-03 03:50:06 +0000 |
commit | a1337bb0aea1f73b56821753ae8b9758996f55e4 (patch) | |
tree | e2988fbdcf4bbeae883b2bf6b71034d5bd4369ff /lib/libc/compat-43 | |
parent | 8063125723bbc9af61ddfefc3de495d2f827e118 (diff) | |
download | FreeBSD-src-a1337bb0aea1f73b56821753ae8b9758996f55e4.zip FreeBSD-src-a1337bb0aea1f73b56821753ae8b9758996f55e4.tar.gz |
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.
Diffstat (limited to 'lib/libc/compat-43')
-rw-r--r-- | lib/libc/compat-43/Makefile.inc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/libc/compat-43/Makefile.inc b/lib/libc/compat-43/Makefile.inc index 1d06c57d..25d7763 100644 --- a/lib/libc/compat-43/Makefile.inc +++ b/lib/libc/compat-43/Makefile.inc @@ -1,11 +1,14 @@ # @(#)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 \ 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 @@ -14,3 +17,4 @@ MAN3+= compat-43/gethostid.3 compat-43/setruid.3 MLINKS+=setruid.3 setrgid.3 MLINKS+=gethostid.3 sethostid.3 +.endif |