From: NeilBrown Date: Tue, 28 Jun 2011 17:24:33 +0000 (-0400) Subject: Do not compile unnecessary files when the libmount code is enable X-Git-Tag: nfs-utils-1-2-4~5 X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=057d2add27d1e05fed3ae7206ee043b6c1fda45a;p=nfs-utils.git Do not compile unnecessary files when the libmount code is enable Signed-off-by: Steve Dickson --- 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