#
# 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

mount_clnt.c: mount.x
	$(RPCGEN) -l -o $@ $<

mount_xdr.c: mount.x
	$(RPCGEN) -c -o $@ $<

mount.h: mount.x
	$(RPCGEN) -h -o $@ $<

$(OBJS): $(RPCHDRS)

clean distclean::
	$(RM) $(RPCHDRS) $(RPCSRCS)

install::
	@:
