X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=nfs%2FMakefile.am;h=0f1c80ee41f8461518ba513621f7cb861013b8a1;hb=e803ae576042a8c9d6f61e1e1ec58f26bf56aaa2;hp=141597d10dae16604f67d6c16de73ca002a9a680;hpb=763cd6e3e2bbb6906186e7ed6a86660276b596b7;p=deb_libnfs.git diff --git a/nfs/Makefile.am b/nfs/Makefile.am index 141597d..0f1c80e 100644 --- a/nfs/Makefile.am +++ b/nfs/Makefile.am @@ -6,7 +6,8 @@ nfs_GENERATED = $(nfs_SOURCES_GENERATED) $(nfs_HEADERS_GENERATED) CLEANFILES = $(nfs_GENERATED) nfs-stamp -libnfs_la_CPPFLAGS = -I$(abs_top_srcdir)/include +libnfs_la_CPPFLAGS = -I$(abs_top_srcdir)/include \ + -I$(abs_top_srcdir)/include/nfsc libnfs_la_SOURCES = \ $(nfs_SOURCES_GENERATED) \ nfs.c nfsacl.c libnfs-raw-nfs.c @@ -18,4 +19,4 @@ nfs-stamp : nfs.x compile_rpc: rpcgen -h @RPCGENFLAGS@ nfs.x | sed -e "s/#include //" | sed -e "s/xdr/zdr/g" -e "s/XDR/ZDR/g" > libnfs-raw-nfs.h - rpcgen -c @RPCGENFLAGS@ nfs.x | sed -e "s/#include \".*nfs.h\"/#include \"libnfs-xdr.h\"\n#include \"libnfs-raw-nfs.h\"/" -e "s/xdr/zdr/g" -e "s/XDR/ZDR/g" > libnfs-raw-nfs.c + rpcgen -c @RPCGENFLAGS@ nfs.x | sed -e "s/#include \".*nfs.h\"/#include \"libnfs-xdr.h\"\n#include \"libnfs-raw-nfs.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-nfs.c