]> git.decadent.org.uk Git - nfs-utils.git/blob - support/export/Makefile
1243305eab62d4f38038a0ba54ff52bb54d08f15
[nfs-utils.git] / support / export / Makefile
1 #
2 # libexport.a
3 # Miscellaneous utility functions related to exporting and mounting
4 # of NFS volumes.
5 #
6
7 LIBNAME = libexport.a
8 SRCS    = $(RPCSRCS) client.c export.c hostname.c nfsctl.c rmtab.c \
9           xtab.c
10 OBJS    = $(SRCS:.c=.o)
11
12 RPCSRCS = mount_clnt.c mount_xdr.c
13 RPCHDRS = mount.h
14
15 include $(TOP)rules.mk
16
17 $(RPCHDRS) $(RPCSRCS): mount.x
18         $(RM) $(RPCHDRS) $(RPCSRCS)
19         $(RPCGEN) -h -o mount.h $<
20         $(RPCGEN) -l -o mount_clnt.c $<
21         $(RPCGEN) -c -o mount_xdr.c $<
22
23 clean distclean::
24         $(RM) $(RPCHDRS) $(RPCSRCS)
25
26 install::
27         @: