summaryrefslogtreecommitdiffstats
path: root/src/lib/rpc/unit-test/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/rpc/unit-test/Makefile.in')
-rw-r--r--src/lib/rpc/unit-test/Makefile.in22
1 files changed, 13 insertions, 9 deletions
diff --git a/src/lib/rpc/unit-test/Makefile.in b/src/lib/rpc/unit-test/Makefile.in
index 7ac96c6c7..28e6862f5 100644
--- a/src/lib/rpc/unit-test/Makefile.in
+++ b/src/lib/rpc/unit-test/Makefile.in
@@ -10,15 +10,19 @@ server: server.o rpc_test_svc.o $(DEPLIBS)
client.c server.c: rpc_test.h
-rpc_test.h rpc_test_clnt.c rpc_test_svc.c: rpc_test.x
- -rm -f rpc_test_clnt.c rpc_test_svc.c rpc_test.h
- -ln -s $(srcdir)/rpc_test.x .
- rpcgen -l rpc_test.x -o rpc_test_clnt.c
- rpcgen -m rpc_test.x -o rpc_test_svc.c
- rpcgen -h rpc_test.x -o rpc_test.h
-
-clean::
- rm -f rpc_test.h rpc_test_clnt.c rpc_test_svc.c
+# If rpc_test.h and rpc_test_*.c do not work on your system, you can
+# try using rpcgen by uncommenting these lines (be sure to uncomment
+# then in the generated not Makefile.in).
+# rpc_test.h rpc_test_clnt.c rpc_test_svc.c: rpc_test.x
+# -rm -f rpc_test_clnt.c rpc_test_svc.c rpc_test.h
+# -ln -s $(srcdir)/rpc_test.x .
+# rpcgen -l rpc_test.x -o rpc_test_clnt.c
+# rpcgen -m rpc_test.x -o rpc_test_svc.c
+# rpcgen -h rpc_test.x -o rpc_test.h
+#
+# clean::
+# rm -f rpc_test.h rpc_test_clnt.c rpc_test_svc.c
+#
check unit-test:: unit-test-setup unit-test-body unit-test-cleanup