Add support for processing XDR files to lib/Makefile.am Signed-off-by: Colin McCabe <cmccabe@xxxxxxxxxxxxxx> --- lib/Makefile.am | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/lib/Makefile.am b/lib/Makefile.am index e6509e4..7d5f8c2 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am @@ -5,6 +5,15 @@ EXTRA_DIST = INCLUDES = -I$(top_srcdir)/include \ @GLIB_CFLAGS@ +mostlyclean-local: + rm -f *_rpc.h *_rpc_xdr.c + +%_rpc.h: %_rpc.x + rpcgen -h $< > $@ + +%_rpc_xdr.c: %_rpc.x + rpcgen -c $< > $@ + LINK = $(LIBTOOL) --mode=link $(CC) $(CFLAGS) $(LDFLAGS) -o $@ lib_LTLIBRARIES = libcldc.la -- 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