Initial import from FreeBSD RELENG_4:
[dragonfly.git] / contrib / ipfilter / test / Makefile
1 #
2 # (C)opyright 1993-1996 by Darren Reed.
3 #
4 # Redistribution and use in source and binary forms are permitted
5 # provided that this notice is preserved and due credit is given
6 # to the original author and the contributors.
7 #
8 BINDEST=/usr/local/bin
9 SBINDEST=/sbin
10 MANDIR=/usr/share/man
11
12 tests: first 0 ftests ptests ntests nitests logtests ipv6 intests
13
14 first:
15         -mkdir -p results
16
17 # Filtering tests
18 ftests: f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12 f13 f14 f15 f16 f17
19
20 # Rule parsing tests
21 ptests: i1 i2 i3 i4 i5 i6 i7 i8 i9 i10 i11 i12
22
23 ntests: n1 n2 n3 n4 n5 n6 n7
24
25 nitests: ni1 ni2 ni3 ni4 ni5
26
27 intests: in1 in2 in3 in4
28
29 logtests: l1
30
31 ipv6: ipv6.1 ipv6.2 ipv6.3
32
33 0:
34         @(cd ..; make ipftest; )
35
36 f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f14:
37         @/bin/sh ./dotest $@
38
39 f12 f13:
40         @/bin/sh ./hextest $@
41
42 f15 f16:
43         @/bin/sh ./mtest $@
44
45 f17:
46         @/bin/sh ./mhtest $@
47
48 i1 i2 i3 i4 i5 i6 i7 i8 i9 i10 i11 i12:
49         @/bin/sh ./itest $@
50
51 n1 n2 n3 n4 n5 n6 n7:
52         @/bin/sh ./nattest $@
53
54 ni1 ni2 ni3 ni4 ni5:
55         @/bin/sh ./natipftest $@
56
57 in1 in2 in3 in4:
58         @/bin/sh ./intest $@
59
60 l1:
61         @/bin/sh ./logtest $@
62
63 ipv6.1 ipv6.2 ipv6.3:
64         @/bin/sh ./dotest6 $@
65
66 clean:
67         /bin/rm -f f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f13 f12 f14 f15 f16 f17
68         /bin/rm -f i1 i2 i3 i4 i5 i6 i7 i8 i9 i10 i11 i12
69         /bin/rm -f n1 n2 n3 n4 n5 n6 n7
70         /bin/rm -f ni1 ni2 ni3 ni4 ni5
71         /bin/rm -f in1 in2 in3 in4
72         /bin/rm -f l1
73         /bin/rm -f ipv6.1 ipv6.2 ipv6.3
74         /bin/rm -f results/*