blob: 128cc07a1d54b76d65694761bd8bb0aa1f33eaad [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
14lib_LTLIBRARIES += libvlibapi.la libvlibmemory.la libvlibmemoryclient.la \
15 libvlibsocket.la
16
Damjan Marion45a00c42017-01-08 15:34:50 +010017libvlibapi_la_LIBADD = libvppinfra.la
18libvlibapi_la_DEPENDENCIES = libvppinfra.la libvlib.la
Damjan Marion7cd468a2016-12-19 23:05:39 +010019libvlibapi_la_SOURCES = \
20 vlibapi/api.h \
21 vlibapi/api_helper_macros.h \
22 vlibapi/api_shared.c \
23 vlibapi/node_serialize.c
24
25nobase_include_HEADERS += vlibapi/api.h vlibapi/api_helper_macros.h
26
Damjan Marion45a00c42017-01-08 15:34:50 +010027libvlibmemory_la_LIBADD = libvppinfra.la libsvm.la -lpthread
28libvlibmemory_la_DEPENDENCIES = libvppinfra.la libsvm.la libvlib.la
Damjan Marion7cd468a2016-12-19 23:05:39 +010029libvlibmemory_la_SOURCES = \
30 vlibmemory/api.h \
31 vlibmemory/memclnt.api \
32 vlibmemory/memory_shared.c \
33 vlibmemory/memory_vlib.c \
34 vlibmemory/vl_memory_api_h.h \
35 vlibmemory/vl_memory_msg_enum.h \
36 vlibmemory/unix_shared_memory_queue.c \
37 vlibmemory/unix_shared_memory_queue.h
38
Damjan Marion45a00c42017-01-08 15:34:50 +010039libvlibmemoryclient_la_LIBADD = libvppinfra.la libsvm.la -lpthread
40libvlibmemoryclient_la_DEPENDENCIES = libvppinfra.la libsvm.la libvlib.la
Damjan Marion7cd468a2016-12-19 23:05:39 +010041libvlibmemoryclient_la_SOURCES = \
42 vlibmemory/api.h \
43 vlibmemory/memclnt.api \
44 vlibmemory/memory_shared.c \
45 vlibmemory/memory_client.c \
46 vlibmemory/vl_memory_api_h.h \
47 vlibmemory/vl_memory_msg_enum.h \
48 vlibmemory/unix_shared_memory_queue.c \
49 vlibmemory/unix_shared_memory_queue.h
50
51nobase_include_HEADERS += \
52 vlibmemory/api.h \
53 vlibmemory/vl_memory_api_h.h \
54 vlibmemory/vl_memory_msg_enum.h \
55 vlibmemory/unix_shared_memory_queue.h \
56 vlibmemory/memclnt.api.h
57
Damjan Marion45a00c42017-01-08 15:34:50 +010058libvlibsocket_la_LIBADD = libvppinfra.la
59libvlibsocket_la_DEPENDENCIES = libvppinfra.la
Damjan Marion7cd468a2016-12-19 23:05:39 +010060libvlibsocket_la_SOURCES = \
61 vlibsocket/api.h \
62 vlibsocket/sockclnt.api \
63 vlibsocket/sockclnt_vlib.c \
64 vlibsocket/socksvr_vlib.c \
65 vlibsocket/vl_socket_api_h.h \
66 vlibsocket/vl_socket_msg_enum.h
67
68nobase_include_HEADERS += \
69 vlibsocket/api.h \
70 vlibsocket/vl_socket_api_h.h \
71 vlibsocket/vl_socket_msg_enum.h \
72 vlibsocket/sockclnt.api.h
73
74BUILT_SOURCES += \
75 vlibsocket/sockclnt.api.h \
76 vlibmemory/memclnt.api.h \
77 vlibmemory/memclnt.api.json
78
79API_FILES += vlibmemory/memclnt.api
80
81# vi:syntax=automake