Build getcap.c only once.

This commit is contained in:
joerg 2012-06-04 18:53:02 +00:00
parent 4f3e64d772
commit 571103e860
4 changed files with 7 additions and 10 deletions

View File

@ -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

View File

@ -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 \

View File

@ -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

View File

@ -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"