Damjan Marion | 612dd6a | 2018-07-30 12:45:07 +0200 | [diff] [blame] | 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 | |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 14 | add_vpp_library (vlibmemory |
| 15 | SOURCES |
Damjan Marion | 612dd6a | 2018-07-30 12:45:07 +0200 | [diff] [blame] | 16 | memory_api.c |
| 17 | memory_shared.c |
Damjan Marion | 612dd6a | 2018-07-30 12:45:07 +0200 | [diff] [blame] | 18 | socket_api.c |
Florin Coras | 248210c | 2021-09-14 18:54:45 -0700 | [diff] [blame] | 19 | memclnt_api.c |
Damjan Marion | 612dd6a | 2018-07-30 12:45:07 +0200 | [diff] [blame] | 20 | vlib_api_cli.c |
Florin Coras | 248210c | 2021-09-14 18:54:45 -0700 | [diff] [blame] | 21 | vlib_api.c |
Damjan Marion | 612dd6a | 2018-07-30 12:45:07 +0200 | [diff] [blame] | 22 | ../vlibapi/api_shared.c |
| 23 | ../vlibapi/node_serialize.c |
Damjan Marion | 612dd6a | 2018-07-30 12:45:07 +0200 | [diff] [blame] | 24 | |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 25 | INSTALL_HEADERS |
Damjan Marion | 2bfdda7 | 2018-08-24 21:36:42 +0200 | [diff] [blame] | 26 | vl_memory_msg_enum.h |
| 27 | memory_shared.h |
| 28 | vl_memory_api_h.h |
| 29 | socket_client.h |
| 30 | memory_api.h |
| 31 | api.h |
| 32 | memory_client.h |
| 33 | socket_api.h |
Damjan Marion | 2bfdda7 | 2018-08-24 21:36:42 +0200 | [diff] [blame] | 34 | |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 35 | API_FILES |
| 36 | memclnt.api |
Florin Coras | 248210c | 2021-09-14 18:54:45 -0700 | [diff] [blame] | 37 | vlib.api |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 38 | |
| 39 | LINK_LIBRARIES vppinfra svm vlib |
| 40 | ) |
| 41 | add_dependencies(vlibmemory vlibmemory_api_headers) |
| 42 | |
| 43 | add_vpp_library (vlibmemoryclient |
| 44 | SOURCES |
Damjan Marion | 612dd6a | 2018-07-30 12:45:07 +0200 | [diff] [blame] | 45 | memory_shared.c |
| 46 | memory_client.c |
| 47 | socket_client.c |
| 48 | ../vlibapi/api_shared.c |
| 49 | ../vlibapi/node_serialize.c |
Damjan Marion | 612dd6a | 2018-07-30 12:45:07 +0200 | [diff] [blame] | 50 | |
Matthew Smith | 0be66e1 | 2018-09-07 17:14:30 -0500 | [diff] [blame] | 51 | LINK_LIBRARIES vppinfra svm |
Damjan Marion | 4553c95 | 2018-08-26 11:04:40 +0200 | [diff] [blame] | 52 | ) |
Damjan Marion | 612dd6a | 2018-07-30 12:45:07 +0200 | [diff] [blame] | 53 | add_dependencies(vlibmemoryclient vlibmemory_api_headers) |
Florin Coras | 248210c | 2021-09-14 18:54:45 -0700 | [diff] [blame] | 54 | |
| 55 | add_vat_test_library(vlib |
| 56 | vlibapi_test.c |
| 57 | ) |
Filip Tehlar | 36217e3 | 2021-07-23 08:51:10 +0000 | [diff] [blame] | 58 | ############################################################################## |
| 59 | # VAT2 plugins |
| 60 | ############################################################################## |
| 61 | add_vpp_test_library(vlibmemoryclient |
| 62 | memclnt.api |
| 63 | ) |
Dave Wallace | 855ad33 | 2022-02-28 22:41:22 -0500 | [diff] [blame] | 64 | add_vpp_test_library(vlibmemory |
| 65 | vlib.api |
| 66 | ) |