use new vsys promisc script
[sliver-openvswitch.git] / 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-parse-leaks
8 if HAVE_PYTHON
9 bin_SCRIPTS += \
10         utilities/ovs-l3ping \
11         utilities/ovs-pcap \
12         utilities/ovs-tcpundump \
13         utilities/ovs-test \
14         utilities/ovs-vlan-test
15 endif
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-l3ping.in \
26         utilities/ovs-lib.in \
27         utilities/ovs-parse-leaks.in \
28         utilities/ovs-pcap.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-l3ping.8.in \
41         utilities/ovs-ofctl.8.in \
42         utilities/ovs-parse-leaks.8 \
43         utilities/ovs-pcap.1.in \
44         utilities/ovs-pki.8.in \
45         utilities/ovs-tcpundump.1.in \
46         utilities/ovs-vlan-bug-workaround.8.in \
47         utilities/ovs-test.8.in \
48         utilities/ovs-vlan-test.8.in \
49         utilities/ovs-vsctl.8.in
50 MAN_FRAGMENTS += utilities/ovs-vlan-bugs.man
51 DISTCLEANFILES += \
52         utilities/ovs-appctl.8 \
53         utilities/ovs-ctl \
54         utilities/ovs-benchmark.1 \
55         utilities/ovs-check-dead-ifs \
56         utilities/ovs-controller.8 \
57         utilities/ovs-dpctl.8 \
58         utilities/ovs-l3ping \
59         utilities/ovs-l3ping.8 \
60         utilities/ovs-lib \
61         utilities/ovs-ofctl.8 \
62         utilities/ovs-parse-leaks \
63         utilities/ovs-pcap \
64         utilities/ovs-pcap.1 \
65         utilities/ovs-pki \
66         utilities/ovs-pki.8 \
67         utilities/ovs-tcpundump \
68         utilities/ovs-tcpundump.1 \
69         utilities/ovs-test \
70         utilities/ovs-test.8 \
71         utilities/ovs-vlan-test \
72         utilities/ovs-vlan-test.8 \
73         utilities/ovs-vlan-bug-workaround.8 \
74         utilities/ovs-vsctl.8
75
76 man_MANS += \
77         utilities/ovs-appctl.8 \
78         utilities/ovs-benchmark.1 \
79         utilities/ovs-controller.8 \
80         utilities/ovs-dpctl.8 \
81         utilities/ovs-l3ping.8 \
82         utilities/ovs-ofctl.8 \
83         utilities/ovs-parse-leaks.8 \
84         utilities/ovs-pcap.1 \
85         utilities/ovs-pki.8 \
86         utilities/ovs-tcpundump.1 \
87         utilities/ovs-vlan-bug-workaround.8 \
88         utilities/ovs-test.8 \
89         utilities/ovs-vlan-test.8 \
90         utilities/ovs-vsctl.8
91 dist_man_MANS += utilities/ovs-ctl.8
92
93 utilities_ovs_appctl_SOURCES = utilities/ovs-appctl.c
94 utilities_ovs_appctl_LDADD = lib/libopenvswitch.a $(SSL_LIBS)
95
96 utilities_ovs_controller_SOURCES = utilities/ovs-controller.c
97 utilities_ovs_controller_LDADD = lib/libopenvswitch.a $(SSL_LIBS)
98
99 utilities_ovs_dpctl_SOURCES = utilities/ovs-dpctl.c
100 utilities_ovs_dpctl_LDADD = lib/libopenvswitch.a $(SSL_LIBS)
101
102 utilities_ovs_ofctl_SOURCES = utilities/ovs-ofctl.c
103 utilities_ovs_ofctl_LDADD = \
104         ofproto/libofproto.a \
105         lib/libopenvswitch.a \
106         $(SSL_LIBS)
107
108 utilities_ovs_vsctl_SOURCES = utilities/ovs-vsctl.c
109 utilities_ovs_vsctl_LDADD = lib/libopenvswitch.a $(SSL_LIBS)
110
111 if HAVE_NETLINK
112 sbin_PROGRAMS += utilities/ovs-vlan-bug-workaround
113 utilities_ovs_vlan_bug_workaround_SOURCES = utilities/ovs-vlan-bug-workaround.c
114 utilities_ovs_vlan_bug_workaround_LDADD = lib/libopenvswitch.a $(SSL_LIBS)
115
116 noinst_PROGRAMS += utilities/nlmon
117 utilities_nlmon_SOURCES = utilities/nlmon.c
118 utilities_nlmon_LDADD = lib/libopenvswitch.a $(SSL_LIBS)
119 endif
120
121 bin_PROGRAMS += utilities/ovs-benchmark
122 utilities_ovs_benchmark_SOURCES = utilities/ovs-benchmark.c
123 utilities_ovs_benchmark_LDADD = lib/libopenvswitch.a $(SSL_LIBS)
124
125 include utilities/bugtool/automake.mk