Merge branch 'vendor/DIFFUTILS'
[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 # ipftest
34 0:
35         @(cd ${.CURDIR}/../../../usr.sbin/ipftest; make; )
36
37 f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f14:
38         @/bin/sh ./dotest $@
39
40 f12 f13:
41         @/bin/sh ./hextest $@
42
43 f15 f16:
44         @/bin/sh ./mtest $@
45
46 f17:
47         @/bin/sh ./mhtest $@
48
49 i1 i2 i3 i4 i5 i6 i7 i8 i9 i10 i11 i12:
50         @/bin/sh ./itest $@
51
52 n1 n2 n3 n4 n5 n6 n7:
53         @/bin/sh ./nattest $@
54
55 ni1 ni2 ni3 ni4 ni5 ni7 ni8 ni10 ni11:
56         @/bin/sh ./natipftest $@
57
58 in1 in2 in3 in4:
59         @/bin/sh ./intest $@
60
61 l1:
62         @/bin/sh ./logtest $@
63
64 ipv6.1 ipv6.2 ipv6.3:
65         @/bin/sh ./dotest6 $@
66
67 clean:
68         /bin/rm -f f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f13 f12 f14 f15 f16 f17
69         /bin/rm -f i1 i2 i3 i4 i5 i6 i7 i8 i9 i10 i11 i12
70         /bin/rm -f n1 n2 n3 n4 n5 n6 n7
71         /bin/rm -f ni1 ni2 ni3 ni4 ni5
72         /bin/rm -f in1 in2 in3 in4
73         /bin/rm -f l1
74         /bin/rm -f ipv6.1 ipv6.2 ipv6.3
75         /bin/rm -f results/*