X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=nlm%2FMakefile.am;h=3ed74b755fc33a616174bd59e2be737236a5aa8c;hb=af8d37c8b703f3dc22d3ff1c7578b16e84c25050;hp=6945c1ba64a2b7826c574b1d3869e93fb2eaaa4e;hpb=763cd6e3e2bbb6906186e7ed6a86660276b596b7;p=deb_libnfs.git diff --git a/nlm/Makefile.am b/nlm/Makefile.am index 6945c1b..3ed74b7 100644 --- a/nlm/Makefile.am +++ b/nlm/Makefile.am @@ -6,10 +6,11 @@ nlm_GENERATED = $(nlm_SOURCES_GENERATED) $(nlm_HEADERS_GENERATED) CLEANFILES = $(nlm_GENERATED) nlm-stamp -libnlm_la_CPPFLAGS = -I$(abs_top_srcdir)/include +libnlm_la_CPPFLAGS = -I$(abs_top_srcdir)/include \ + -I$(abs_top_srcdir)/include/nfsc libnlm_la_SOURCES = \ $(nlm_SOURCES_GENERATED) \ - nlm.c libnfs-raw-nlm.c + nlm.c libnfs-raw-nlm.c libnfs-raw-nlm.h $(nlm_GENERATED) : nlm-stamp nlm-stamp : nlm.x @@ -17,5 +18,7 @@ nlm-stamp : nlm.x touch nlm-stamp compile_rpc: - rpcgen -h @RPCGENFLAGS@ nlm.x | sed -e "s/#include //" | sed -e "s/xdr/zdr/g" -e "s/XDR/ZDR/g" > libnfs-raw-nlm.h - rpcgen -c @RPCGENFLAGS@ nlm.x | sed -e "s/#include \".*nlm.h\"/#include \"libnfs-xdr.h\"\n#include \"libnfs-raw-nlm.h\"/" -e "s/xdr/zdr/g" -e "s/XDR/ZDR/g" > libnfs-raw-nlm.c + cat nlm.x | head -29 >libnfs-raw-nlm.h + rpcgen -h nlm.x | sed -e "s/#include //" | sed -e "s/xdr/zdr/g" -e "s/XDR/ZDR/g" -e "s/ CLIENT / void /g" -e "s/SVCXPRT /void /g" -e "s/bool_t/uint32_t/g" >> libnfs-raw-nlm.h + cat nlm.x | head -29 >libnfs-raw-nlm.c + rpcgen -c nlm.x | sed -e "s/#include \".*nlm.h\"/#include \"libnfs-xdr.h\"\n#include \"libnfs-raw-nlm.h\"/" -e "s/xdr/zdr/g" -e "s/XDR/ZDR/g" -e "s/register int32_t \*buf;/register int32_t *buf;\n buf = NULL;/" -e "s/bool_t/uint32_t/g" >> libnfs-raw-nlm.c