ofproto: Remove controller discovery support.
[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-openflowd \
7         utilities/ovs-vsctl
8 bin_SCRIPTS += utilities/ovs-pki utilities/ovs-vsctl
9 if HAVE_PYTHON
10 bin_SCRIPTS += \
11         utilities/ovs-pcap \
12         utilities/ovs-tcpundump \
13         utilities/ovs-vlan-test
14 endif
15 noinst_SCRIPTS += utilities/ovs-pki-cgi utilities/ovs-parse-leaks
16
17 EXTRA_DIST += \
18         utilities/ovs-appctl.8.in \
19         utilities/ovs-controller.8.in \
20         utilities/ovs-dpctl.8.in \
21         utilities/ovs-ofctl.8.in \
22         utilities/ovs-openflowd.8.in \
23         utilities/ovs-parse-leaks.8 \
24         utilities/ovs-parse-leaks.in \
25         utilities/ovs-pcap.1.in \
26         utilities/ovs-pcap.in \
27         utilities/ovs-pki-cgi.in \
28         utilities/ovs-pki.8.in \
29         utilities/ovs-pki.in \
30         utilities/ovs-save \
31         utilities/ovs-tcpundump.1.in \
32         utilities/ovs-tcpundump.in \
33         utilities/ovs-vlan-bugs.man \
34         utilities/ovs-vlan-test.in \
35         utilities/ovs-vlan-bug-workaround.8.in \
36         utilities/ovs-vlan-test.8.in \
37         utilities/ovs-vsctl.8.in
38 DISTCLEANFILES += \
39         utilities/ovs-appctl.8 \
40         utilities/ovs-controller.8 \
41         utilities/ovs-dpctl.8 \
42         utilities/ovs-ofctl.8 \
43         utilities/ovs-openflowd.8 \
44         utilities/ovs-parse-leaks \
45         utilities/ovs-pcap \
46         utilities/ovs-pcap.1 \
47         utilities/ovs-pki \
48         utilities/ovs-pki-cgi \
49         utilities/ovs-pki.8 \
50         utilities/ovs-tcpundump \
51         utilities/ovs-tcpundump.1 \
52         utilities/ovs-vlan-test \
53         utilities/ovs-vlan-test.8 \
54         utilities/ovs-vsctl.8
55
56 man_MANS += \
57         utilities/ovs-appctl.8 \
58         utilities/ovs-controller.8 \
59         utilities/ovs-dpctl.8 \
60         utilities/ovs-ofctl.8 \
61         utilities/ovs-openflowd.8 \
62         utilities/ovs-parse-leaks.8 \
63         utilities/ovs-pcap.1 \
64         utilities/ovs-pki.8 \
65         utilities/ovs-tcpundump.1 \
66         utilities/ovs-vlan-bug-workaround.8.in \
67         utilities/ovs-vlan-test.8 \
68         utilities/ovs-vsctl.8
69
70 utilities_ovs_appctl_SOURCES = utilities/ovs-appctl.c
71 utilities_ovs_appctl_LDADD = lib/libopenvswitch.a
72
73 utilities_ovs_controller_SOURCES = utilities/ovs-controller.c
74 utilities_ovs_controller_LDADD = lib/libopenvswitch.a $(SSL_LIBS)
75
76 utilities_ovs_dpctl_SOURCES = utilities/ovs-dpctl.c
77 utilities_ovs_dpctl_LDADD = lib/libopenvswitch.a
78
79 utilities_ovs_ofctl_SOURCES = utilities/ovs-ofctl.c
80 utilities_ovs_ofctl_LDADD = lib/libopenvswitch.a $(SSL_LIBS)
81
82 utilities_ovs_openflowd_SOURCES = utilities/ovs-openflowd.c
83 utilities_ovs_openflowd_LDADD = \
84         ofproto/libofproto.a \
85         lib/libsflow.a \
86         lib/libopenvswitch.a \
87         $(SSL_LIBS)
88
89 utilities_ovs_vsctl_SOURCES = utilities/ovs-vsctl.c vswitchd/vswitch-idl.c
90 utilities_ovs_vsctl_LDADD = lib/libopenvswitch.a $(SSL_LIBS)
91
92 if HAVE_NETLINK
93 sbin_PROGRAMS += utilities/ovs-vlan-bug-workaround
94 utilities_ovs_vlan_bug_workaround_SOURCES = utilities/ovs-vlan-bug-workaround.c
95 utilities_ovs_vlan_bug_workaround_LDADD = lib/libopenvswitch.a
96
97 noinst_PROGRAMS += utilities/nlmon
98 utilities_nlmon_SOURCES = utilities/nlmon.c
99 utilities_nlmon_LDADD = lib/libopenvswitch.a
100 endif