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