Source-Changes-HG archive

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

[src/trunk]: src/tools Build getcap.c only once.



details:   https://anonhg.NetBSD.org/src/rev/9ee54e49111b
branches:  trunk
changeset: 779587:9ee54e49111b
user:      joerg <joerg%NetBSD.org@localhost>
date:      Mon Jun 04 18:53:02 2012 +0000

description:
Build getcap.c only once.

diffstat:

 tools/cap_mkdb/Makefile  |  5 +----
 tools/compat/Makefile    |  4 ++--
 tools/disklabel/Makefile |  4 ++--
 tools/fdisk/Makefile     |  4 ++--
 4 files changed, 7 insertions(+), 10 deletions(-)

diffs (58 lines):

diff -r e93ace841147 -r 9ee54e49111b tools/cap_mkdb/Makefile
--- a/tools/cap_mkdb/Makefile   Mon Jun 04 17:53:08 2012 +0000
+++ b/tools/cap_mkdb/Makefile   Mon Jun 04 18:53:02 2012 +0000
@@ -1,9 +1,6 @@
-#      $NetBSD: Makefile,v 1.2 2002/12/08 20:19:58 thorpej Exp $
+#      $NetBSD: Makefile,v 1.3 2012/06/04 18:53:02 joerg Exp $
 
 HOSTPROGNAME=  ${_TOOL_PREFIX}cap_mkdb
 HOST_SRCDIR=   usr.bin/cap_mkdb
-HOST_SRCS=     getcap.c
 
 .include "${.CURDIR}/../Makefile.host"
-
-.PATH: ${.CURDIR}/../../lib/libc/gen
diff -r e93ace841147 -r 9ee54e49111b tools/compat/Makefile
--- a/tools/compat/Makefile     Mon Jun 04 17:53:08 2012 +0000
+++ b/tools/compat/Makefile     Mon Jun 04 18:53:02 2012 +0000
@@ -1,10 +1,10 @@
-#      $NetBSD: Makefile,v 1.57 2012/06/03 21:02:50 joerg Exp $
+#      $NetBSD: Makefile,v 1.58 2012/06/04 18:53:02 joerg Exp $
 
 HOSTLIB=       nbcompat
 
 SRCS=          atoll.c basename.c cdbw.c dirname.c \
                fgetln.c flock.c fparseln.c fpurge.c \
-               getline.c getmode.c getopt_long.c gettemp.c \
+               getcap.c getline.c getmode.c getopt_long.c gettemp.c \
                heapsort.c \
                issetugid.c lchflags.c lchmod.c lchown.c libyywrap.c \
                md2.c md2hl.c md4c.c md4hl.c md5c.c md5hl.c \
diff -r e93ace841147 -r 9ee54e49111b tools/disklabel/Makefile
--- a/tools/disklabel/Makefile  Mon Jun 04 17:53:08 2012 +0000
+++ b/tools/disklabel/Makefile  Mon Jun 04 18:53:02 2012 +0000
@@ -1,8 +1,8 @@
-#      $NetBSD: Makefile,v 1.4 2010/06/19 23:11:10 riz Exp $
+#      $NetBSD: Makefile,v 1.5 2012/06/04 18:53:03 joerg Exp $
 
 HOSTPROGNAME=  nbdisklabel-${MAKEWRAPPERMACHINE}
 HOST_SRCDIR=   sbin/disklabel
-HOST_SRCS=     getcap.c disklabel.c bswap.c
+HOST_SRCS=     disklabel.c bswap.c
 
 NOMAN= # defined
 
diff -r e93ace841147 -r 9ee54e49111b tools/fdisk/Makefile
--- a/tools/fdisk/Makefile      Mon Jun 04 17:53:08 2012 +0000
+++ b/tools/fdisk/Makefile      Mon Jun 04 18:53:02 2012 +0000
@@ -1,8 +1,8 @@
-#      $NetBSD: Makefile,v 1.5 2012/05/05 16:03:55 tsutsui Exp $
+#      $NetBSD: Makefile,v 1.6 2012/06/04 18:53:03 joerg Exp $
 
 HOSTPROGNAME=  ${MACHINE_GNU_PLATFORM}-fdisk
 HOST_SRCDIR=   sbin/fdisk
-HOST_SRCS=     getcap.c disklabel.c
+HOST_SRCS=     disklabel.c
 
 .include "${.CURDIR}/../Makefile.nbincludes"
 .include "${.CURDIR}/../Makefile.host"



Home | Main Index | Thread Index | Old Index