Revert "Build fix: xdrgen"

This reverts commit 12bc39c144aa41a097435f2aab304ddfbbb9b625

This causes all regression tests to fail. Reverting for now, we can include a
correct fix later.

Change-Id: I3c8966288f66d0eafa2e94490e3b64a057b4f2c0
URL: http://supercolony.gluster.org/pipermail/gluster-devel/2014-November/042759.html
BUG: 1157839
Reported-by: Emmanuel Dreyfus <manu@netbsd.org>
Signed-off-by: Niels de Vos <ndevos@redhat.com>
Reviewed-on: http://review.gluster.org/9040
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Vijay Bellur <vbellur@redhat.com>
This commit is contained in:
Niels de Vos 2014-11-04 03:18:08 -08:00 committed by Vijay Bellur
parent 4a79fa4f26
commit edeb348a1c

View File

@ -23,91 +23,91 @@ CLEANFILES = $(XDRSOURCES) $(XDRHEADERS)
EXTRA_DIST = $(XDRGENFILES)
glusterfs3-xdr.c: glusterfs3-xdr.x glusterfs3-xdr.h
@if test -f ${@:.c=.x}; then \
$(top_srcdir)/build-aux/xdrgen source ${@:.c=.x} ; \
@if test -f $(top_srcdir)/rpc/xdr/src/${@:.c=.x}; then \
$(top_srcdir)/build-aux/xdrgen source $(top_srcdir)/rpc/xdr/src/${@:.c=.x} ; \
fi
glusterfs3-xdr.h: glusterfs3-xdr.x
@if test -f ${@:.h=.x} ; then \
$(top_srcdir)/build-aux/xdrgen header ${@:.h=.x} ; \
@if test -f $(top_srcdir)/rpc/xdr/src/${@:.h=.x} ; then \
$(top_srcdir)/build-aux/xdrgen header $(top_srcdir)/rpc/xdr/src/${@:.h=.x} ; \
fi
cli1-xdr.c: cli1-xdr.x cli1-xdr.h
@if test -f ${@:.c=.x} ; then \
$(top_srcdir)/build-aux/xdrgen source ${@:.c=.x} ; \
@if test -f $(top_srcdir)/rpc/xdr/src/${@:.c=.x} ; then \
$(top_srcdir)/build-aux/xdrgen source $(top_srcdir)/rpc/xdr/src/${@:.c=.x} ; \
fi
cli1-xdr.h: cli1-xdr.x
@if test -f ${@:.h=.x} ; then \
$(top_srcdir)/build-aux/xdrgen header ${@:.h=.x} ; \
@if test -f $(top_srcdir)/rpc/xdr/src/${@:.h=.x} ; then \
$(top_srcdir)/build-aux/xdrgen header $(top_srcdir)/rpc/xdr/src/${@:.h=.x} ; \
fi
nlm4-xdr.c: nlm4-xdr.x nlm4-xdr.h
@if test -f ${@:.c=.x} ; then \
$(top_srcdir)/build-aux/xdrgen source ${@:.c=.x} ; \
@if test -f $(top_srcdir)/rpc/xdr/src/${@:.c=.x} ; then \
$(top_srcdir)/build-aux/xdrgen source $(top_srcdir)/rpc/xdr/src/${@:.c=.x} ; \
fi
nlm4-xdr.h: nlm4-xdr.x
@if test -f ${@:.h=.x} ; then \
$(top_srcdir)/build-aux/xdrgen header ${@:.h=.x} ; \
@if test -f $(top_srcdir)/rpc/xdr/src/${@:.h=.x} ; then \
$(top_srcdir)/build-aux/xdrgen header $(top_srcdir)/rpc/xdr/src/${@:.h=.x} ; \
fi
nsm-xdr.c: nsm-xdr.x nsm-xdr.h
@if test -f ${@:.c=.x} ; then \
$(top_srcdir)/build-aux/xdrgen source ${@:.c=.x} ; \
@if test -f $(top_srcdir)/rpc/xdr/src/${@:.c=.x} ; then \
$(top_srcdir)/build-aux/xdrgen source $(top_srcdir)/rpc/xdr/src/${@:.c=.x} ; \
fi
nsm-xdr.h: nsm-xdr.x
@if test -f ${@:.h=.x} ; then \
$(top_srcdir)/build-aux/xdrgen header ${@:.h=.x} ; \
@if test -f $(top_srcdir)/rpc/xdr/src/${@:.h=.x} ; then \
$(top_srcdir)/build-aux/xdrgen header $(top_srcdir)/rpc/xdr/src/${@:.h=.x} ; \
fi
rpc-common-xdr.c: rpc-common-xdr.x rpc-common-xdr.h
@if test -f ${@:.c=.x} ; then \
$(top_srcdir)/build-aux/xdrgen source ${@:.c=.x} ; \
@if test -f $(top_srcdir)/rpc/xdr/src/${@:.c=.x} ; then \
$(top_srcdir)/build-aux/xdrgen source $(top_srcdir)/rpc/xdr/src/${@:.c=.x} ; \
fi
rpc-common-xdr.h: rpc-common-xdr.x
@if test -f ${@:.h=.x} ; then \
$(top_srcdir)/build-aux/xdrgen header ${@:.h=.x} ; \
@if test -f $(top_srcdir)/rpc/xdr/src/${@:.h=.x} ; then \
$(top_srcdir)/build-aux/xdrgen header $(top_srcdir)/rpc/xdr/src/${@:.h=.x} ; \
fi
glusterd1-xdr.c: glusterd1-xdr.x glusterd1-xdr.h
@if test -f ${@:.c=.x} ; then \
$(top_srcdir)/build-aux/xdrgen source ${@:.c=.x} ; \
@if test -f $(top_srcdir)/rpc/xdr/src/${@:.c=.x} ; then \
$(top_srcdir)/build-aux/xdrgen source $(top_srcdir)/rpc/xdr/src/${@:.c=.x} ; \
fi
glusterd1-xdr.h: glusterd1-xdr.x
@if test -f ${@:.h=.x} ; then \
$(top_srcdir)/build-aux/xdrgen header ${@:.h=.x} ; \
@if test -f $(top_srcdir)/rpc/xdr/src/${@:.h=.x} ; then \
$(top_srcdir)/build-aux/xdrgen header $(top_srcdir)/rpc/xdr/src/${@:.h=.x} ; \
fi
acl3-xdr.c: acl3-xdr.x acl3-xdr.h
@if test -f ${@:.c=.x} ; then \
$(top_srcdir)/build-aux/xdrgen source ${@:.c=.x} ; \
@if test -f $(top_srcdir)/rpc/xdr/src/${@:.c=.x} ; then \
$(top_srcdir)/build-aux/xdrgen source $(top_srcdir)/rpc/xdr/src/${@:.c=.x} ; \
fi
acl3-xdr.h: acl3-xdr.x
@if test -f ${@:.h=.x} ; then \
$(top_srcdir)/build-aux/xdrgen header ${@:.h=.x} ; \
@if test -f $(top_srcdir)/rpc/xdr/src/${@:.h=.x} ; then \
$(top_srcdir)/build-aux/xdrgen header $(top_srcdir)/rpc/xdr/src/${@:.h=.x} ; \
fi
portmap-xdr.c: portmap-xdr.x portmap-xdr.h
@if test -f ${@:.c=.x} ; then \
$(top_srcdir)/build-aux/xdrgen source ${@:.c=.x} >&2 ; \
@if test -f $(top_srcdir)/rpc/xdr/src/${@:.c=.x} ; then \
$(top_srcdir)/build-aux/xdrgen source $(top_srcdir)/rpc/xdr/src/${@:.c=.x} ; \
fi
portmap-xdr.h: portmap-xdr.x
@if test -f ${@:.h=.x} ; then \
$(top_srcdir)/build-aux/xdrgen header ${@:.h=.x} >&2 ; \
@if test -f $(top_srcdir)/rpc/xdr/src/${@:.h=.x} ; then \
$(top_srcdir)/build-aux/xdrgen header $(top_srcdir)/rpc/xdr/src/${@:.h=.x} ; \
fi
mount3udp.c: mount3udp.x mount3udp.h
@if test -f ${@:.c=.x} ; then \
$(top_srcdir)/build-aux/xdrgen source ${@:.c=.x} ; \
@if test -f $(top_srcdir)/rpc/xdr/src/${@:.c=.x} ; then \
$(top_srcdir)/build-aux/xdrgen source $(top_srcdir)/rpc/xdr/src/${@:.c=.x} ; \
fi
mount3udp.h: mount3udp.x
@if test -f ${@:.h=.x} ; then \
$(top_srcdir)/build-aux/xdrgen header ${@:.h=.x} ; \
@if test -f $(top_srcdir)/rpc/xdr/src/${@:.h=.x} ; then \
$(top_srcdir)/build-aux/xdrgen header $(top_srcdir)/rpc/xdr/src/${@:.h=.x} ; \
fi