vrrp: fix vrrp_garp_or_na_send()'s memory leak
[vpp.git] / src / plugins / lisp / CMakeLists.txt
1 # Copyright (c) 2020 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 if(NOT OPENSSL_FOUND)
15   message(WARNING "OpenSSL not found - lisp plugin disabled")
16   return()
17 endif()
18
19 ##############################################################################
20 # LISP control plane: lisp-cp
21 ##############################################################################
22
23 ##############################################################################
24 # Tunnel protocol: lisp-gpe
25 ##############################################################################
26
27 add_vpp_plugin(lisp
28   SOURCES
29   lisp-cp/lisp_types.c
30   lisp-cp/lisp_cp_dpo.c
31   lisp-cp/control.c
32   lisp-cp/control_main.c
33   lisp-cp/gid_dictionary.c
34   lisp-cp/lisp_msg_serdes.c
35   lisp-cp/packets.c
36   lisp-cp/one_cli.c
37   lisp-cp/lisp_cli.c
38   lisp-cp/one_api.c
39   lisp-cp/lisp_api.c
40   lisp-cp/lisp_types_api.c
41   lisp-gpe/lisp_gpe.c
42   lisp-gpe/lisp_gpe_sub_interface.c
43   lisp-gpe/lisp_gpe_adjacency.c
44   lisp-gpe/lisp_gpe_tunnel.c
45   lisp-gpe/lisp_gpe_fwd_entry.c
46   lisp-gpe/lisp_gpe_tenant.c
47   lisp-gpe/interface.c
48   lisp-gpe/decap.c
49   lisp-gpe/lisp_gpe_api.c
50
51   API_FILES
52   lisp-cp/lisp_types.api
53   lisp-cp/lisp.api
54   lisp-cp/one.api
55   lisp-gpe/lisp_gpe.api
56
57   INSTALL_HEADERS
58   lisp-cp/lisp_types.h
59   lisp-cp/packets.h
60   lisp-cp/gid_dictionary.h
61   lisp-cp/lisp_cp_messages.h
62   lisp-cp/lisp_msg_serdes.h
63   lisp-cp/control.h
64   lisp-cp/lisp_types_api.h
65   lisp-gpe/lisp_gpe.h
66   lisp-gpe/lisp_gpe_fwd_entry.h
67   lisp-gpe/lisp_gpe_tenant.h
68   lisp-gpe/lisp_gpe_packet.h
69   lisp-gpe/lisp_gpe_error.def
70
71   API_TEST_SOURCES
72   lisp-cp/lisp_test.c
73   lisp-cp/lisp_cp_test.c
74   lisp-cp/one_test.c
75   lisp-gpe/lisp_gpe_test.c
76 )
77
78 add_vpp_plugin(lisp_unittest
79   SOURCES
80   lisp-cp/lisp_msg_serdes.c
81   lisp-cp/control_main.c
82   lisp-cp/lisp_types.c
83   test/lisp_cp_test.c
84 )