From 03d485eb77b588b6341d62d57f8d68dd3acc232c Mon Sep 17 00:00:00 2001 From: Daniel Eischen Date: Fri, 10 Mar 2006 07:58:02 +0000 Subject: [PATCH] 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. --- usr.bin/rpcinfo/Makefile | 10 ++-------- usr.sbin/rpcbind/Makefile | 10 ++-------- 2 files changed, 4 insertions(+), 16 deletions(-) diff --git a/usr.bin/rpcinfo/Makefile b/usr.bin/rpcinfo/Makefile index e7283a4f5356..609c245c6a29 100644 --- a/usr.bin/rpcinfo/Makefile +++ b/usr.bin/rpcinfo/Makefile @@ -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 diff --git a/usr.sbin/rpcbind/Makefile b/usr.sbin/rpcbind/Makefile index a52a0be8fa8e..6d87b63ef734 100644 --- a/usr.sbin/rpcbind/Makefile +++ b/usr.sbin/rpcbind/Makefile @@ -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