From 870039320ffbf6d3defd48faa288bb650ca2a1cb Mon Sep 17 00:00:00 2001 From: John Birrell Date: Sat, 3 May 1997 03:50:06 +0000 Subject: 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. --- lib/libc/nls/Makefile.inc | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'lib/libc/nls') diff --git a/lib/libc/nls/Makefile.inc b/lib/libc/nls/Makefile.inc index 22c693ba669d..6d2aceacb423 100644 --- a/lib/libc/nls/Makefile.inc +++ b/lib/libc/nls/Makefile.inc @@ -1,6 +1,11 @@ -# $NetBSD: Makefile.inc,v 1.7 1995/02/27 13:06:20 cgd Exp $ +# from $NetBSD: Makefile.inc,v 1.7 1995/02/27 13:06:20 cgd Exp $ +# $Id$ -.PATH: ${.CURDIR}/nls +.PATH: ${.CURDIR}/../libc/nls SRCS+= catclose.c catgets.c catopen.c msgcat.c + +# Only build man pages with libc. +.if ${LIB} == "c" MAN3+= nls/catclose.3 nls/catgets.3 nls/catopen.3 +.endif -- cgit v1.3