.include "../../Makefile.config"

PROGS=gendata socktest
.if $(INET6)
PROGS+=mcasttest radv ulat
.endif
DEPENDFILES=	${PROGS:%=.depend.%}

.include "../Makefile.inc"

.MAIN: all

depend::
	rm -f .depend

all clean cleandir depend manpages install::
	@for entry in ${PROGS}; do \
		echo "---> $${entry}"; \
		${MAKE} -f Makefile.prog PROG=$${entry} \
			 ${.TARGET}; \
	done

depend::
	cat ${DEPENDFILES} > .depend
	rm ${DEPENDFILES}
