path: root/rpc/xdr
diff options
authorNiels de Vos <>2017-05-04 12:26:26 +0200
committerNiels de Vos <>2017-05-05 11:31:33 +0000
commit93ecfcddbfc6bdc77a720f55dbd51fc256961d68 (patch)
tree38cc92c0d3c3b4a7143282c9f2ff582a5ab397e1 /rpc/xdr
parent8375b3d70d5c6268c6770b42a18b2e1bc09e411e (diff)
build: 'make cscope' requires generated .c and .h XDR files
When running 'make cscope' on a clean configured tree (before building anything), it fails because of missing files unders rpc/xdr/src/. These files are symlinked from generated files in the rpc/xdr/gen/ directory. In order to create the symlinks for 'make cscope', a target needs to specify how these symlinks are created. Change-Id: I473c90e10d915ee438425cf0f806c0531b9f582a BUG: 1447966 Signed-off-by: Niels de Vos <> Reviewed-on: Smoke: Gluster Build System <> CentOS-regression: Gluster Build System <> Reviewed-by: Kaleb KEITHLEY <> NetBSD-regression: NetBSD Build System <>
Diffstat (limited to 'rpc/xdr')
1 files changed, 4 insertions, 0 deletions
diff --git a/rpc/xdr/src/ b/rpc/xdr/src/
index 2f3a6cc1005..77f545646d6 100644
--- a/rpc/xdr/src/
+++ b/rpc/xdr/src/
@@ -28,3 +28,7 @@ nodist_libgfxdr_la_HEADERS = $(XDRHEADERS)
libgfxdr_ladir = $(includedir)/glusterfs/rpc
+# Generate the .c and .h symlinks from the ../gen/*.x files
+ $(MAKE) -C ../gen $^