1 ## Process this file with automake to produce Makefile.in
3 # These binaries go in /sbin (not /usr/sbin), and that cannot be
4 # overriden at config time.
7 man8_MANS = mount.nfs.man umount.nfs.man
10 sbin_PROGRAMS = mount.nfs
11 EXTRA_DIST = nfsmount.x $(man8_MANS) $(man5_MANS)
12 mount_nfs_SOURCES = mount.c error.c network.c fstab.c token.c \
13 parse_opt.c parse_dev.c \
14 nfsmount.c nfs4mount.c stropts.c\
16 mount_constants.h error.h network.h fstab.h token.h \
17 parse_opt.h parse_dev.h \
18 nfs4_mount.h nfs_mount4.h stropts.h version.h
20 mount_nfs_LDADD = ../../support/nfs/libnfs.a \
21 ../../support/export/libexport.a
23 MAINTAINERCLEANFILES = Makefile.in
26 (cd $(DESTDIR)$(sbindir) && \
27 ln -sf mount.nfs mount.nfs4 && \
28 ln -sf mount.nfs umount.nfs && \
29 ln -sf mount.nfs umount.nfs4 && \
30 chmod 4511 mount.nfs )
32 (cd $(DESTDIR)$(sbindir) && \
33 rm -f mount.nfs4 umount.nfs umount.nfs4)
37 (cd $(DESTDIR)$(man8dir) && \
38 for m in $(man8_MANS) $(dist_man8_MANS) $(nodist_man8_MANS); do \
39 inst=`echo $$m | sed -e 's/man$$/8/'`; \
42 (cd $(DESTDIR)$(man5dir) && \
43 for m in $(man5_MANS) $(dist_man5_MANS) $(nodist_man5_MANS); do \
44 inst=`echo $$m | sed -e 's/man$$/5/'`; \
49 (cd $(DESTDIR)$(man8dir) && \
50 for m in $(man8_MANS) $(dist_man8_MANS) $(nodist_man8_MANS); do \
51 inst=`echo $$m | sed -e 's/man$$/8/'`; \
54 (cd $(DESTDIR)$(man5dir) && \
55 for m in $(man5_MANS) $(dist_man5_MANS) $(nodist_man5_MANS); do \
56 inst=`echo $$m | sed -e 's/man$$/5/'`; \