Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/tools/compile_et No need to compile strlcpy.c and strlcat.c ...



details:   https://anonhg.NetBSD.org/src/rev/a8d8b8ec37f9
branches:  trunk
changeset: 751392:a8d8b8ec37f9
user:      tsutsui <tsutsui%NetBSD.org@localhost>
date:      Wed Feb 03 12:58:53 2010 +0000

description:
No need to compile strlcpy.c and strlcat.c here.

They are in libnbcompat.a, not in src/lib/libc/string
(moved into src/common/lib/libc/string), and
strlcpy.c and strlcat.c derived from crypto/dist/heimdal/lib/roken
won't include the target functions if nbtool_config.h defines
HAVE_STRLCPY and HAVE_STRLCAT.

diffstat:

 tools/compile_et/Makefile |  6 +-----
 1 files changed, 1 insertions(+), 5 deletions(-)

diffs (19 lines):

diff -r 54803434e903 -r a8d8b8ec37f9 tools/compile_et/Makefile
--- a/tools/compile_et/Makefile Wed Feb 03 12:40:39 2010 +0000
+++ b/tools/compile_et/Makefile Wed Feb 03 12:58:53 2010 +0000
@@ -1,14 +1,10 @@
-#      $NetBSD: Makefile,v 1.5 2003/11/16 14:14:18 lukem Exp $
+#      $NetBSD: Makefile,v 1.6 2010/02/03 12:58:53 tsutsui Exp $
 
 HOSTPROGNAME=  ${_TOOL_PREFIX}compile_et
 HOST_SRCDIR=   usr.bin/compile_et
 HOST_SRCS=     getarg.c print_version.c warnerr.c strupr.c get_window_size.c
 HOST_CPPFLAGS= -I${DIST}/heimdal/lib/roken
 
-# uncommon library functions
-.PATH: ${.CURDIR}/../../lib/libc/string
-HOST_SRCS+=    strlcpy.c strlcat.c
-
 make-print-version.lo: ${.CURDIR}/../../include/heimdal/version.h
 make-print-version: make-print-version.lo
        ${_MKTARGET_LINK}



Home | Main Index | Thread Index | Old Index