tests: Add test suite for packets.h.
[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-tcpundump.1.in \
35         utilities/ovs-tcpundump.in \
36         utilities/ovs-vlan-test.in \
37         utilities/ovs-vlan-test.8.in \
38         utilities/ovs-vsctl.8.in
39 DISTCLEANFILES += \
40         utilities/ovs-appctl.8 \
41         utilities/ovs-controller.8 \
42         utilities/ovs-discover.8 \
43         utilities/ovs-dpctl.8 \
44         utilities/ovs-kill.8 \
45         utilities/ovs-ofctl.8 \
46         utilities/ovs-openflowd.8 \
47         utilities/ovs-parse-leaks \
48         utilities/ovs-pcap \
49         utilities/ovs-pcap.1 \
50         utilities/ovs-pki \
51         utilities/ovs-pki-cgi \
52         utilities/ovs-pki.8 \
53         utilities/ovs-tcpundump \
54         utilities/ovs-tcpundump.1 \
55         utilities/ovs-vlan-test \
56         utilities/ovs-vlan-test.8 \
57         utilities/ovs-vsctl.8
58
59 man_MANS += \
60         utilities/ovs-appctl.8 \
61         utilities/ovs-controller.8 \
62         utilities/ovs-discover.8 \
63         utilities/ovs-dpctl.8 \
64         utilities/ovs-kill.8 \
65         utilities/ovs-ofctl.8 \
66         utilities/ovs-openflowd.8 \
67         utilities/ovs-parse-leaks.8 \
68         utilities/ovs-pcap.1 \
69         utilities/ovs-pki.8 \
70         utilities/ovs-tcpundump.1 \
71         utilities/ovs-vlan-test.8 \
72         utilities/ovs-vsctl.8
73
74 utilities_ovs_appctl_SOURCES = utilities/ovs-appctl.c
75 utilities_ovs_appctl_LDADD = lib/libopenvswitch.a
76
77 utilities_ovs_controller_SOURCES = utilities/ovs-controller.c
78 utilities_ovs_controller_LDADD = lib/libopenvswitch.a $(SSL_LIBS)
79
80 utilities_ovs_discover_SOURCES = utilities/ovs-discover.c
81 utilities_ovs_discover_LDADD = lib/libopenvswitch.a
82
83 utilities_ovs_dpctl_SOURCES = utilities/ovs-dpctl.c
84 utilities_ovs_dpctl_LDADD = lib/libopenvswitch.a
85
86 utilities_ovs_kill_SOURCES = utilities/ovs-kill.c
87 utilities_ovs_kill_LDADD = lib/libopenvswitch.a
88
89 utilities_ovs_ofctl_SOURCES = utilities/ovs-ofctl.c
90 utilities_ovs_ofctl_LDADD = lib/libopenvswitch.a $(SSL_LIBS)
91
92 utilities_ovs_openflowd_SOURCES = utilities/ovs-openflowd.c
93 utilities_ovs_openflowd_LDADD = \
94         ofproto/libofproto.a \
95         lib/libsflow.a \
96         lib/libopenvswitch.a \
97         $(SSL_LIBS)
98
99 utilities_ovs_vsctl_SOURCES = utilities/ovs-vsctl.c vswitchd/vswitch-idl.c
100 utilities_ovs_vsctl_LDADD = lib/libopenvswitch.a $(SSL_LIBS)
101
102 if HAVE_NETLINK
103 noinst_PROGRAMS += utilities/nlmon
104 utilities_nlmon_SOURCES = utilities/nlmon.c
105 utilities_nlmon_LDADD = lib/libopenvswitch.a
106 endif