Makefile revision 110917
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#
8BINDEST=/usr/local/bin
9SBINDEST=/sbin
10MANDIR=/usr/share/man
11
12tests: first 0 ftests ptests ntests nitests logtests ipv6 intests
13
14first:
15	-mkdir -p results
16
17# Filtering tests
18ftests: f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12 f13 f14 f15 f16 f17
19
20# Rule parsing tests
21ptests: i1 i2 i3 i4 i5 i6 i7 i8 i9 i10 i11 i12
22
23ntests: n1 n2 n3 n4 n5 n6 n7
24
25nitests: ni1 ni2 ni3 ni4 ni5
26
27intests: in1 in2 in3 in4
28
29logtests: l1
30
31ipv6: ipv6.1 ipv6.2 ipv6.3
32
330:
34	@(cd ..; make ipftest; )
35
36f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f14:
37	@/bin/sh ./dotest $@
38
39f12 f13:
40	@/bin/sh ./hextest $@
41
42f15 f16:
43	@/bin/sh ./mtest $@
44
45f17:
46	@/bin/sh ./mhtest $@
47
48i1 i2 i3 i4 i5 i6 i7 i8 i9 i10 i11 i12:
49	@/bin/sh ./itest $@
50
51n1 n2 n3 n4 n5 n6 n7:
52	@/bin/sh ./nattest $@
53
54ni1 ni2 ni3 ni4 ni5:
55	@/bin/sh ./natipftest $@
56
57in1 in2 in3 in4:
58	@/bin/sh ./intest $@
59
60l1:
61	@/bin/sh ./logtest $@
62
63ipv6.1 ipv6.2 ipv6.3:
64	@/bin/sh ./dotest6 $@
65
66clean:
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/*
75