summaryrefslogtreecommitdiffstats
path: root/support/export/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'support/export/Makefile')
-rw-r--r--support/export/Makefile27
1 files changed, 27 insertions, 0 deletions
diff --git a/support/export/Makefile b/support/export/Makefile
new file mode 100644
index 0000000..1243305
--- /dev/null
+++ b/support/export/Makefile
@@ -0,0 +1,27 @@
+#
+# libexport.a
+# Miscellaneous utility functions related to exporting and mounting
+# of NFS volumes.
+#
+
+LIBNAME = libexport.a
+SRCS = $(RPCSRCS) client.c export.c hostname.c nfsctl.c rmtab.c \
+ xtab.c
+OBJS = $(SRCS:.c=.o)
+
+RPCSRCS = mount_clnt.c mount_xdr.c
+RPCHDRS = mount.h
+
+include $(TOP)rules.mk
+
+$(RPCHDRS) $(RPCSRCS): mount.x
+ $(RM) $(RPCHDRS) $(RPCSRCS)
+ $(RPCGEN) -h -o mount.h $<
+ $(RPCGEN) -l -o mount_clnt.c $<
+ $(RPCGEN) -c -o mount_xdr.c $<
+
+clean distclean::
+ $(RM) $(RPCHDRS) $(RPCSRCS)
+
+install::
+ @: