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_common = error.c network.c token.c \
13 parse_opt.c parse_dev.c \
14 nfsmount.c nfs4mount.c stropts.c\
15 mount_constants.h error.h network.h token.h \
16 parse_opt.h parse_dev.h \
17 nfs4_mount.h nfs_mount4.h stropts.h version.h \
18 mount_config.h utils.c utils.h
21 mount_common += configfile.c
22 man5_MANS += nfsmount.conf.man
23 EXTRA_DIST += nfsmount.conf
26 mount_nfs_LDADD = ../../support/nfs/libnfs.a \
27 ../../support/export/libexport.a \
30 mount_nfs_SOURCES = $(mount_common)
33 mount_nfs_SOURCES += mount_libmount.c
34 mount_nfs_LDADD += $(LIBMOUNT)
36 mount_nfs_SOURCES += mount.c fstab.c nfsumount.c fstab.h
40 MAINTAINERCLEANFILES = Makefile.in
43 (cd $(DESTDIR)$(sbindir) && \
44 ln -sf mount.nfs mount.nfs4 && \
45 ln -sf mount.nfs umount.nfs && \
46 ln -sf mount.nfs umount.nfs4 && \
47 chmod 4511 mount.nfs )
49 (cd $(DESTDIR)$(sbindir) && \
50 rm -f mount.nfs4 umount.nfs umount.nfs4)
54 (cd $(DESTDIR)$(man8dir) && \
55 for m in $(man8_MANS) $(dist_man8_MANS) $(nodist_man8_MANS); do \
56 inst=`echo $$m | sed -e 's/man$$/8/'`; \
59 (cd $(DESTDIR)$(man5dir) && \
60 for m in $(man5_MANS) $(dist_man5_MANS) $(nodist_man5_MANS); do \
61 inst=`echo $$m | sed -e 's/man$$/5/'`; \
66 (cd $(DESTDIR)$(man8dir) && \
67 for m in $(man8_MANS) $(dist_man8_MANS) $(nodist_man8_MANS); do \
68 inst=`echo $$m | sed -e 's/man$$/8/'`; \
71 (cd $(DESTDIR)$(man5dir) && \
72 for m in $(man5_MANS) $(dist_man5_MANS) $(nodist_man5_MANS); do \
73 inst=`echo $$m | sed -e 's/man$$/5/'`; \