2003-10-26 06:50:07 +03:00
|
|
|
# $NetBSD: Makefile,v 1.6 2003/10/26 03:50:07 lukem Exp $
|
2002-05-13 10:33:09 +04:00
|
|
|
#
|
|
|
|
# (C)opyright 1993-1996 by Darren Reed.
|
|
|
|
#
|
|
|
|
# Redistribution and use in source and binary forms are permitted
|
|
|
|
# provided that this notice is preserved and due credit is given
|
|
|
|
# to the original author and the contributors.
|
|
|
|
#
|
2002-05-13 10:34:13 +04:00
|
|
|
.include <bsd.prog.mk>
|
2002-05-13 10:33:09 +04:00
|
|
|
|
2002-05-13 10:34:13 +04:00
|
|
|
regress tests: first ftests ptests ntests nitests logtests intests
|
2002-05-13 10:33:09 +04:00
|
|
|
|
|
|
|
first:
|
|
|
|
-mkdir -p results
|
|
|
|
|
|
|
|
# Filtering tests
|
|
|
|
ftests: f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12 f13 f14 f15 f16 f17
|
|
|
|
|
|
|
|
# Rule parsing tests
|
2002-09-19 12:08:14 +04:00
|
|
|
ptests: i1 i2 i3 i4 i5 i6 i7 i8 i9 i10 i11 i12
|
2002-05-13 10:33:09 +04:00
|
|
|
|
|
|
|
ntests: n1 n2 n3 n4 n5 n6 n7
|
|
|
|
|
2002-09-19 12:13:25 +04:00
|
|
|
nitests: ni1 ni2 ni3 ni4 ni5
|
2002-05-13 10:33:09 +04:00
|
|
|
|
|
|
|
intests: in1 in2 in3 in4
|
|
|
|
|
|
|
|
logtests: l1
|
|
|
|
|
|
|
|
ipv6: ipv6.1 ipv6.2
|
|
|
|
|
|
|
|
0:
|
|
|
|
@(cd ..; make ipftest; )
|
|
|
|
|
|
|
|
f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f14:
|
2003-10-26 06:50:07 +03:00
|
|
|
@${HOST_SH} ${.CURDIR}/dotest $@ ${.CURDIR}
|
2002-05-13 10:33:09 +04:00
|
|
|
|
|
|
|
f12 f13:
|
2003-10-26 06:50:07 +03:00
|
|
|
@${HOST_SH} ${.CURDIR}/hextest $@ ${.CURDIR}
|
2002-05-13 10:33:09 +04:00
|
|
|
|
|
|
|
f15 f16:
|
2003-10-26 06:50:07 +03:00
|
|
|
@${HOST_SH} ${.CURDIR}/mtest $@ ${.CURDIR}
|
2002-05-13 10:33:09 +04:00
|
|
|
|
|
|
|
f17:
|
2003-10-26 06:50:07 +03:00
|
|
|
@${HOST_SH} ${.CURDIR}/mhtest $@ ${.CURDIR}
|
2002-05-13 10:33:09 +04:00
|
|
|
|
2002-09-19 12:08:14 +04:00
|
|
|
i1 i2 i3 i4 i5 i6 i7 i8 i9 i10 i11 i12:
|
2003-10-26 06:50:07 +03:00
|
|
|
@${HOST_SH} ${.CURDIR}/itest $@ ${.CURDIR}
|
2002-05-13 10:33:09 +04:00
|
|
|
|
|
|
|
n1 n2 n3 n4 n5 n6 n7:
|
2003-10-26 06:50:07 +03:00
|
|
|
@${HOST_SH} ${.CURDIR}/nattest $@ ${.CURDIR}
|
2002-05-13 10:33:09 +04:00
|
|
|
|
2002-09-19 12:13:25 +04:00
|
|
|
ni1 ni2 ni3 ni4 ni5:
|
2003-10-26 06:50:07 +03:00
|
|
|
@${HOST_SH} ${.CURDIR}/natipftest $@ ${.CURDIR}
|
2002-05-13 10:33:09 +04:00
|
|
|
|
|
|
|
in1 in2 in3 in4:
|
2003-10-26 06:50:07 +03:00
|
|
|
@${HOST_SH} ${.CURDIR}/intest $@ ${.CURDIR}
|
2002-05-13 10:33:09 +04:00
|
|
|
|
|
|
|
l1:
|
2003-10-26 06:50:07 +03:00
|
|
|
@${HOST_SH} ${.CURDIR}/logtest $@ ${.CURDIR}
|
2002-05-13 10:33:09 +04:00
|
|
|
|
|
|
|
ipv6.1 ipv6.2:
|
2003-10-26 06:50:07 +03:00
|
|
|
@${HOST_SH} ${.CURDIR}/dotest6 $@ ${.CURDIR}
|
2002-05-13 10:33:09 +04:00
|
|
|
|
|
|
|
clean:
|
|
|
|
/bin/rm -f f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f13 f12 f14 f15 f16 f17
|
2002-09-19 12:08:14 +04:00
|
|
|
/bin/rm -f i1 i2 i3 i4 i5 i6 i7 i8 i9 i10 i11 i12
|
2002-05-13 10:33:09 +04:00
|
|
|
/bin/rm -f n1 n2 n3 n4 n5 n6 n7
|
|
|
|
/bin/rm -f ni1 ni2 ni3 ni4 ni5
|
|
|
|
/bin/rm -f in1 in2 in3 in4
|
|
|
|
/bin/rm -f l1
|
|
|
|
/bin/rm -f ipv6.1 ipv6.2
|
2003-06-26 20:58:57 +04:00
|
|
|
/bin/rm -rf results
|