Global replace of Nicira Networks.
[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-controller.8 \
55         utilities/ovs-dpctl.8 \
56         utilities/ovs-lib \
57         utilities/ovs-ofctl.8 \
58         utilities/ovs-parse-leaks \
59         utilities/ovs-pcap \
60         utilities/ovs-pcap.1 \
61         utilities/ovs-pki \
62         utilities/ovs-pki-cgi \
63         utilities/ovs-pki.8 \
64         utilities/ovs-tcpundump \
65         utilities/ovs-tcpundump.1 \
66         utilities/ovs-test \
67         utilities/ovs-test.8 \
68         utilities/ovs-vlan-test \
69         utilities/ovs-vlan-test.8 \
70         utilities/ovs-vlan-bug-workaround.8 \
71         utilities/ovs-vsctl.8
72
73 man_MANS += \
74         utilities/ovs-appctl.8 \
75         utilities/ovs-benchmark.1 \
76         utilities/ovs-controller.8 \
77         utilities/ovs-dpctl.8 \
78         utilities/ovs-ofctl.8 \
79         utilities/ovs-parse-leaks.8 \
80         utilities/ovs-pcap.1 \
81         utilities/ovs-pki.8 \
82         utilities/ovs-tcpundump.1 \
83         utilities/ovs-vlan-bug-workaround.8 \
84         utilities/ovs-test.8 \
85         utilities/ovs-vlan-test.8 \
86         utilities/ovs-vsctl.8
87 dist_man_MANS += utilities/ovs-ctl.8
88
89 utilities_ovs_appctl_SOURCES = utilities/ovs-appctl.c
90 utilities_ovs_appctl_LDADD = lib/libopenvswitch.a $(SSL_LIBS)
91
92 utilities_ovs_controller_SOURCES = utilities/ovs-controller.c
93 utilities_ovs_controller_LDADD = lib/libopenvswitch.a $(SSL_LIBS)
94
95 utilities_ovs_dpctl_SOURCES = utilities/ovs-dpctl.c
96 utilities_ovs_dpctl_LDADD = lib/libopenvswitch.a $(SSL_LIBS)
97
98 utilities_ovs_ofctl_SOURCES = utilities/ovs-ofctl.c
99 utilities_ovs_ofctl_LDADD = \
100         ofproto/libofproto.a \
101         lib/libopenvswitch.a \
102         $(SSL_LIBS)
103
104 utilities_ovs_vsctl_SOURCES = utilities/ovs-vsctl.c
105 utilities_ovs_vsctl_LDADD = lib/libopenvswitch.a $(SSL_LIBS)
106
107 if HAVE_NETLINK
108 sbin_PROGRAMS += utilities/ovs-vlan-bug-workaround
109 utilities_ovs_vlan_bug_workaround_SOURCES = utilities/ovs-vlan-bug-workaround.c
110 utilities_ovs_vlan_bug_workaround_LDADD = lib/libopenvswitch.a $(SSL_LIBS)
111
112 noinst_PROGRAMS += utilities/nlmon
113 utilities_nlmon_SOURCES = utilities/nlmon.c
114 utilities_nlmon_LDADD = lib/libopenvswitch.a $(SSL_LIBS)
115 endif
116
117 bin_PROGRAMS += utilities/ovs-benchmark
118 utilities_ovs_benchmark_SOURCES = utilities/ovs-benchmark.c
119 utilities_ovs_benchmark_LDADD = lib/libopenvswitch.a $(SSL_LIBS)
120
121 include utilities/bugtool/automake.mk