jsonrpc.py: Import "ovs.json".
[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-kill \
7         utilities/ovs-ofctl \
8         utilities/ovs-openflowd \
9         utilities/ovs-vsctl
10 bin_SCRIPTS += utilities/ovs-pki utilities/ovs-vsctl
11 if HAVE_PYTHON
12 bin_SCRIPTS += \
13         utilities/ovs-pcap \
14         utilities/ovs-tcpundump \
15         utilities/ovs-vlan-test
16 endif
17 noinst_SCRIPTS += utilities/ovs-pki-cgi utilities/ovs-parse-leaks
18
19 EXTRA_DIST += \
20         utilities/ovs-appctl.8.in \
21         utilities/ovs-controller.8.in \
22         utilities/ovs-discover.8.in \
23         utilities/ovs-dpctl.8.in \
24         utilities/ovs-kill.8.in \
25         utilities/ovs-ofctl.8.in \
26         utilities/ovs-openflowd.8.in \
27         utilities/ovs-parse-leaks.8 \
28         utilities/ovs-parse-leaks.in \
29         utilities/ovs-pcap.1.in \
30         utilities/ovs-pcap.in \
31         utilities/ovs-pki-cgi.in \
32         utilities/ovs-pki.8.in \
33         utilities/ovs-pki.in \
34         utilities/ovs-save \
35         utilities/ovs-tcpundump.1.in \
36         utilities/ovs-tcpundump.in \
37         utilities/ovs-vlan-test.in \
38         utilities/ovs-vlan-test.8.in \
39         utilities/ovs-vsctl.8.in
40 DISTCLEANFILES += \
41         utilities/ovs-appctl.8 \
42         utilities/ovs-controller.8 \
43         utilities/ovs-discover.8 \
44         utilities/ovs-dpctl.8 \
45         utilities/ovs-kill.8 \
46         utilities/ovs-ofctl.8 \
47         utilities/ovs-openflowd.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-vsctl.8
59
60 man_MANS += \
61         utilities/ovs-appctl.8 \
62         utilities/ovs-controller.8 \
63         utilities/ovs-discover.8 \
64         utilities/ovs-dpctl.8 \
65         utilities/ovs-kill.8 \
66         utilities/ovs-ofctl.8 \
67         utilities/ovs-openflowd.8 \
68         utilities/ovs-parse-leaks.8 \
69         utilities/ovs-pcap.1 \
70         utilities/ovs-pki.8 \
71         utilities/ovs-tcpundump.1 \
72         utilities/ovs-vlan-test.8 \
73         utilities/ovs-vsctl.8
74
75 utilities_ovs_appctl_SOURCES = utilities/ovs-appctl.c
76 utilities_ovs_appctl_LDADD = lib/libopenvswitch.a
77
78 utilities_ovs_controller_SOURCES = utilities/ovs-controller.c
79 utilities_ovs_controller_LDADD = lib/libopenvswitch.a $(SSL_LIBS)
80
81 utilities_ovs_discover_SOURCES = utilities/ovs-discover.c
82 utilities_ovs_discover_LDADD = lib/libopenvswitch.a
83
84 utilities_ovs_dpctl_SOURCES = utilities/ovs-dpctl.c
85 utilities_ovs_dpctl_LDADD = lib/libopenvswitch.a
86
87 utilities_ovs_kill_SOURCES = utilities/ovs-kill.c
88 utilities_ovs_kill_LDADD = lib/libopenvswitch.a
89
90 utilities_ovs_ofctl_SOURCES = utilities/ovs-ofctl.c
91 utilities_ovs_ofctl_LDADD = lib/libopenvswitch.a $(SSL_LIBS)
92
93 utilities_ovs_openflowd_SOURCES = utilities/ovs-openflowd.c
94 utilities_ovs_openflowd_LDADD = \
95         ofproto/libofproto.a \
96         lib/libsflow.a \
97         lib/libopenvswitch.a \
98         $(SSL_LIBS)
99
100 utilities_ovs_vsctl_SOURCES = utilities/ovs-vsctl.c vswitchd/vswitch-idl.c
101 utilities_ovs_vsctl_LDADD = lib/libopenvswitch.a $(SSL_LIBS)
102
103 if HAVE_NETLINK
104 noinst_PROGRAMS += utilities/nlmon
105 utilities_nlmon_SOURCES = utilities/nlmon.c
106 utilities_nlmon_LDADD = lib/libopenvswitch.a
107 endif