VOM: support for pipes
[vpp.git] / extras / vom / vom / Makefile.am
1 # Copyright (c) 2017 Cisco and/or its affiliates.
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 AUTOMAKE_OPTIONS = foreign
15 ACLOCAL_AMFLAGS = -I m4
16 AM_LIBTOOLFLAGS = --quiet
17
18 AM_CXXFLAGS = -Wall -Werror -std=gnu++11 -I${top_srcdir}
19
20 bin_PROGRAMS =
21 noinst_LTLIBRARIES =
22 CLEANDIRS =
23
24 lib_LTLIBRARIES = libvom.la
25
26 libvom_la_DEPENDENCIES =
27 libvom_la_LIBADD =                                      \
28         -lvapiclient                                    \
29         -lpthread                                       \
30         -lboost_thread                                  \
31         $(BOOST_SYSTEM_LIB)                             \
32         $(BOOST_FILESYSTEM_LIB)                         \
33         $(BOOST_ASIO_LIB)                               \
34         -lm -lrt
35
36 ACL_SOURCES =
37 if ENABLE_ACL_PLUGIN
38 ACL_SOURCES +=                          \
39         acl_binding_cmds.cpp            \
40         acl_binding.cpp                 \
41         acl_ethertype_cmds.cpp          \
42         acl_ethertype.cpp               \
43         acl_l2_rule.cpp                 \
44         acl_l3_rule.cpp                 \
45         acl_list_cmds.cpp               \
46         acl_list.cpp                    \
47         acl_types.cpp
48 endif
49
50 NAT_SOURCES =
51 if ENABLE_NAT_PLUGIN
52 NAT_SOURCES +=                          \
53         nat_static.cpp                  \
54         nat_static_cmds.cpp             \
55         nat_binding.cpp                 \
56         nat_binding_cmds.cpp
57 endif
58
59 L2E_SOURCES =
60 if ENABLE_L2E_PLUGIN
61 L2E_SOURCES +=                          \
62         l2_emulation_cmds.cpp           \
63         l2_emulation.cpp
64 endif
65
66 GBP_SOURCES =
67 if ENABLE_GBP_PLUGIN
68 GBP_SOURCES +=                          \
69         gbp_recirc_cmds.cpp             \
70         gbp_recirc.cpp                  \
71         gbp_subnet_cmds.cpp             \
72         gbp_subnet.cpp                  \
73         gbp_endpoint_cmds.cpp           \
74         gbp_endpoint.cpp                \
75         gbp_endpoint_group_cmds.cpp     \
76         gbp_endpoint_group.cpp          \
77         gbp_contract_cmds.cpp           \
78         gbp_contract.cpp
79 endif
80
81 libvom_la_SOURCES =                     \
82         types.cpp                       \
83         arp_proxy_binding_cmds.cpp      \
84         arp_proxy_binding.cpp           \
85         arp_proxy_config_cmds.cpp       \
86         arp_proxy_config.cpp            \
87         bond_group_binding_cmds.cpp     \
88         bond_group_binding.cpp          \
89         bond_interface_cmds.cpp         \
90         bond_interface.cpp              \
91         bond_member.cpp                 \
92         bridge_domain_cmds.cpp          \
93         bridge_domain.cpp               \
94         bridge_domain_arp_entry.cpp     \
95         bridge_domain_arp_entry_cmds.cpp \
96         bridge_domain_entry_cmds.cpp    \
97         bridge_domain_entry.cpp         \
98         client_db.cpp                   \
99         cmd.cpp                         \
100         connection.cpp                  \
101         dhcp_client_cmds.cpp            \
102         dhcp_client.cpp                 \
103         hw_cmds.cpp                     \
104         hw.cpp                          \
105         inspect.cpp                     \
106         interface_cmds.cpp              \
107         interface.cpp                   \
108         interface_factory.cpp           \
109         interface_ip6_nd_cmds.cpp       \
110         interface_span_cmds.cpp         \
111         interface_span.cpp              \
112         interface_types.cpp             \
113         ip_unnumbered_cmds.cpp          \
114         ip_unnumbered.cpp               \
115         l2_binding_cmds.cpp             \
116         l2_binding.cpp                  \
117         l2_xconnect_cmds.cpp            \
118         l2_xconnect.cpp                 \
119         l3_binding_cmds.cpp             \
120         l3_binding.cpp                  \
121         lldp_binding_cmds.cpp           \
122         lldp_binding.cpp                \
123         lldp_global_cmds.cpp            \
124         lldp_global.cpp                 \
125         logger.cpp                      \
126         neighbour.cpp                   \
127         neighbour_cmds.cpp              \
128         object_base.cpp                 \
129         om.cpp                          \
130         pipe.cpp                        \
131         pipe_cmds.cpp                   \
132         prefix.cpp                      \
133         ra_config.cpp                   \
134         ra_prefix.cpp                   \
135         route.cpp                       \
136         route_cmds.cpp                  \
137         route_domain.cpp                \
138         route_domain_cmds.cpp           \
139         sub_interface_cmds.cpp          \
140         sub_interface.cpp               \
141         tap_interface.cpp               \
142         tap_interface_cmds.cpp          \
143         vxlan_tunnel_cmds.cpp           \
144         vxlan_tunnel.cpp                \
145         $(ACL_SOURCES)                  \
146         $(NAT_SOURCES)                  \
147         $(L2E_SOURCES)                  \
148         $(GBP_SOURCES)
149
150
151 vomincludedir = $(includedir)/vom
152
153 ACL_INCLUDES =
154 if ENABLE_ACL_PLUGIN
155 ACL_INCLUDES +=                         \
156         acl_binding.hpp                 \
157         acl_ethertype.hpp               \
158         acl_l2_rule.hpp                 \
159         acl_l3_rule.hpp                 \
160         acl_list.hpp                    \
161         acl_types.hpp
162 endif
163
164 NAT_INCLUDES =
165 if ENABLE_NAT_PLUGIN
166 NAT_INCLUDES +=                         \
167         nat_static.hpp                  \
168         nat_binding.hpp
169 endif
170
171 L2E_INCLUDES =
172 if ENABLE_L2E_PLUGIN
173 L2E_INCLUDES +=                         \
174         l2_emulation.hpp
175 endif
176
177 GBP_INCLUDES =
178 if ENABLE_GBP_PLUGIN
179 GBP_INCLUDES +=                         \
180         gbp_endpoint.hpp                \
181         gbp_endpoint_group.hpp          \
182         gbp_subnet.hpp                  \
183         gbp_recirc.hpp                  \
184         gbp_contract.hpp
185 endif
186
187 vominclude_HEADERS =                    \
188         arp_proxy_binding.hpp           \
189         arp_proxy_config.hpp            \
190         bond_group_binding.hpp          \
191         bond_interface.hpp              \
192         bond_member.hpp                 \
193         bridge_domain.hpp               \
194         bridge_domain_arp_entry.hpp     \
195         bridge_domain_entry.hpp         \
196         client_db.hpp                   \
197         cmd.hpp                         \
198         connection.hpp                  \
199         dhcp_client.hpp                 \
200         dump_cmd.hpp                    \
201         enum_base.hpp                   \
202         event_cmd.hpp                   \
203         hw.hpp                          \
204         inspect.hpp                     \
205         interface.hpp                   \
206         interface_cmds.hpp              \
207         interface_ip6_nd.hpp            \
208         interface_span.hpp              \
209         ip_unnumbered.hpp               \
210         l2_binding.hpp                  \
211         l2_xconnect.hpp                 \
212         l3_binding.hpp                  \
213         lldp_binding.hpp                \
214         lldp_global.hpp                 \
215         logger.hpp                      \
216         neighbour.hpp                   \
217         object_base.hpp                 \
218         om.hpp                          \
219         pipe.hpp                        \
220         prefix.hpp                      \
221         ra_config.hpp                   \
222         ra_prefix.hpp                   \
223         route.hpp                       \
224         route_domain.hpp                \
225         rpc_cmd.hpp                     \
226         singular_db.hpp                 \
227         singular_db_funcs.hpp           \
228         sub_interface.hpp               \
229         tap_interface.hpp               \
230         types.hpp                       \
231         vxlan_tunnel.hpp                \
232         $(ACL_INCLUDES)                 \
233         $(NAT_INCLUDES)                 \
234         $(L2E_INCLUDES)                 \
235         $(GBP_INCLUDES)
236
237 # vi:syntax=automake