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