X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=nsm%2FMakefile.am;h=9e45099f0f134c58b723f1572c8987a04d3174d4;hb=0672f75b57b9e0fbf56079944fde5b2fc9de27be;hp=3bf06a84ed83051b931fbedd2f269eb9bba5d3bf;hpb=be243cfa9bedd8ac1b350a3af7c48d01800d8679;p=deb_libnfs.git diff --git a/nsm/Makefile.am b/nsm/Makefile.am index 3bf06a8..9e45099 100644 --- a/nsm/Makefile.am +++ b/nsm/Makefile.am @@ -19,6 +19,6 @@ nsm-stamp : nsm.x compile_rpc: cat nsm.x | head -29 >libnfs-raw-nsm.h - rpcgen -h nsm.x | sed -e "s/#include //" | sed -e "s/xdr/zdr/g" -e "s/XDR/ZDR/g" >> libnfs-raw-nsm.h + rpcgen -h nsm.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-nsm.h cat nsm.x | head -29 >libnfs-raw-nsm.c - rpcgen -c nsm.x | sed -e "s/#include \".*nsm.h\"/#include \"libnfs-xdr.h\"\n#include \"libnfs-raw-nsm.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-nsm.c + rpcgen -c nsm.x | sed -e "s/#include \".*nsm.h\"/#include \"libnfs-xdr.h\"\n#include \"libnfs-raw-nsm.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-nsm.c