Remove all remaining references to RPC
[deb_libnfs.git] / portmap / Makefile.am
index 96fc61fca27aefc44d474360f824d50de3596781..223496455c5d83cc88773bf26441a729fd31a41f 100644 (file)
@@ -6,7 +6,8 @@ portmap_GENERATED = $(portmap_SOURCES_GENERATED) $(portmap_HEADERS_GENERATED)
 
 CLEANFILES = $(portmap_GENERATED) portmap-stamp
 
-libportmap_la_CPPFLAGS = -I$(abs_top_srcdir)/include
+libportmap_la_CPPFLAGS = -I$(abs_top_srcdir)/include \
+                        -I$(abs_top_srcdir)/include/nfsc
 libportmap_la_SOURCES = \
        $(portmap_SOURCES_GENERATED) \
        portmap.c libnfs-raw-portmap.c
@@ -17,5 +18,5 @@ portmap-stamp : portmap.x
        touch portmap-stamp
 
 compile_rpc:   
-       rpcgen -h @RPCGENFLAGS@ portmap.x | sed -e "s/#include <rpc\/rpc.h>//" | sed -e "s/xdr/zdr/g" -e "s/XDR/ZDR/g" > libnfs-raw-portmap.h
-       rpcgen -c @RPCGENFLAGS@ portmap.x | sed -e "s/#include \".*portmap.h\"/#include \"libnfs-zdr.h\"\n#include \"libnfs-raw-portmap.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-portmap.c
+       rpcgen -h portmap.x | sed -e "s/#include <rpc\/rpc.h>//" | sed -e "s/xdr/zdr/g" -e "s/XDR/ZDR/g" > libnfs-raw-portmap.h
+       rpcgen -c portmap.x | sed -e "s/#include \".*portmap.h\"/#include \"libnfs-zdr.h\"\n#include \"libnfs-raw-portmap.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-portmap.c