blob: 6d6483dc61f58ee030b500c0232f255ac75ec6ad [file] [log] [blame]
Damjan Marion612dd6a2018-07-30 12:45:07 +02001# 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
Damjan Marion4553c952018-08-26 11:04:40 +020014add_vpp_library (vlibmemory
15 SOURCES
Damjan Marion612dd6a2018-07-30 12:45:07 +020016 memory_api.c
17 memory_shared.c
18 memory_client.c
Dave Barach7f475bf2020-05-26 11:19:28 -040019 socket_client.c
Damjan Marion612dd6a2018-07-30 12:45:07 +020020 socket_api.c
Florin Coras248210c2021-09-14 18:54:45 -070021 memclnt_api.c
Damjan Marion612dd6a2018-07-30 12:45:07 +020022 vlib_api_cli.c
Florin Coras248210c2021-09-14 18:54:45 -070023 vlib_api.c
Damjan Marion612dd6a2018-07-30 12:45:07 +020024 ../vlibapi/api_shared.c
25 ../vlibapi/node_serialize.c
Damjan Marion612dd6a2018-07-30 12:45:07 +020026
Damjan Marion4553c952018-08-26 11:04:40 +020027 INSTALL_HEADERS
Damjan Marion2bfdda72018-08-24 21:36:42 +020028 vl_memory_msg_enum.h
29 memory_shared.h
30 vl_memory_api_h.h
31 socket_client.h
32 memory_api.h
33 api.h
34 memory_client.h
35 socket_api.h
Damjan Marion2bfdda72018-08-24 21:36:42 +020036
Damjan Marion4553c952018-08-26 11:04:40 +020037 API_FILES
38 memclnt.api
Florin Coras248210c2021-09-14 18:54:45 -070039 vlib.api
Damjan Marion4553c952018-08-26 11:04:40 +020040
41 LINK_LIBRARIES vppinfra svm vlib
42)
43add_dependencies(vlibmemory vlibmemory_api_headers)
44
45add_vpp_library (vlibmemoryclient
46 SOURCES
Damjan Marion612dd6a2018-07-30 12:45:07 +020047 memory_shared.c
48 memory_client.c
49 socket_client.c
50 ../vlibapi/api_shared.c
51 ../vlibapi/node_serialize.c
Damjan Marion612dd6a2018-07-30 12:45:07 +020052
Matthew Smith0be66e12018-09-07 17:14:30 -050053 LINK_LIBRARIES vppinfra svm
Damjan Marion4553c952018-08-26 11:04:40 +020054)
Damjan Marion612dd6a2018-07-30 12:45:07 +020055add_dependencies(vlibmemoryclient vlibmemory_api_headers)
Florin Coras248210c2021-09-14 18:54:45 -070056
57add_vat_test_library(vlib
58 vlibapi_test.c
59)
Filip Tehlar36217e32021-07-23 08:51:10 +000060##############################################################################
61# VAT2 plugins
62##############################################################################
63add_vpp_test_library(vlibmemoryclient
64 memclnt.api
65)