1#	$OpenBSD: Makefile,v 1.2 2016/09/07 20:53:34 vgross Exp $
2
3PROG=	fullfeed
4SRCS=	main.c util.c rtable.c
5
6
7REGRESS_TARGETS+=	inet inet6
8
9# XXX route entries are sorted because the radix tree stores dup chains
10# XXX from the most specific to least specific
11.SUFFIXES: .txt .sorted
12.txt.sorted: 
13	sort $< > $@
14
15CLEANFILES+=		*.sorted
16
17${REGRESS_TARGETS}: ${PROG} ${.TARGET}-fullfeed.sorted
18	${.OBJDIR}/${PROG} ${.TARGET} ${TOPDIR}/${.TARGET}-fullfeed.txt | \
19		sort | diff -u ${.TARGET}-fullfeed.sorted /dev/stdin
20
21.include <bsd.regress.mk>
22