2008-10-21 22:05:51

by Chuck Lever III

[permalink] [raw]
Subject: [PATCH 4/5] rpcbind: Squelch make warnings

Eliminate make warnings when building rpcbind and rpcinfo:

make[3]: Circular security.o <- security.o dependency dropped.
make[3]: Circular util.o <- security.o dependency dropped.
make[3]: Circular util.o <- util.o dependency dropped.
make[3]: Circular util.o <- check_bound.o dependency dropped.
make[3]: Circular pmap_svc.o <- security.o dependency dropped.
make[3]: Circular pmap_svc.o <- util.o dependency dropped.
make[3]: Circular pmap_svc.o <- check_bound.o dependency dropped.
make[3]: Circular pmap_svc.o <- pmap_svc.o dependency dropped.

and so on.

Apparently src/Makefile.am needs either a list of source files or a
list of object files, but not both.

Signed-off-by: Chuck Lever <[email protected]>
---

src/Makefile.am | 5 -----
1 files changed, 0 insertions(+), 5 deletions(-)

diff --git a/src/Makefile.am b/src/Makefile.am
index d66b43f..cc0a85b 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -31,9 +31,4 @@ rpcbind_LDFLAGS = -lpthread -ltirpc
rpcbind_LDADD = $(LIB_TIRPC)
AM_CPPFLAGS = -I/usr/include/tirpc -DCHECK_LOCAL -DPORTMAP \
-DFACILITY=LOG_MAIL -DSEVERITY=LOG_INFO
-
-$(rpcbind_OBJECTS) : security.o util.o check_bound.o pmap_svc.o \
- rpcb_svc.o rpcb_svc_com.o rpcb_svc_4.o \
- rpcb_stat.o rpcbind.o warmstart.o
-$(rpcinfo_OBJECTS) : rpcinfo.o