X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=mount%2FMakefile.am;h=138d031b8e444cb630eae020d689f91ed3acb1fc;hb=8e003243fbec4cff4af3e9ca01ea713065336970;hp=c0633169263d1ea129bdb507697cda7aaa4c5696;hpb=f816bf4c7641071d83ed2c796c93ce0ddba9b3b4;p=deb_libnfs.git diff --git a/mount/Makefile.am b/mount/Makefile.am index c063316..138d031 100644 --- a/mount/Makefile.am +++ b/mount/Makefile.am @@ -6,10 +6,11 @@ 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 + mount.c libnfs-raw-mount.c libnfs-raw-mount.h $(mount_GENERATED) : mount-stamp mount-stamp : mount.x @@ -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