gbp: migrate old MULTIARCH macros to VLIB_NODE_FN
[vpp.git] / src / plugins / gbp / CMakeLists.txt
1 # Copyright (c) 2018 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 add_vpp_plugin(gbp
15   SOURCES
16   gbp_api.c
17   gbp_bridge_domain.c
18   gbp_classify.c
19   gbp_contract.c
20   gbp_endpoint.c
21   gbp_endpoint_group.c
22   gbp_ext_itf.c
23   gbp_fwd.c
24   gbp_fwd_dpo.c
25   gbp_fwd_node.c
26   gbp_itf.c
27   gbp_learn.c
28   gbp_policy.c
29   gbp_policy_dpo.c
30   gbp_recirc.c
31   gbp_route_domain.c
32   gbp_scanner.c
33   gbp_sclass.c
34   gbp_subnet.c
35   gbp_vxlan.c
36   gbp_vxlan_node.c
37
38   MULTIARCH_SOURCES
39   gbp_fwd_node.c
40   gbp_policy.c
41   gbp_learn.c
42   gbp_policy_dpo.c
43   gbp_fwd_dpo.c
44   gbp_vxlan_node.c
45   gbp_sclass.c
46   gbp_classify.c
47
48   API_FILES
49   gbp.api
50
51   INSTALL_HEADERS
52   gbp.h
53   gbp_all_api_h.h
54   gbp_msg_enum.h
55 )