ofproto-dpif: Fix minor memory leak when creating dpif_backers.
[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-parse-backtrace \
12         utilities/ovs-pcap \
13         utilities/ovs-tcpundump \
14         utilities/ovs-test \
15         utilities/ovs-vlan-test
16 endif
17 scripts_SCRIPTS += \
18         utilities/ovs-check-dead-ifs \
19         utilities/ovs-ctl \
20         utilities/ovs-save
21 scripts_DATA += utilities/ovs-lib
22
23 EXTRA_DIST += \
24         utilities/ovs-check-dead-ifs.in \
25         utilities/ovs-ctl.in \
26         utilities/ovs-l3ping.in \
27         utilities/ovs-lib.in \
28         utilities/ovs-parse-backtrace.in \
29         utilities/ovs-parse-leaks.in \
30         utilities/ovs-pcap.in \
31         utilities/ovs-pki.in \
32         utilities/ovs-save \
33         utilities/ovs-tcpundump.in \
34         utilities/ovs-test.in \
35         utilities/ovs-vlan-test.in
36 MAN_ROOTS += \
37         utilities/ovs-appctl.8.in \
38         utilities/ovs-benchmark.1.in \
39         utilities/ovs-controller.8.in \
40         utilities/ovs-ctl.8 \
41         utilities/ovs-dpctl.8.in \
42         utilities/ovs-l3ping.8.in \
43         utilities/ovs-ofctl.8.in \
44         utilities/ovs-parse-backtrace.8 \
45         utilities/ovs-parse-leaks.8 \
46         utilities/ovs-pcap.1.in \
47         utilities/ovs-pki.8.in \
48         utilities/ovs-tcpundump.1.in \
49         utilities/ovs-vlan-bug-workaround.8.in \
50         utilities/ovs-test.8.in \
51         utilities/ovs-vlan-test.8.in \
52         utilities/ovs-vsctl.8.in
53 MAN_FRAGMENTS += utilities/ovs-vlan-bugs.man
54 DISTCLEANFILES += \
55         utilities/ovs-appctl.8 \
56         utilities/ovs-ctl \
57         utilities/ovs-benchmark.1 \
58         utilities/ovs-check-dead-ifs \
59         utilities/ovs-controller.8 \
60         utilities/ovs-dpctl.8 \
61         utilities/ovs-l3ping \
62         utilities/ovs-l3ping.8 \
63         utilities/ovs-lib \
64         utilities/ovs-ofctl.8 \
65         utilities/ovs-parse-backtrace \
66         utilities/ovs-parse-leaks \
67         utilities/ovs-pcap \
68         utilities/ovs-pcap.1 \
69         utilities/ovs-pki \
70         utilities/ovs-pki.8 \
71         utilities/ovs-tcpundump \
72         utilities/ovs-tcpundump.1 \
73         utilities/ovs-test \
74         utilities/ovs-test.8 \
75         utilities/ovs-vlan-test \
76         utilities/ovs-vlan-test.8 \
77         utilities/ovs-vlan-bug-workaround.8 \
78         utilities/ovs-vsctl.8
79
80 man_MANS += \
81         utilities/ovs-appctl.8 \
82         utilities/ovs-benchmark.1 \
83         utilities/ovs-controller.8 \
84         utilities/ovs-dpctl.8 \
85         utilities/ovs-l3ping.8 \
86         utilities/ovs-ofctl.8 \
87         utilities/ovs-parse-backtrace.8 \
88         utilities/ovs-parse-leaks.8 \
89         utilities/ovs-pcap.1 \
90         utilities/ovs-pki.8 \
91         utilities/ovs-tcpundump.1 \
92         utilities/ovs-vlan-bug-workaround.8 \
93         utilities/ovs-test.8 \
94         utilities/ovs-vlan-test.8 \
95         utilities/ovs-vsctl.8
96 dist_man_MANS += utilities/ovs-ctl.8
97
98 utilities_ovs_appctl_SOURCES = utilities/ovs-appctl.c
99 utilities_ovs_appctl_LDADD = lib/libopenvswitch.a $(SSL_LIBS)
100
101 utilities_ovs_controller_SOURCES = utilities/ovs-controller.c
102 utilities_ovs_controller_LDADD = lib/libopenvswitch.a $(SSL_LIBS)
103
104 utilities_ovs_dpctl_SOURCES = utilities/ovs-dpctl.c
105 utilities_ovs_dpctl_LDADD = lib/libopenvswitch.a $(SSL_LIBS)
106
107 utilities_ovs_ofctl_SOURCES = utilities/ovs-ofctl.c
108 utilities_ovs_ofctl_LDADD = \
109         ofproto/libofproto.a \
110         lib/libopenvswitch.a \
111         $(SSL_LIBS)
112
113 utilities_ovs_vsctl_SOURCES = utilities/ovs-vsctl.c
114 utilities_ovs_vsctl_LDADD = lib/libopenvswitch.a $(SSL_LIBS)
115
116 if LINUX_DATAPATH
117 sbin_PROGRAMS += utilities/ovs-vlan-bug-workaround
118 utilities_ovs_vlan_bug_workaround_SOURCES = utilities/ovs-vlan-bug-workaround.c
119 utilities_ovs_vlan_bug_workaround_LDADD = lib/libopenvswitch.a $(SSL_LIBS)
120
121 noinst_PROGRAMS += utilities/nlmon
122 utilities_nlmon_SOURCES = utilities/nlmon.c
123 utilities_nlmon_LDADD = lib/libopenvswitch.a $(SSL_LIBS)
124 endif
125
126 bin_PROGRAMS += utilities/ovs-benchmark
127 utilities_ovs_benchmark_SOURCES = utilities/ovs-benchmark.c
128 utilities_ovs_benchmark_LDADD = lib/libopenvswitch.a $(SSL_LIBS)
129
130 include utilities/bugtool/automake.mk