blob: 4e1dae99f92c76217e324e7003db6ab82a58719e [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
Damjan Marionc74a86a2017-01-16 14:00:03 +010014lib_LTLIBRARIES += libvlibmemory.la libvlibapi.la libvlibmemoryclient.la \
Damjan Marion7cd468a2016-12-19 23:05:39 +010015 libvlibsocket.la
16
Dave Barach80f54e22017-03-08 19:08:56 -050017libvlibmemory_la_DEPENDENCIES = libvppinfra.la libsvm.la
Damjan Marionc74a86a2017-01-16 14:00:03 +010018libvlibmemory_la_LIBADD = $(libvlibmemory_la_DEPENDENCIES) -lpthread
Damjan Marion7cd468a2016-12-19 23:05:39 +010019libvlibmemory_la_SOURCES = \
20 vlibmemory/api.h \
21 vlibmemory/memclnt.api \
22 vlibmemory/memory_shared.c \
23 vlibmemory/memory_vlib.c \
24 vlibmemory/vl_memory_api_h.h \
25 vlibmemory/vl_memory_msg_enum.h \
26 vlibmemory/unix_shared_memory_queue.c \
27 vlibmemory/unix_shared_memory_queue.h
28
Dave Barach80f54e22017-03-08 19:08:56 -050029libvlibapi_la_DEPENDENCIES = libvppinfra.la
Damjan Marionc74a86a2017-01-16 14:00:03 +010030libvlibapi_la_LIBADD = $(libvlibapi_la_DEPENDENCIES)
31libvlibapi_la_SOURCES = \
32 vlibapi/api.h \
33 vlibapi/api_helper_macros.h \
34 vlibapi/api_shared.c \
35 vlibapi/node_serialize.c
36
Anlu Yana4cb12b2017-02-14 18:07:40 -080037nobase_include_HEADERS += vlibapi/api.h vlibapi/api_helper_macros.h vlibapi/vat_helper_macros.h
Damjan Marionc74a86a2017-01-16 14:00:03 +010038
39libvlibmemoryclient_la_DEPENDENCIES = libvppinfra.la libsvm.la libvlib.la libvlibmemory.la libvlibapi.la
40libvlibmemoryclient_la_LIBADD = $(libvlibmemoryclient_la_DEPENDENCIES) -lpthread
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 Marionc74a86a2017-01-16 14:00:03 +010058libvlibsocket_la_DEPENDENCIES = libvppinfra.la libvlib.la libvlibmemory.la libvlibapi.la
59libvlibsocket_la_LIBADD = $(libvlibsocket_la_DEPENDENCIES)
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