X-Git-Url: https://git.piment-noir.org/?p=deb_libnfs.git;a=blobdiff_plain;f=portmap%2FMakefile.am;h=5fcccfa43f39af5bee1c14e7857239a6d52034cd;hp=682ca2ac5a6695fbe6a0aae59f5b567c2e365880;hb=c76fd7199ffdf118c43357af72a29f56f245db04;hpb=f1f22dbf6222c4899b45d9c83ccf1b6314464869 diff --git a/portmap/Makefile.am b/portmap/Makefile.am index 682ca2a..5fcccfa 100644 --- a/portmap/Makefile.am +++ b/portmap/Makefile.am @@ -19,6 +19,6 @@ portmap-stamp : portmap.x compile_rpc: cat portmap.x | head -29 >libnfs-raw-portmap.h - rpcgen -h portmap.x | sed -e "s/#include //" | sed -e "s/xdr/zdr/g" -e "s/XDR/ZDR/g" >> libnfs-raw-portmap.h + rpcgen -h portmap.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-portmap.h cat portmap.x | head -29 >libnfs-raw-portmap.c - rpcgen -c portmap.x | sed -e "s/#include \".*portmap.h\"/#include \"libnfs-zdr.h\"\n#include \"libnfs-raw-portmap.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-portmap.c + rpcgen -c portmap.x | sed -e "s/#include \".*portmap.h\"/#include \"libnfs-zdr.h\"\n#include \"libnfs-raw-portmap.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-portmap.c