netdev-vport: Don't create port when ovs-monitor-ipsec not running.
[openvswitch] / utilities / automake.mk
1 bin_PROGRAMS += \
2         utilities/ovs-appctl \
3         utilities/ovs-controller \
4         utilities/ovs-discover \
5         utilities/ovs-dpctl \
6         utilities/ovs-ofctl \
7         utilities/ovs-openflowd \
8         utilities/ovs-vsctl
9 bin_SCRIPTS += utilities/ovs-pki utilities/ovs-vsctl
10 if HAVE_PYTHON
11 bin_SCRIPTS += \
12         utilities/ovs-pcap \
13         utilities/ovs-tcpundump \
14         utilities/ovs-vlan-test
15 endif
16 noinst_SCRIPTS += utilities/ovs-pki-cgi utilities/ovs-parse-leaks
17
18 EXTRA_DIST += \
19         utilities/ovs-appctl.8.in \
20         utilities/ovs-controller.8.in \
21         utilities/ovs-discover.8.in \
22         utilities/ovs-dpctl.8.in \
23         utilities/ovs-ofctl.8.in \
24         utilities/ovs-openflowd.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-test.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-discover.8 \
42         utilities/ovs-dpctl.8 \
43         utilities/ovs-ofctl.8 \
44         utilities/ovs-openflowd.8 \
45         utilities/ovs-parse-leaks \
46         utilities/ovs-pcap \
47         utilities/ovs-pcap.1 \
48         utilities/ovs-pki \
49         utilities/ovs-pki-cgi \
50         utilities/ovs-pki.8 \
51         utilities/ovs-tcpundump \
52         utilities/ovs-tcpundump.1 \
53         utilities/ovs-vlan-test \
54         utilities/ovs-vlan-test.8 \
55         utilities/ovs-vsctl.8
56
57 man_MANS += \
58         utilities/ovs-appctl.8 \
59         utilities/ovs-controller.8 \
60         utilities/ovs-discover.8 \
61         utilities/ovs-dpctl.8 \
62         utilities/ovs-ofctl.8 \
63         utilities/ovs-openflowd.8 \
64         utilities/ovs-parse-leaks.8 \
65         utilities/ovs-pcap.1 \
66         utilities/ovs-pki.8 \
67         utilities/ovs-tcpundump.1 \
68         utilities/ovs-vlan-test.8 \
69         utilities/ovs-vsctl.8
70
71 utilities_ovs_appctl_SOURCES = utilities/ovs-appctl.c
72 utilities_ovs_appctl_LDADD = lib/libopenvswitch.a
73
74 utilities_ovs_controller_SOURCES = utilities/ovs-controller.c
75 utilities_ovs_controller_LDADD = lib/libopenvswitch.a $(SSL_LIBS)
76
77 utilities_ovs_discover_SOURCES = utilities/ovs-discover.c
78 utilities_ovs_discover_LDADD = lib/libopenvswitch.a
79
80 utilities_ovs_dpctl_SOURCES = utilities/ovs-dpctl.c
81 utilities_ovs_dpctl_LDADD = lib/libopenvswitch.a
82
83 utilities_ovs_ofctl_SOURCES = utilities/ovs-ofctl.c
84 utilities_ovs_ofctl_LDADD = lib/libopenvswitch.a $(SSL_LIBS)
85
86 utilities_ovs_openflowd_SOURCES = utilities/ovs-openflowd.c
87 utilities_ovs_openflowd_LDADD = \
88         ofproto/libofproto.a \
89         lib/libsflow.a \
90         lib/libopenvswitch.a \
91         $(SSL_LIBS)
92
93 utilities_ovs_vsctl_SOURCES = utilities/ovs-vsctl.c vswitchd/vswitch-idl.c
94 utilities_ovs_vsctl_LDADD = lib/libopenvswitch.a $(SSL_LIBS)
95
96 if HAVE_NETLINK
97 noinst_PROGRAMS += utilities/nlmon
98 utilities_nlmon_SOURCES = utilities/nlmon.c
99 utilities_nlmon_LDADD = lib/libopenvswitch.a
100 endif