Add uid/gid to the stat data returned in the readdir directoryentry
[deb_libnfs.git] / rquota / Makefile.am
1 noinst_LTLIBRARIES = librquota.la
2
3 rquota_SOURCES_GENERATED =
4 rquota_HEADERS_GENERATED =
5 rquota_GENERATED = $(rquota_SOURCES_GENERATED) $(rquota_HEADERS_GENERATED)
6
7 CLEANFILES = $(rquota_GENERATED) rquota-stamp
8
9 librquota_la_CPPFLAGS = -I$(abs_top_srcdir)/include \
10 -I$(abs_top_srcdir)/include/nfsc
11 librquota_la_SOURCES = \
12 $(rquota_SOURCES_GENERATED) \
13 rquota.c libnfs-raw-rquota.c
14
15 $(rquota_GENERATED) : rquota-stamp
16 rquota-stamp : rquota.x
17 rm -f $(rquota_GENERATED)
18 touch rquota-stamp
19
20 compile_rpc:
21 rpcgen -h rquota.x | sed -e "s/#include <rpc\/rpc.h>//" | sed -e "s/xdr/zdr/g" -e "s/XDR/ZDR/g" > libnfs-raw-rquota.h
22 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