Allow general masking of IPv6 addresses rather than just CIDR masks.
[openvswitch] / utilities / automake.mk
1 bin_PROGRAMS += \
2         utilities/ovs-appctl \
3         utilities/ovs-controller \
4         utilities/ovs-dpctl \
5         utilities/ovs-ofctl \
6         utilities/ovs-vsctl
7 bin_SCRIPTS += utilities/ovs-pki utilities/ovs-vsctl utilities/ovs-parse-leaks
8 if HAVE_PYTHON
9 bin_SCRIPTS += \
10         utilities/ovs-pcap \
11         utilities/ovs-tcpundump \
12         utilities/ovs-test \
13         utilities/ovs-vlan-test
14 endif
15 noinst_SCRIPTS += utilities/ovs-pki-cgi
16 scripts_SCRIPTS += \
17         utilities/ovs-check-dead-ifs \
18         utilities/ovs-ctl \
19         utilities/ovs-save
20 scripts_DATA += utilities/ovs-lib
21
22 EXTRA_DIST += \
23         utilities/ovs-check-dead-ifs.in \
24         utilities/ovs-ctl.in \
25         utilities/ovs-lib.in \
26         utilities/ovs-parse-leaks.in \
27         utilities/ovs-pcap.in \
28         utilities/ovs-pki-cgi.in \
29         utilities/ovs-pki.in \
30         utilities/ovs-save \
31         utilities/ovs-tcpundump.in \
32         utilities/ovs-test.in \
33         utilities/ovs-vlan-test.in
34 MAN_ROOTS += \
35         utilities/ovs-appctl.8.in \
36         utilities/ovs-benchmark.1.in \
37         utilities/ovs-controller.8.in \
38         utilities/ovs-ctl.8 \
39         utilities/ovs-dpctl.8.in \
40         utilities/ovs-ofctl.8.in \
41         utilities/ovs-parse-leaks.8 \
42         utilities/ovs-pcap.1.in \
43         utilities/ovs-pki.8.in \
44         utilities/ovs-tcpundump.1.in \
45         utilities/ovs-vlan-bug-workaround.8.in \
46         utilities/ovs-test.8.in \
47         utilities/ovs-vlan-test.8.in \
48         utilities/ovs-vsctl.8.in
49 MAN_FRAGMENTS += utilities/ovs-vlan-bugs.man
50 DISTCLEANFILES += \
51         utilities/ovs-appctl.8 \
52         utilities/ovs-ctl \
53         utilities/ovs-benchmark.1 \
54         utilities/ovs-check-dead-ifs \
55         utilities/ovs-controller.8 \
56         utilities/ovs-dpctl.8 \
57         utilities/ovs-lib \
58         utilities/ovs-ofctl.8 \
59         utilities/ovs-parse-leaks \
60         utilities/ovs-pcap \
61         utilities/ovs-pcap.1 \
62         utilities/ovs-pki \
63         utilities/ovs-pki-cgi \
64         utilities/ovs-pki.8 \
65         utilities/ovs-tcpundump \
66         utilities/ovs-tcpundump.1 \
67         utilities/ovs-test \
68         utilities/ovs-test.8 \
69         utilities/ovs-vlan-test \
70         utilities/ovs-vlan-test.8 \
71         utilities/ovs-vlan-bug-workaround.8 \
72         utilities/ovs-vsctl.8
73
74 man_MANS += \
75         utilities/ovs-appctl.8 \
76         utilities/ovs-benchmark.1 \
77         utilities/ovs-controller.8 \
78         utilities/ovs-dpctl.8 \
79         utilities/ovs-ofctl.8 \
80         utilities/ovs-parse-leaks.8 \
81         utilities/ovs-pcap.1 \
82         utilities/ovs-pki.8 \
83         utilities/ovs-tcpundump.1 \
84         utilities/ovs-vlan-bug-workaround.8 \
85         utilities/ovs-test.8 \
86         utilities/ovs-vlan-test.8 \
87         utilities/ovs-vsctl.8
88 dist_man_MANS += utilities/ovs-ctl.8
89
90 utilities_ovs_appctl_SOURCES = utilities/ovs-appctl.c
91 utilities_ovs_appctl_LDADD = lib/libopenvswitch.a $(SSL_LIBS)
92
93 utilities_ovs_controller_SOURCES = utilities/ovs-controller.c
94 utilities_ovs_controller_LDADD = lib/libopenvswitch.a $(SSL_LIBS)
95
96 utilities_ovs_dpctl_SOURCES = utilities/ovs-dpctl.c
97 utilities_ovs_dpctl_LDADD = lib/libopenvswitch.a $(SSL_LIBS)
98
99 utilities_ovs_ofctl_SOURCES = utilities/ovs-ofctl.c
100 utilities_ovs_ofctl_LDADD = \
101         ofproto/libofproto.a \
102         lib/libopenvswitch.a \
103         $(SSL_LIBS)
104
105 utilities_ovs_vsctl_SOURCES = utilities/ovs-vsctl.c
106 utilities_ovs_vsctl_LDADD = lib/libopenvswitch.a $(SSL_LIBS)
107
108 if HAVE_NETLINK
109 sbin_PROGRAMS += utilities/ovs-vlan-bug-workaround
110 utilities_ovs_vlan_bug_workaround_SOURCES = utilities/ovs-vlan-bug-workaround.c
111 utilities_ovs_vlan_bug_workaround_LDADD = lib/libopenvswitch.a $(SSL_LIBS)
112
113 noinst_PROGRAMS += utilities/nlmon
114 utilities_nlmon_SOURCES = utilities/nlmon.c
115 utilities_nlmon_LDADD = lib/libopenvswitch.a $(SSL_LIBS)
116 endif
117
118 bin_PROGRAMS += utilities/ovs-benchmark
119 utilities_ovs_benchmark_SOURCES = utilities/ovs-benchmark.c
120 utilities_ovs_benchmark_LDADD = lib/libopenvswitch.a $(SSL_LIBS)
121
122 include utilities/bugtool/automake.mk