X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=rquota%2FMakefile.am;h=fae3e1a8adc7b67fd4aa2850b525220374e96621;hb=0672f75b57b9e0fbf56079944fde5b2fc9de27be;hp=02f86f7f42bfd69834340ee0545304d5d121442b;hpb=5392b1cfbcc0f83c7ca315c188076a35749f792d;p=deb_libnfs.git diff --git a/rquota/Makefile.am b/rquota/Makefile.am index 02f86f7..fae3e1a 100644 --- a/rquota/Makefile.am +++ b/rquota/Makefile.am @@ -16,7 +16,9 @@ $(rquota_GENERATED) : rquota-stamp rquota-stamp : rquota.x rm -f $(rquota_GENERATED) touch rquota-stamp - + compile_rpc: - rpcgen -h rquota.x | sed -e "s/#include //" | sed -e "s/xdr/zdr/g" -e "s/XDR/ZDR/g" > libnfs-raw-rquota.h - rpcgen -c rquota.x | sed -e "s/#include \".*rquota.h\"/#include \"libnfs-xdr.h\"\n#include \"libnfs-raw-rquota.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-rquota.c + cat rquota.x | head -29 >libnfs-raw-rquota.h + rpcgen -h rquota.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-rquota.h + cat rquota.x | head -29 >libnfs-raw-rquota.c + rpcgen -c rquota.x | sed -e "s/#include \".*rquota.h\"/#include \"libnfs-xdr.h\"\n#include \"libnfs-raw-rquota.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-rquota.c