#
# intermediate makefile for auth_des stuff
#

SUBDIRS	= lib keyserv ypupdated utils
TOP	= .

include config.mk

all install clean distclean::
	@for dir in $(SUBDIRS); do \
		echo "Making $@ in authdes/$$dir"; \
		$(MAKE) -C $$dir TOP=$(TOP)/.. $@; \
	done

clean::
	rm -f core LOG

install::
	if [ ! -f /dev/random ]; then \
		echo "Warning: you don't seem to have /dev/random on which";\
		echo "this software depends. This device has been added to";\
		echo "the Linux kernel somewhere around 1.3.60. To create";\
		echo "the device special file, you have to do:";\
		echo "   mknod -m 0644 /dev/random c 1 8";\
	fi
