cld: use portable Makefile rules for rpcgen files
PATCH 1/1 cld: use portable Makefile rules for rpcgen files
Signed-off-by Colin McCabe <[email protected]>
--- lib/Makefile.am | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
lib/Makefile.am +2 -2
@@ -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 $@
Signature · 1 line
1.6.2.5
Jeff Garzik
AppliedQuoted 10 lines · Colin McCabe
Signed-off-by Colin McCabe<[email protected]>--- lib/Makefile.am | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)lib/Makefile.am +0
-0
lib/Makefile.am INCLUDES = -I$(top_srcdir)/include \ · line 17
Quoted 10 lines
lib/Makefile.am +2
-2@@ -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'> $@
applied