summaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2011-06-28 13:24:33 -0400
committerSteve Dickson <steved@redhat.com>2011-06-29 10:18:30 -0400
commit057d2add27d1e05fed3ae7206ee043b6c1fda45a (patch)
tree644f2f40854d0024239936e2cc57d5b95d8a81cb /utils
parent30ebf04700654deddbf5f57d95e84ec69cea8610 (diff)
downloadnfs-utils-057d2add27d1e05fed3ae7206ee043b6c1fda45a.tar.gz
nfs-utils-057d2add27d1e05fed3ae7206ee043b6c1fda45a.tar.xz
nfs-utils-057d2add27d1e05fed3ae7206ee043b6c1fda45a.zip
Do not compile unnecessary files when the libmount code is enable
Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'utils')
-rw-r--r--utils/mount/Makefile.am8
1 files changed, 4 insertions, 4 deletions
diff --git a/utils/mount/Makefile.am b/utils/mount/Makefile.am
index 056293c..7bc3e2b 100644
--- a/utils/mount/Makefile.am
+++ b/utils/mount/Makefile.am
@@ -9,11 +9,10 @@ man5_MANS = nfs.man
sbin_PROGRAMS = mount.nfs
EXTRA_DIST = nfsmount.x $(man8_MANS) $(man5_MANS)
-mount_common = error.c network.c fstab.c token.c \
+mount_common = error.c network.c token.c \
parse_opt.c parse_dev.c \
nfsmount.c nfs4mount.c stropts.c\
- nfsumount.c \
- mount_constants.h error.h network.h fstab.h token.h \
+ mount_constants.h error.h network.h token.h \
parse_opt.h parse_dev.h \
nfs4_mount.h nfs_mount4.h stropts.h version.h \
mount_config.h utils.c utils.h
@@ -33,7 +32,8 @@ if CONFIG_LIBMOUNT
mount_nfs_SOURCES += mount_libmount.c
mount_nfs_LDADD += $(LIBMOUNT)
else
-mount_nfs_SOURCES += mount.c
+mount_nfs_SOURCES += mount.c fstab.c nfsumount.c fstab.h
+
endif
MAINTAINERCLEANFILES = Makefile.in