ovsdb: Correct specification inconsistency between "lock" and "assert".
[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-vlan-test
13 endif
14 noinst_SCRIPTS += utilities/ovs-pki-cgi
15 scripts_SCRIPTS += utilities/ovs-ctl utilities/ovs-lib.sh utilities/ovs-save
16
17 EXTRA_DIST += \
18         utilities/ovs-appctl.8.in \
19         utilities/ovs-benchmark.1.in \
20         utilities/ovs-controller.8.in \
21         utilities/ovs-ctl.in \
22         utilities/ovs-dpctl.8.in \
23         utilities/ovs-lib.sh.in \
24         utilities/ovs-ofctl.8.in \
25         utilities/ovs-parse-leaks.8 \
26         utilities/ovs-parse-leaks.in \
27         utilities/ovs-pcap.1.in \
28         utilities/ovs-pcap.in \
29         utilities/ovs-pki-cgi.in \
30         utilities/ovs-pki.8.in \
31         utilities/ovs-pki.in \
32         utilities/ovs-save \
33         utilities/ovs-tcpundump.1.in \
34         utilities/ovs-tcpundump.in \
35         utilities/ovs-vlan-bugs.man \
36         utilities/ovs-vlan-test.in \
37         utilities/ovs-vlan-bug-workaround.8.in \
38         utilities/ovs-vlan-test.8.in \
39         utilities/ovs-vsctl.8.in
40 DISTCLEANFILES += \
41         utilities/ovs-appctl.8 \
42         utilities/ovs-ctl \
43         utilities/ovs-benchmark.1 \
44         utilities/ovs-controller.8 \
45         utilities/ovs-dpctl.8 \
46         utilities/ovs-lib.sh \
47         utilities/ovs-ofctl.8 \
48         utilities/ovs-parse-leaks \
49         utilities/ovs-pcap \
50         utilities/ovs-pcap.1 \
51         utilities/ovs-pki \
52         utilities/ovs-pki-cgi \
53         utilities/ovs-pki.8 \
54         utilities/ovs-tcpundump \
55         utilities/ovs-tcpundump.1 \
56         utilities/ovs-vlan-test \
57         utilities/ovs-vlan-test.8 \
58         utilities/ovs-vlan-bug-workaround.8 \
59         utilities/ovs-vsctl.8
60
61 man_MANS += \
62         utilities/ovs-appctl.8 \
63         utilities/ovs-benchmark.1 \
64         utilities/ovs-controller.8 \
65         utilities/ovs-dpctl.8 \
66         utilities/ovs-ofctl.8 \
67         utilities/ovs-parse-leaks.8 \
68         utilities/ovs-pcap.1 \
69         utilities/ovs-pki.8 \
70         utilities/ovs-tcpundump.1 \
71         utilities/ovs-vlan-bug-workaround.8 \
72         utilities/ovs-vlan-test.8 \
73         utilities/ovs-vsctl.8
74 dist_man_MANS += utilities/ovs-ctl.8
75
76 utilities_ovs_appctl_SOURCES = utilities/ovs-appctl.c
77 utilities_ovs_appctl_LDADD = lib/libopenvswitch.a
78
79 utilities_ovs_controller_SOURCES = utilities/ovs-controller.c
80 utilities_ovs_controller_LDADD = lib/libopenvswitch.a $(SSL_LIBS)
81
82 utilities_ovs_dpctl_SOURCES = utilities/ovs-dpctl.c
83 utilities_ovs_dpctl_LDADD = lib/libopenvswitch.a
84
85 utilities_ovs_ofctl_SOURCES = utilities/ovs-ofctl.c
86 utilities_ovs_ofctl_LDADD = \
87         ofproto/libofproto.a \
88         lib/libopenvswitch.a \
89         $(SSL_LIBS)
90
91 utilities_ovs_vsctl_SOURCES = utilities/ovs-vsctl.c vswitchd/vswitch-idl.c
92 utilities_ovs_vsctl_LDADD = lib/libopenvswitch.a $(SSL_LIBS)
93
94 if HAVE_NETLINK
95 sbin_PROGRAMS += utilities/ovs-vlan-bug-workaround
96 utilities_ovs_vlan_bug_workaround_SOURCES = utilities/ovs-vlan-bug-workaround.c
97 utilities_ovs_vlan_bug_workaround_LDADD = lib/libopenvswitch.a
98
99 noinst_PROGRAMS += utilities/nlmon
100 utilities_nlmon_SOURCES = utilities/nlmon.c
101 utilities_nlmon_LDADD = lib/libopenvswitch.a
102 endif
103
104 bin_PROGRAMS += utilities/ovs-benchmark
105 utilities_ovs_benchmark_SOURCES = utilities/ovs-benchmark.c
106 utilities_ovs_benchmark_LDADD = lib/libopenvswitch.a
107
108 include utilities/bugtool/automake.mk