blob: 2ee4dd08ba9b316cf4b257091d6ade09893c2ade [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
Damjan Marion612dd6a2018-07-30 12:45:07 +020017 socket_api.c
Florin Coras248210c2021-09-14 18:54:45 -070018 memclnt_api.c
Damjan Marion612dd6a2018-07-30 12:45:07 +020019 vlib_api_cli.c
Florin Coras248210c2021-09-14 18:54:45 -070020 vlib_api.c
Damjan Marion612dd6a2018-07-30 12:45:07 +020021
Damjan Marion4553c952018-08-26 11:04:40 +020022 INSTALL_HEADERS
Damjan Marion2bfdda72018-08-24 21:36:42 +020023 vl_memory_msg_enum.h
Damjan Marion2bfdda72018-08-24 21:36:42 +020024 vl_memory_api_h.h
25 socket_client.h
26 memory_api.h
27 api.h
28 memory_client.h
29 socket_api.h
Damjan Marion2bfdda72018-08-24 21:36:42 +020030
Damjan Marion4553c952018-08-26 11:04:40 +020031 API_FILES
32 memclnt.api
Florin Coras248210c2021-09-14 18:54:45 -070033 vlib.api
Damjan Marion4553c952018-08-26 11:04:40 +020034
Damjan Marionb7049712022-05-20 13:05:38 +020035 LINK_LIBRARIES vppinfra svm vlib vlibapi
Damjan Marion4553c952018-08-26 11:04:40 +020036)
37add_dependencies(vlibmemory vlibmemory_api_headers)
38
39add_vpp_library (vlibmemoryclient
40 SOURCES
Damjan Marion612dd6a2018-07-30 12:45:07 +020041 memory_client.c
42 socket_client.c
Damjan Marion612dd6a2018-07-30 12:45:07 +020043
Damjan Marionb7049712022-05-20 13:05:38 +020044 LINK_LIBRARIES vppinfra svm vlibapi
Damjan Marion4553c952018-08-26 11:04:40 +020045)
Damjan Marion612dd6a2018-07-30 12:45:07 +020046add_dependencies(vlibmemoryclient vlibmemory_api_headers)
Florin Coras248210c2021-09-14 18:54:45 -070047
48add_vat_test_library(vlib
49 vlibapi_test.c
50)
Filip Tehlar36217e32021-07-23 08:51:10 +000051##############################################################################
52# VAT2 plugins
53##############################################################################
54add_vpp_test_library(vlibmemoryclient
55 memclnt.api
56)
Dave Wallace855ad332022-02-28 22:41:22 -050057add_vpp_test_library(vlibmemory
58 vlib.api
59)