X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=sidebyside;f=nlm%2FMakefile.am;h=dd91cb97f707837e6f1724cdf1e9f546c2d97504;hb=refs%2Ftags%2Fupstream%2F1.9.5;hp=0cc563dbf5b327c92010b6adace537c80ed5ded8;hpb=f1f22dbf6222c4899b45d9c83ccf1b6314464869;p=deb_libnfs.git diff --git a/nlm/Makefile.am b/nlm/Makefile.am index 0cc563d..dd91cb9 100644 --- a/nlm/Makefile.am +++ b/nlm/Makefile.am @@ -19,6 +19,6 @@ nlm-stamp : nlm.x compile_rpc: 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" >> libnfs-raw-nlm.h + rpcgen -h nlm.x | sed -e "s/#include /#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;/" >> 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