summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--rpc/xdr/src/Makefile.am4
1 files changed, 4 insertions, 0 deletions
diff --git a/rpc/xdr/src/Makefile.am b/rpc/xdr/src/Makefile.am
index 2f3a6cc1005..77f545646d6 100644
--- a/rpc/xdr/src/Makefile.am
+++ b/rpc/xdr/src/Makefile.am
@@ -28,3 +28,7 @@ nodist_libgfxdr_la_HEADERS = $(XDRHEADERS)
libgfxdr_ladir = $(includedir)/glusterfs/rpc
CLEANFILES = $(XDRSOURCES) $(XDRHEADERS)
+
+# Generate the .c and .h symlinks from the ../gen/*.x files
+$(XDRSOURCES) $(XDRHEADERS):
+ $(MAKE) -C ../gen $^