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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Colin McCabe <cmccabe@xxxxxxxxxxxxxx>
---
 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

--
To unsubscribe from this list: send the line "unsubscribe hail-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Fedora Clound]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux