summaryrefslogtreecommitdiffstats
path: root/share/examples/sunrpc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'share/examples/sunrpc/Makefile')
-rw-r--r--share/examples/sunrpc/Makefile25
1 files changed, 25 insertions, 0 deletions
diff --git a/share/examples/sunrpc/Makefile b/share/examples/sunrpc/Makefile
new file mode 100644
index 0000000..05510d6
--- /dev/null
+++ b/share/examples/sunrpc/Makefile
@@ -0,0 +1,25 @@
+#
+# @(#)Makefile 2.1 88/08/02 4.0 RPCSRC
+#
+#
+# Build all demo services
+#
+MAKE = make
+LIB=-lrpclib
+
+SUBDIR= dir msg sort
+
+all: ${SUBDIR}
+
+clean cleanup:
+ cd dir; $(MAKE) ${MFLAGS} cleanup
+ cd msg; $(MAKE) ${MFLAGS} cleanup
+ cd sort; $(MAKE) ${MFLAGS} cleanup
+
+install:
+ @echo "No installations done."
+
+${SUBDIR}: FRC
+ cd $@; $(MAKE) ${MFLAGS} LIB=$(LIB)
+
+FRC:
OpenPOWER on IntegriCloud