summaryrefslogtreecommitdiff
path: root/regress/sys/net/Makefile
blob: 3504d8cda062c235da76b53b1ea1cb224ab37ca4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
PROG=		pf_print_test
CLEANFILES=	pf_print_host.c
CFLAGS=		-Wall
CPPFLAGS=	-I.

pf_print_host.c: ../../../sys/net/pf.c Makefile
	sed -n '/^pf_print_host/{x;p;x;};/^pf_print_host/,/^}/p;h' \
	    ${.CURDIR}/../../../sys/net/pf.c >$@.tmp
	mv $@.tmp $@

pf_print_test.o: pf_print_test.c pf_print_host.c

.include <bsd.regress.mk>