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/i386/sys | |
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/i386/sys')
-rw-r--r-- | lib/libc/i386/sys/Makefile.inc | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/libc/i386/sys/Makefile.inc b/lib/libc/i386/sys/Makefile.inc index 6774dd3..0cf1aad 100644 --- a/lib/libc/i386/sys/Makefile.inc +++ b/lib/libc/i386/sys/Makefile.inc @@ -1,10 +1,13 @@ # from: Makefile.inc,v 1.1 1993/09/03 19:04:23 jtc Exp -# $Id$ +# $Id: Makefile.inc,v 1.4 1997/02/22 14:59:27 peter Exp $ -.PATH: ${.CURDIR}/${MACHINE}/sys +.PATH: ${.CURDIR}/../libc/${MACHINE}/sys SRCS+= i386_get_ldt.c i386_set_ldt.c +# Only build man pages with libc. +.if ${LIB} == "c" MAN2+= i386/sys/i386_get_ldt.2 MLINKS+=i386_get_ldt.2 i386_set_ldt.2 +.endif |