ovs-thread: Add support for pthread adaptive mutex
[sliver-openvswitch.git] / utilities / automake.mk
1 bin_PROGRAMS += \
2         utilities/ovs-appctl \
3         utilities/ovs-dpctl \
4         utilities/ovs-ofctl \
5         utilities/ovs-vsctl
6 bin_SCRIPTS += utilities/ovs-pki
7 if HAVE_PYTHON
8 bin_SCRIPTS += \
9         utilities/ovs-dpctl-top \
10         utilities/ovs-l3ping \
11         utilities/ovs-parse-backtrace \
12         utilities/ovs-pcap \
13         utilities/ovs-tcpundump \
14         utilities/ovs-test \
15         utilities/ovs-vlan-test
16 endif
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 utilities/ovs-lib: $(top_builddir)/config.status
24
25 EXTRA_DIST += \
26         utilities/ovs-check-dead-ifs.in \
27         utilities/ovs-ctl.in \
28         utilities/ovs-dev.py \
29         utilities/ovs-dpctl-top.in \
30         utilities/ovs-l3ping.in \
31         utilities/ovs-lib.in \
32         utilities/ovs-parse-backtrace.in \
33         utilities/ovs-pcap.in \
34         utilities/ovs-pki.in \
35         utilities/ovs-save \
36         utilities/ovs-tcpundump.in \
37         utilities/ovs-test.in \
38         utilities/ovs-vlan-test.in
39 MAN_ROOTS += \
40         utilities/ovs-appctl.8.in \
41         utilities/ovs-benchmark.1.in \
42         utilities/ovs-ctl.8 \
43         utilities/ovs-dpctl.8.in \
44         utilities/ovs-dpctl-top.8.in \
45         utilities/ovs-l3ping.8.in \
46         utilities/ovs-ofctl.8.in \
47         utilities/ovs-parse-backtrace.8 \
48         utilities/ovs-pcap.1.in \
49         utilities/ovs-pki.8.in \
50         utilities/ovs-tcpundump.1.in \
51         utilities/ovs-vlan-bug-workaround.8.in \
52         utilities/ovs-test.8.in \
53         utilities/ovs-vlan-test.8.in \
54         utilities/ovs-vsctl.8.in
55 MAN_FRAGMENTS += utilities/ovs-vlan-bugs.man
56 DISTCLEANFILES += \
57         utilities/ovs-appctl.8 \
58         utilities/ovs-ctl \
59         utilities/ovs-benchmark.1 \
60         utilities/ovs-check-dead-ifs \
61         utilities/ovs-dpctl.8 \
62         utilities/ovs-dpctl-top \
63         utilities/ovs-dpctl-top.8 \
64         utilities/ovs-l3ping \
65         utilities/ovs-l3ping.8 \
66         utilities/ovs-lib \
67         utilities/ovs-ofctl.8 \
68         utilities/ovs-parse-backtrace \
69         utilities/ovs-pcap \
70         utilities/ovs-pcap.1 \
71         utilities/ovs-pki \
72         utilities/ovs-pki.8 \
73         utilities/ovs-tcpundump \
74         utilities/ovs-tcpundump.1 \
75         utilities/ovs-test \
76         utilities/ovs-test.8 \
77         utilities/ovs-vlan-test \
78         utilities/ovs-vlan-test.8 \
79         utilities/ovs-vlan-bug-workaround.8 \
80         utilities/ovs-vsctl.8
81
82 man_MANS += \
83         utilities/ovs-appctl.8 \
84         utilities/ovs-benchmark.1 \
85         utilities/ovs-dpctl.8 \
86         utilities/ovs-dpctl-top.8 \
87         utilities/ovs-l3ping.8 \
88         utilities/ovs-ofctl.8 \
89         utilities/ovs-parse-backtrace.8 \
90         utilities/ovs-pcap.1 \
91         utilities/ovs-pki.8 \
92         utilities/ovs-tcpundump.1 \
93         utilities/ovs-vlan-bug-workaround.8 \
94         utilities/ovs-test.8 \
95         utilities/ovs-vlan-test.8 \
96         utilities/ovs-vsctl.8
97 dist_man_MANS += utilities/ovs-ctl.8
98
99 utilities_ovs_appctl_SOURCES = utilities/ovs-appctl.c
100 utilities_ovs_appctl_LDADD = lib/libopenvswitch.la $(SSL_LIBS)
101
102 utilities_ovs_dpctl_SOURCES = utilities/ovs-dpctl.c
103 utilities_ovs_dpctl_LDADD = lib/libopenvswitch.la $(SSL_LIBS)
104
105 utilities_ovs_ofctl_SOURCES = utilities/ovs-ofctl.c
106 utilities_ovs_ofctl_LDADD = \
107         ofproto/libofproto.la \
108         lib/libopenvswitch.la \
109         $(SSL_LIBS)
110
111 utilities_ovs_vsctl_SOURCES = utilities/ovs-vsctl.c
112 utilities_ovs_vsctl_LDADD = lib/libopenvswitch.la $(SSL_LIBS)
113
114 if LINUX_DATAPATH
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.la $(SSL_LIBS)
118
119 noinst_PROGRAMS += utilities/nlmon
120 utilities_nlmon_SOURCES = utilities/nlmon.c
121 utilities_nlmon_LDADD = lib/libopenvswitch.la $(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.la $(SSL_LIBS)
127
128 include utilities/bugtool/automake.mk