Remove including of libc sources. All the required functions

are exported by libc with prototypes in our standard headers.
I guess at one time this was necessary, but not any longer.
This commit is contained in:
Daniel Eischen 2006-03-10 07:58:02 +00:00
parent 9d793bdd46
commit 03d485eb77
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=156528
2 changed files with 4 additions and 16 deletions

View File

@ -2,15 +2,9 @@
# $FreeBSD$
PROG= rpcinfo
SRCS= rpcinfo.c rpc_generic.c
SRCS= rpcinfo.c
MAN= rpcinfo.8
LIBCDIR= ${.CURDIR}/../../lib/libc
LIBCRPCDIR= ${LIBCDIR}/rpc
LIBCINCLUDE= ${LIBCDIR}/include
CFLAGS+= -I${LIBCRPCDIR} -I${LIBCINCLUDE} -DPORTMAP -DINET6
.PATH: ${LIBCRPCDIR}
CFLAGS+= -DPORTMAP -DINET6
.include <bsd.prog.mk>

View File

@ -1,19 +1,13 @@
# $NetBSD: Makefile,v 1.3 2000/06/20 13:56:43 fvdl Exp $
# $FreeBSD$
LIBCDIR= ${.CURDIR}/../../lib/libc
LIBCRPCDIR= ${LIBCDIR}/rpc
LIBCINCLUDE= ${LIBCDIR}/include
.PATH: ${LIBCRPCDIR}
PROG= rpcbind
MAN= rpcbind.8
SRCS= check_bound.c rpcb_stat.c rpcb_svc_4.c rpcbind.c pmap_svc.c \
rpcb_svc.c rpcb_svc_com.c security.c warmstart.c util.c \
rpc_generic.c
rpcb_svc.c rpcb_svc_com.c security.c warmstart.c util.c
CFLAGS+= -I${LIBCRPCDIR} -I${LIBCINCLUDE} -DPORTMAP -DLIBWRAP
CFLAGS+= -DPORTMAP -DLIBWRAP
.if !defined(NO_INET6)
CFLAGS+= -DINET6