blob: 4c732b0c9eb1a07e3ff76bb3801f5792a02ec26d [file] [log] [blame]
Damjan Marion7cd468a2016-12-19 23:05:39 +01001# Copyright (c) 2015 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
Dave Barach59b25652017-09-10 15:04:27 -040014lib_LTLIBRARIES += libvlibmemory.la libvlibmemoryclient.la
Damjan Marion7cd468a2016-12-19 23:05:39 +010015
Dave Barach654ceaf2017-03-29 16:59:02 -040016libvlibmemory_la_DEPENDENCIES = libvppinfra.la libsvm.la libvlib.la
Damjan Marionc74a86a2017-01-16 14:00:03 +010017libvlibmemory_la_LIBADD = $(libvlibmemory_la_DEPENDENCIES) -lpthread
Damjan Marion7cd468a2016-12-19 23:05:39 +010018libvlibmemory_la_SOURCES = \
Dave Barach654ceaf2017-03-29 16:59:02 -040019 vlibapi/api.h \
20 vlibapi/api_helper_macros.h \
21 vlibapi/api_shared.c \
22 vlibapi/node_serialize.c \
Damjan Marion7cd468a2016-12-19 23:05:39 +010023 vlibmemory/api.h \
24 vlibmemory/memclnt.api \
Florin Corase86a8ed2018-01-05 03:20:25 -080025 vlibmemory/memory_api.c \
Damjan Marion7cd468a2016-12-19 23:05:39 +010026 vlibmemory/memory_shared.c \
Florin Corase86a8ed2018-01-05 03:20:25 -080027 vlibmemory/socket_api.c \
28 vlibmemory/vlib_api.c \
29 vlibmemory/vlib_api_cli.c \
Dave Barach654ceaf2017-03-29 16:59:02 -040030 vlibmemory/vl_memory_api_h.h \
31 vlibmemory/vl_memory_msg_enum.h
Damjan Marionc74a86a2017-01-16 14:00:03 +010032
Florin Corase86a8ed2018-01-05 03:20:25 -080033nobase_include_HEADERS += \
34 vlibapi/api.h \
Klement Sekera58eb8662017-06-09 06:06:49 +020035 vlibapi/api_common.h \
36 vlibapi/api_helper_macros.h \
37 vlibapi/vat_helper_macros.h
Damjan Marionc74a86a2017-01-16 14:00:03 +010038
Dave Barach654ceaf2017-03-29 16:59:02 -040039libvlibmemoryclient_la_DEPENDENCIES = libvppinfra.la libsvm.la
Damjan Marionc74a86a2017-01-16 14:00:03 +010040libvlibmemoryclient_la_LIBADD = $(libvlibmemoryclient_la_DEPENDENCIES) -lpthread
Damjan Marion7cd468a2016-12-19 23:05:39 +010041libvlibmemoryclient_la_SOURCES = \
Dave Barach654ceaf2017-03-29 16:59:02 -040042 vlibapi/api_helper_macros.h \
43 vlibapi/api_shared.c \
Florin Corase86a8ed2018-01-05 03:20:25 -080044 vlibapi/node_serialize.c \
Damjan Marion7cd468a2016-12-19 23:05:39 +010045 vlibmemory/memclnt.api \
Damjan Marion7cd468a2016-12-19 23:05:39 +010046 vlibmemory/memory_client.c \
Dave Barach654ceaf2017-03-29 16:59:02 -040047 vlibmemory/memory_shared.c \
Dave Barach59b25652017-09-10 15:04:27 -040048 vlibmemory/socket_client.c \
Dave Barach654ceaf2017-03-29 16:59:02 -040049 vlibmemory/vl_memory_api_h.h \
50 vlibmemory/vl_memory_msg_enum.h
Damjan Marion7cd468a2016-12-19 23:05:39 +010051
52nobase_include_HEADERS += \
53 vlibmemory/api.h \
Florin Corase86a8ed2018-01-05 03:20:25 -080054 vlibmemory/memory_api.h \
55 vlibmemory/memory_shared.h \
56 vlibmemory/memory_client.h \
57 vlibmemory/socket_api.h \
58 vlibmemory/socket_client.h \
Damjan Marion7cd468a2016-12-19 23:05:39 +010059 vlibmemory/vl_memory_api_h.h \
60 vlibmemory/vl_memory_msg_enum.h \
Damjan Marion7cd468a2016-12-19 23:05:39 +010061 vlibmemory/memclnt.api.h
62
Dave Barach654ceaf2017-03-29 16:59:02 -040063BUILT_SOURCES += \
Damjan Marion7cd468a2016-12-19 23:05:39 +010064 vlibmemory/memclnt.api.h \
65 vlibmemory/memclnt.api.json
66
Dave Barach59b25652017-09-10 15:04:27 -040067API_FILES += vlibmemory/memclnt.api
Damjan Marion7cd468a2016-12-19 23:05:39 +010068
69# vi:syntax=automake