bond: Add bonding driver and LACP protocol
[vpp.git] / src / plugins / lacp.am
1 # Copyright (c) 2017 Cisco Systems, Inc.
2 # Licensed under the Apache License, Version 2.0 (the "License");
3 # you may not use this file except in compliance with the License.
4 # You may obtain a copy of the License at:
5 #
6 #     http://www.apache.org/licenses/LICENSE-2.0
7 #
8 # Unless required by applicable law or agreed to in writing, software
9 # distributed under the License is distributed on an "AS IS" BASIS,
10 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11 # See the License for the specific language governing permissions and
12 # limitations under the License.
13
14 vppplugins_LTLIBRARIES += lacp_plugin.la
15 vppapitestplugins_LTLIBRARIES += lacp_test_plugin.la
16
17 lacp_plugin_la_LIBADD =
18 lacp_plugin_la_SOURCES = lacp/lacp.c   \
19   lacp/lacp_api.c                  \
20   lacp/selection.c                 \
21   lacp/rx_machine.c                \
22   lacp/tx_machine.c                \
23   lacp/mux_machine.c               \
24   lacp/ptx_machine.c               \
25   lacp/cli.c                       \
26   lacp/input.c                     \
27   lacp/node.c
28
29 lacp_test_plugin_la_SOURCES = \
30   lacp/lacp_test.c
31
32 noinst_HEADERS += lacp/protocol.h  \
33   lacp/machine.h                   \
34   lacp/rx_machine.h                \
35   lacp/tx_machine.h                \
36   lacp/mux_machine.h               \
37   lacp/ptx_machine.h               \
38   lacp/node.h
39
40 nobase_apiinclude_HEADERS +=       \
41   lacp/lacp_all_api_h.h            \
42   lacp/lacp_msg_enum.h             \
43   lacp/lacp.api.h
44
45 API_FILES += lacp/lacp.api
46
47 # vi:syntax=automake