X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=mount%2FMakefile.am;h=9dadbf8bfc2c6a477aeceac85e544b547be8b79c;hb=ec70621f42e2074b454637813c1985b35552b2b3;hp=c0633169263d1ea129bdb507697cda7aaa4c5696;hpb=9c29b498f4ad14318ce8b83e5d622be1463fa1eb;p=deb_libnfs.git diff --git a/mount/Makefile.am b/mount/Makefile.am index c063316..9dadbf8 100644 --- a/mount/Makefile.am +++ b/mount/Makefile.am @@ -6,7 +6,8 @@ mount_GENERATED = $(mount_SOURCES_GENERATED) $(mount_HEADERS_GENERATED) CLEANFILES = $(mount_GENERATED) mount-stamp -libmount_la_CPPFLAGS = -I$(abs_top_srcdir)/include +libmount_la_CPPFLAGS = -I$(abs_top_srcdir)/include \ + -I$(abs_top_srcdir)/include/nfsc libmount_la_SOURCES = \ $(mount_SOURCES_GENERATED) \ mount.c libnfs-raw-mount.c @@ -17,5 +18,5 @@ mount-stamp : mount.x touch mount-stamp compile_rpc: - rpcgen -h @RPCGENFLAGS@ mount.x | sed -e "s/#include //" | sed -e "s/xdr/zdr/g" -e "s/XDR/ZDR/g" > libnfs-raw-mount.h - rpcgen -c @RPCGENFLAGS@ mount.x | sed -e "s/#include \".*mount.h\"/#include \"libnfs-xdr.h\"\n#include \"libnfs-raw-mount.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-mount.c + rpcgen -h mount.x | sed -e "s/#include //" | sed -e "s/xdr/zdr/g" -e "s/XDR/ZDR/g" > libnfs-raw-mount.h + rpcgen -c mount.x | sed -e "s/#include \".*mount.h\"/#include \"libnfs-xdr.h\"\n#include \"libnfs-raw-mount.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-mount.c