lisp: Move to plugin
[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 ##############################################################################
15 # LISP control plane: lisp-cp
16 ##############################################################################
17
18 ##############################################################################
19 # Tunnel protocol: lisp-gpe
20 ##############################################################################
21
22 add_vpp_plugin(lisp
23   SOURCES
24   lisp-cp/lisp_types.c
25   lisp-cp/lisp_cp_dpo.c
26   lisp-cp/control.c
27   lisp-cp/control_main.c
28   lisp-cp/gid_dictionary.c
29   lisp-cp/lisp_msg_serdes.c
30   lisp-cp/packets.c
31   lisp-cp/one_cli.c
32   lisp-cp/lisp_cli.c
33   lisp-cp/one_api.c
34   lisp-cp/lisp_api.c
35   lisp-cp/lisp_types_api.c
36   lisp-gpe/lisp_gpe.c
37   lisp-gpe/lisp_gpe_sub_interface.c
38   lisp-gpe/lisp_gpe_adjacency.c
39   lisp-gpe/lisp_gpe_tunnel.c
40   lisp-gpe/lisp_gpe_fwd_entry.c
41   lisp-gpe/lisp_gpe_tenant.c
42   lisp-gpe/interface.c
43   lisp-gpe/decap.c
44   lisp-gpe/lisp_gpe_api.c
45
46   API_FILES
47   lisp-cp/lisp_types.api
48   lisp-cp/lisp.api
49   lisp-cp/one.api
50   lisp-gpe/lisp_gpe.api
51
52   INSTALL_HEADERS
53   lisp-cp/lisp_types.h
54   lisp-cp/packets.h
55   lisp-cp/gid_dictionary.h
56   lisp-cp/lisp_cp_messages.h
57   lisp-cp/lisp_msg_serdes.h
58   lisp-cp/control.h
59   lisp-cp/lisp_types_api.h
60   lisp-gpe/lisp_gpe.h
61   lisp-gpe/lisp_gpe_fwd_entry.h
62   lisp-gpe/lisp_gpe_tenant.h
63   lisp-gpe/lisp_gpe_packet.h
64   lisp-gpe/lisp_gpe_error.def
65
66   API_TEST_SOURCES
67   lisp-cp/lisp_test.c
68   lisp-cp/lisp_cp_test.c
69   lisp-cp/one_test.c
70   lisp-gpe/lisp_gpe_test.c
71 )
72
73 add_vpp_plugin(lisp_unittest
74   SOURCES
75   lisp-cp/lisp_msg_serdes.c
76   lisp-cp/control_main.c
77   lisp-cp/lisp_types.c
78   test/lisp_cp_test.c
79 )