blob: 00ab467fe0fb43016898b07c14f1ec845d33eab9 [file] [log] [blame]
Neale Ranns812ed392017-10-16 04:20:13 -07001# 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
14AUTOMAKE_OPTIONS = foreign
15ACLOCAL_AMFLAGS = -I m4
16AM_LIBTOOLFLAGS = --quiet
17
Neale Ranns5ee623e2018-01-10 07:27:17 -080018AM_CXXFLAGS = -Wall -Werror -std=gnu++11 -I${top_srcdir} -I${top_builddir}/vpp-api/vapi/ -I$(top_srcdir)/vpp-api/ -I${libdir}/../include
Neale Ranns812ed392017-10-16 04:20:13 -070019
20bin_PROGRAMS =
21noinst_LTLIBRARIES =
22CLEANDIRS =
23
24lib_LTLIBRARIES = libvom.la
25
26libvom_la_DEPENDENCIES =
27libvom_la_LIBADD = \
28 $(top_builddir)/vpp-api/vapi/libvapiclient.la \
29 -lpthread \
30 -lboost_thread \
31 $(BOOST_SYSTEM_LIB) \
32 $(BOOST_FILESYSTEM_LIB) \
33 $(BOOST_ASIO_LIB) \
34 -lm -lrt
35
Neale Ranns7758bf62018-02-14 06:34:20 -080036ACL_SOURCES =
37if ENABLE_ACL_PLUGIN
38ACL_SOURCES += \
Neale Ranns812ed392017-10-16 04:20:13 -070039 acl_binding_cmds.cpp \
40 acl_binding.cpp \
Mohsin Kazmi49c7f0c2018-02-07 20:20:36 +010041 acl_ethertype_cmds.cpp \
42 acl_ethertype.cpp \
Neale Ranns812ed392017-10-16 04:20:13 -070043 acl_l2_rule.cpp \
44 acl_l3_rule.cpp \
45 acl_list_cmds.cpp \
46 acl_list.cpp \
Neale Ranns7758bf62018-02-14 06:34:20 -080047 acl_types.cpp
48endif
49
50NAT_SOURCES =
51if ENABLE_NAT_PLUGIN
52NAT_SOURCES += \
53 nat_static.cpp \
54 nat_static_cmds.cpp \
55 nat_binding.cpp \
56 nat_binding_cmds.cpp
57endif
58
59L2E_SOURCES =
60if ENABLE_L2E_PLUGIN
61L2E_SOURCES += \
62 l2_emulation_cmds.cpp \
63 l2_emulation.cpp
64endif
65
66GBP_SOURCES =
67if ENABLE_GBP_PLUGIN
68GBP_SOURCES += \
69 gbp_endpoint_cmds.cpp \
70 gbp_endpoint.cpp \
71 gbp_contract_cmds.cpp \
72 gbp_contract.cpp
73endif
74
75libvom_la_SOURCES = \
76 types.cpp \
Neale Ranns812ed392017-10-16 04:20:13 -070077 arp_proxy_binding_cmds.cpp \
78 arp_proxy_binding.cpp \
79 arp_proxy_config_cmds.cpp \
80 arp_proxy_config.cpp \
Mohsin Kazmied76ee22018-03-02 12:31:37 +010081 bond_group_binding_cmds.cpp \
82 bond_group_binding.cpp \
83 bond_interface_cmds.cpp \
84 bond_interface.cpp \
85 bond_member.cpp \
Neale Ranns812ed392017-10-16 04:20:13 -070086 bridge_domain_cmds.cpp \
87 bridge_domain.cpp \
88 bridge_domain_arp_entry.cpp \
89 bridge_domain_arp_entry_cmds.cpp \
90 bridge_domain_entry_cmds.cpp \
91 bridge_domain_entry.cpp \
92 client_db.cpp \
93 cmd.cpp \
94 connection.cpp \
95 dhcp_config_cmds.cpp \
96 dhcp_config.cpp \
Neale Ranns9ef1c0a2017-11-03 04:39:05 -070097 hw_cmds.cpp \
Neale Ranns812ed392017-10-16 04:20:13 -070098 hw.cpp \
99 inspect.cpp \
100 interface_cmds.cpp \
101 interface.cpp \
102 interface_factory.cpp \
103 interface_ip6_nd_cmds.cpp \
104 interface_span_cmds.cpp \
105 interface_span.cpp \
106 interface_types.cpp \
107 ip_unnumbered_cmds.cpp \
108 ip_unnumbered.cpp \
109 l2_binding_cmds.cpp \
110 l2_binding.cpp \
111 l3_binding_cmds.cpp \
112 l3_binding.cpp \
113 lldp_binding_cmds.cpp \
114 lldp_binding.cpp \
115 lldp_global_cmds.cpp \
116 lldp_global.cpp \
117 logger.cpp \
Neale Ranns812ed392017-10-16 04:20:13 -0700118 neighbour.cpp \
119 neighbour_cmds.cpp \
120 object_base.cpp \
121 om.cpp \
122 prefix.cpp \
123 ra_config.cpp \
124 ra_prefix.cpp \
125 route.cpp \
126 route_cmds.cpp \
127 route_domain.cpp \
128 route_domain_cmds.cpp \
129 sub_interface_cmds.cpp \
130 sub_interface.cpp \
131 tap_interface.cpp \
132 tap_interface_cmds.cpp \
Neale Ranns812ed392017-10-16 04:20:13 -0700133 vxlan_tunnel_cmds.cpp \
Neale Ranns7758bf62018-02-14 06:34:20 -0800134 vxlan_tunnel.cpp \
135 $(ACL_SOURCES) \
136 $(NAT_SOURCES) \
137 $(L2E_SOURCES) \
138 $(GBP_SOURCES)
139
Neale Ranns812ed392017-10-16 04:20:13 -0700140
141vomincludedir = $(includedir)/vom
142
Neale Ranns7758bf62018-02-14 06:34:20 -0800143ACL_INCLUDES =
144if ENABLE_ACL_PLUGIN
145ACL_INCLUDES += \
Neale Ranns812ed392017-10-16 04:20:13 -0700146 acl_binding.hpp \
Mohsin Kazmi49c7f0c2018-02-07 20:20:36 +0100147 acl_ethertype.hpp \
Neale Ranns812ed392017-10-16 04:20:13 -0700148 acl_l2_rule.hpp \
149 acl_l3_rule.hpp \
150 acl_list.hpp \
Neale Ranns7758bf62018-02-14 06:34:20 -0800151 acl_types.hpp
152endif
153
154NAT_INCLUDES =
155if ENABLE_NAT_PLUGIN
156NAT_INCLUDES += \
157 nat_static.hpp \
158 nat_binding.hpp
159endif
160
161L2E_INCLUDES =
162if ENABLE_L2E_PLUGIN
163L2E_INCLUDES += \
164 l2_emulation.hpp
165endif
166
167GBP_INCLUDES =
168if ENABLE_GBP_PLUGIN
169GBP_INCLUDES += \
170 gbp_endpoint.hpp \
171 gbp_contract.hpp
172endif
173
Mohsin Kazmi4ca80c42018-02-15 11:42:30 +0100174vominclude_HEADERS = \
Neale Ranns812ed392017-10-16 04:20:13 -0700175 arp_proxy_binding.hpp \
176 arp_proxy_config.hpp \
Mohsin Kazmied76ee22018-03-02 12:31:37 +0100177 bond_group_binding.hpp \
178 bond_interface.hpp \
179 bond_member.hpp \
Neale Ranns812ed392017-10-16 04:20:13 -0700180 bridge_domain.hpp \
181 bridge_domain_arp_entry.hpp \
182 bridge_domain_entry.hpp \
183 client_db.hpp \
184 cmd.hpp \
185 connection.hpp \
186 dhcp_config.hpp \
Mohsin Kazmi20ab0a42017-11-07 11:28:40 +0100187 dhcp_config_cmds.hpp \
Neale Ranns812ed392017-10-16 04:20:13 -0700188 dump_cmd.hpp \
189 enum_base.hpp \
190 event_cmd.hpp \
191 hw.hpp \
192 inspect.hpp \
193 interface.hpp \
Mohsin Kazmi20ab0a42017-11-07 11:28:40 +0100194 interface_cmds.hpp \
Neale Ranns812ed392017-10-16 04:20:13 -0700195 interface_ip6_nd.hpp \
196 interface_span.hpp \
197 ip_unnumbered.hpp \
198 l2_binding.hpp \
Neale Ranns812ed392017-10-16 04:20:13 -0700199 l3_binding.hpp \
200 lldp_binding.hpp \
201 lldp_global.hpp \
202 logger.hpp \
Neale Ranns812ed392017-10-16 04:20:13 -0700203 neighbour.hpp \
204 object_base.hpp \
205 om.hpp \
206 prefix.hpp \
207 ra_config.hpp \
208 ra_prefix.hpp \
209 route.hpp \
210 route_domain.hpp \
211 rpc_cmd.hpp \
212 singular_db.hpp \
213 sub_interface.hpp \
214 tap_interface.hpp \
215 types.hpp \
Neale Ranns7758bf62018-02-14 06:34:20 -0800216 vxlan_tunnel.hpp \
217 $(ACL_INCLUDES) \
218 $(NAT_INCLUDES) \
219 $(L2E_INCLUDES) \
220 $(GBP_INCLUDES)
Neale Ranns812ed392017-10-16 04:20:13 -0700221
222# vi:syntax=automake