#
# dummy Makefile
#

include $(TOP)/config.mk

OBJS	= genkey.o

all::	nfskey
	@echo "Done."

nfskey:	$(OBJS) $(TOP)/lib/libnfs.a $(TOP)/lib/libcrypt.a
	$(CC) $(LDFLAGS) -o $@ $(OBJS) -L$(TOP)/lib -lnfs -lcrypt

clean distclean::
	rm -f *.o core

distclean::
	rm -f nfskey .depend

install:
	install -o root -g root -m 755 nfskey /usr/sbin/$knfskey

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

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