[PATCH] cld: use portable Makefile rules for rpcgen files

Colin McCabe <[email protected]>
Newsgroups org.kernel.vger.hail-devel
Message-ID <[email protected]>
Signed-off-by: Colin McCabe <[email protected]>
---
 lib/Makefile.am |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/Makefile.am b/lib/Makefile.am
index d3f1a5d..75b7233 100644
--- a/lib/Makefile.am
+++ b/lib/Makefile.am
@@ -10,10 +10,10 @@ INCLUDES		= -I$(top_srcdir)/include	\
 mostlyclean-local:
 	rm -f *_rpc.h *_rpc_xdr.c
 
-%_rpc.h: %_rpc.x
+cld_msg_rpc.h: $(srcdir)/cld_msg_rpc.x
 	rpcgen -h $< > $@
 
-%_rpc_xdr.c: %_rpc.x
+cld_msg_rpc_xdr.c: $(srcdir)/cld_msg_rpc.x
 	rpcgen -c $< | grep -v 'register int32_t.*buf' > $@
 
 LINK = $(LIBTOOL) --mode=link $(CC) $(CFLAGS) $(LDFLAGS) -o $@
-- 
1.6.2.5
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.