X-Git-Url: https://git.piment-noir.org/?p=deb_libnfs.git;a=blobdiff_plain;f=portmap%2FMakefile.am;h=682ca2ac5a6695fbe6a0aae59f5b567c2e365880;hp=4d486fc3f79d451eade9ac3d829a7ca6065efdd3;hb=a0c4ea7d9f4ad7fab543c064c47be7d334a9ceda;hpb=390ff38ad1689f0708cdb18811b3b7d5d616cba7 diff --git a/portmap/Makefile.am b/portmap/Makefile.am index 4d486fc..682ca2a 100644 --- a/portmap/Makefile.am +++ b/portmap/Makefile.am @@ -18,5 +18,7 @@ portmap-stamp : portmap.x touch portmap-stamp compile_rpc: - rpcgen -h portmap.x | sed -e "s/#include //" | sed -e "s/xdr/zdr/g" -e "s/XDR/ZDR/g" > libnfs-raw-portmap.h - 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 + 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 + 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