X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=nsm%2FMakefile.am;h=502c0ba334dd75023f5108a98f9c752da97f7c66;hb=ef1f869943d9d6a19d4b2c21059fc9c0b2632a09;hp=6362ddb938a14918327f245123fe83a6ef38617b;hpb=5392b1cfbcc0f83c7ca315c188076a35749f792d;p=deb_libnfs.git diff --git a/nsm/Makefile.am b/nsm/Makefile.am index 6362ddb..502c0ba 100644 --- a/nsm/Makefile.am +++ b/nsm/Makefile.am @@ -18,5 +18,7 @@ nsm-stamp : nsm.x touch nsm-stamp compile_rpc: - rpcgen -h nsm.x | sed -e "s/#include //" | sed -e "s/xdr/zdr/g" -e "s/XDR/ZDR/g" > libnfs-raw-nsm.h - 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 + 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" -e "s/ CLIENT / void /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