SHELL	= /bin/sh
LIST1	= ftpd login rexecd
LIST2	= keysu rlogind rshd telnetd skeysh

what:
	@echo make sunos4 sunos5 ultrix4 hpux freebsd
	@exit 1

sunos4 sunos5 freebsd hpux ultrix4:
	for i in $(LIST1); \
	do \
		(cd $$i; make $@-skey); \
	done
	for i in $(LIST2); \
	do \
		(cd $$i; make $@); \
	done

clean:
	for i in $(LIST1) $(LIST2); \
	do \
		(cd $$i; make $@); \
	done
