Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/lib/libc/Makefile,v rcsdiff: /ftp/cvs/cvsroot/src/lib/libc/Makefile,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.141 retrieving revision 1.142 diff -u -p -r1.141 -r1.142 --- src/lib/libc/Makefile 2010/04/25 00:54:46 1.141 +++ src/lib/libc/Makefile 2010/05/30 08:28:53 1.142 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.141 2010/04/25 00:54:46 joerg Exp $ +# $NetBSD: Makefile,v 1.142 2010/05/30 08:28:53 tnozaki Exp $ # @(#)Makefile 8.2 (Berkeley) 2/3/94 # # All library objects contain sccsid strings by default; they may be @@ -57,7 +57,9 @@ COMPATDIR=${.CURDIR}/compat .include "${.CURDIR}/atomic/Makefile.inc" .include "${.CURDIR}/cdb/Makefile.inc" .include "${.CURDIR}/db/Makefile.inc" +.if (${CITRUS} == "yes") .include "${.CURDIR}/citrus/Makefile.inc" +.endif .include "${.CURDIR}/compat-43/Makefile.inc" .include "${.CURDIR}/dlfcn/Makefile.inc" .include "${.CURDIR}/gdtoa/Makefile.inc" @@ -132,7 +134,9 @@ FILESDIR= /var/db # workaround for I18N stuffs: build singlebyte setlocale() for libc.a, # multibyte for libc.so. the quirk should be removed when we support # dlopen() from within statically linked binaries. +.if (${CITRUS} == "yes") CSHLIBFLAGS+= -D_I18N_DYNAMIC +.endif .include