[PATCH 3/3] cld: Add XDR support to lib/Makefile.am
Colin McCabe <[email protected]>
| Newsgroups | org.kernel.vger.hail-devel |
|---|---|
| Message-ID | <[email protected]> |
Add support for processing XDR files to lib/Makefile.am Signed-off-by: Colin McCabe <[email protected]> --- 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