blob: ff0d25f6a1ba530d239e9c60615151d786774e9a [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
19 socket_api.c
20 vlib_api.c
21 vlib_api_cli.c
22 ../vlibapi/api_shared.c
23 ../vlibapi/node_serialize.c
Damjan Marion612dd6a2018-07-30 12:45:07 +020024
Damjan Marion4553c952018-08-26 11:04:40 +020025 INSTALL_HEADERS
Damjan Marion2bfdda72018-08-24 21:36:42 +020026 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 Marion2bfdda72018-08-24 21:36:42 +020034
Damjan Marion4553c952018-08-26 11:04:40 +020035 API_FILES
36 memclnt.api
37
38 LINK_LIBRARIES vppinfra svm vlib
39)
40add_dependencies(vlibmemory vlibmemory_api_headers)
41
42add_vpp_library (vlibmemoryclient
43 SOURCES
Damjan Marion612dd6a2018-07-30 12:45:07 +020044 memory_shared.c
45 memory_client.c
46 socket_client.c
47 ../vlibapi/api_shared.c
48 ../vlibapi/node_serialize.c
Damjan Marion612dd6a2018-07-30 12:45:07 +020049
Damjan Marion4553c952018-08-26 11:04:40 +020050 LINK_LIBRARIES vppinfra svm vlib
51)
Damjan Marion612dd6a2018-07-30 12:45:07 +020052add_dependencies(vlibmemoryclient vlibmemory_api_headers)