#
# This is the original Makefile from util-linux, cleaned up a little
# and adapted for the linux-nfs source tree
#
# To make "ext" the default file system type for mount
# (used when no other type is specified), replace \"minix\" by \"ext2\".
# Use iso9660 instead, since CDROMs are popular.
#

DEFAULT_FSTYPE	= \"ext2\"

TARGET	= mount
OBJS	= mount.o fstab.o sundries.o version.o \
	  nfsmount.o nfsmount_clnt.o nfsmount_xdr.o lomount.o
CCOPTS	= -fomit-frame-pointer \
	  -DHAVE_NFS -DFSTYPE_DEFAULT=$(DEFAULT_FSTYPE)
MAN5	= fstab nfs
MAN8	= mount

include $(TOP)rules.mk

mount:	$(OBJS)
	$(CC) $(LDFLAGS) -o $@ $(OBJS) -lexport

install:: $(TARGET)
	$(INSTALLSUID) -s $(TARGET) $(BINDIR)/$k$(TARGET)

