#
# dummy Makefile
#

include $(TOP)/config.mk

OBJS	= mountd.o mount_dispatch.o mount_xdr.o auth.o rmtab.o

all::	mountd
	@echo "Done."

mountd:	$(OBJS) $(TOP)/lib/libexport.a $(TOP)/lib/libnfs.a
	$(CC) $(LDFLAGS) -o $@ $(OBJS) -L$(TOP)/lib -lexport -lnfs

clean distclean::
	rm -f *.o core

distclean::
	rm -f mountd .depend

install:
	install -o root -g root -m 755 mountd /usr/sbin/rpc.$kmountd

dep::
	$(CC) $(CFLAGS) -M $(OBJS:.o=.c) > .depend

ifeq (.depend,$(wildcard .depend))
include .depend
endif
