summaryrefslogtreecommitdiffstats
path: root/regress/sys/net/rtable/fullfeed/Makefile
blob: 1f92fb942830af9d775a12a14de29988c57e4711 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#	$OpenBSD: Makefile,v 1.2 2016/09/07 20:53:34 vgross Exp $

PROG=	fullfeed
SRCS=	main.c util.c rtable.c


REGRESS_TARGETS+=	inet inet6

# XXX route entries are sorted because the radix tree stores dup chains
# XXX from the most specific to least specific
.SUFFIXES: .txt .sorted
.txt.sorted: 
	sort $< > $@

CLEANFILES+=		*.sorted

${REGRESS_TARGETS}: ${PROG} ${.TARGET}-fullfeed.sorted
	${.OBJDIR}/${PROG} ${.TARGET} ${TOPDIR}/${.TARGET}-fullfeed.txt | \
		sort | diff -u ${.TARGET}-fullfeed.sorted /dev/stdin

.include <bsd.regress.mk>