blob: eea52420b838f630bd19cdaa1cb6416aceddb000 [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 Barach654ceaf2017-03-29 16:59:02 -040014lib_LTLIBRARIES += libvlibmemory.la libvlibmemoryclient.la \
Damjan Marion7cd468a2016-12-19 23:05:39 +010015 libvlibsocket.la
16
Dave Barach654ceaf2017-03-29 16:59:02 -040017libvlibmemory_la_DEPENDENCIES = libvppinfra.la libsvm.la libvlib.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 = \
Dave Barach654ceaf2017-03-29 16:59:02 -040020 vlibapi/api.h \
21 vlibapi/api_helper_macros.h \
22 vlibapi/api_shared.c \
23 vlibapi/node_serialize.c \
Damjan Marion7cd468a2016-12-19 23:05:39 +010024 vlibmemory/api.h \
25 vlibmemory/memclnt.api \
26 vlibmemory/memory_shared.c \
27 vlibmemory/memory_vlib.c \
Damjan Marion7cd468a2016-12-19 23:05:39 +010028 vlibmemory/unix_shared_memory_queue.c \
Dave Barach654ceaf2017-03-29 16:59:02 -040029 vlibmemory/unix_shared_memory_queue.h \
30 vlibmemory/vl_memory_api_h.h \
31 vlibmemory/vl_memory_msg_enum.h
Damjan Marionc74a86a2017-01-16 14:00:03 +010032
Anlu Yana4cb12b2017-02-14 18:07:40 -080033nobase_include_HEADERS += vlibapi/api.h vlibapi/api_helper_macros.h vlibapi/vat_helper_macros.h
Damjan Marionc74a86a2017-01-16 14:00:03 +010034
Dave Barach654ceaf2017-03-29 16:59:02 -040035libvlibmemoryclient_la_DEPENDENCIES = libvppinfra.la libsvm.la
Damjan Marionc74a86a2017-01-16 14:00:03 +010036libvlibmemoryclient_la_LIBADD = $(libvlibmemoryclient_la_DEPENDENCIES) -lpthread
Damjan Marion7cd468a2016-12-19 23:05:39 +010037libvlibmemoryclient_la_SOURCES = \
Dave Barach654ceaf2017-03-29 16:59:02 -040038 vlibapi/api_helper_macros.h \
39 vlibapi/api_shared.c \
40 vlibapi/node_unserialize.c \
Damjan Marion7cd468a2016-12-19 23:05:39 +010041 vlibmemory/api.h \
42 vlibmemory/memclnt.api \
Damjan Marion7cd468a2016-12-19 23:05:39 +010043 vlibmemory/memory_client.c \
Dave Barach654ceaf2017-03-29 16:59:02 -040044 vlibmemory/memory_shared.c \
Damjan Marion7cd468a2016-12-19 23:05:39 +010045 vlibmemory/unix_shared_memory_queue.c \
Dave Barach654ceaf2017-03-29 16:59:02 -040046 vlibmemory/unix_shared_memory_queue.h \
47 vlibmemory/vl_memory_api_h.h \
48 vlibmemory/vl_memory_msg_enum.h
Damjan Marion7cd468a2016-12-19 23:05:39 +010049
50nobase_include_HEADERS += \
51 vlibmemory/api.h \
52 vlibmemory/vl_memory_api_h.h \
53 vlibmemory/vl_memory_msg_enum.h \
54 vlibmemory/unix_shared_memory_queue.h \
55 vlibmemory/memclnt.api.h
56
Dave Barach654ceaf2017-03-29 16:59:02 -040057libvlibsocket_la_DEPENDENCIES = libvppinfra.la libvlib.la libvlibmemory.la
Damjan Marionc74a86a2017-01-16 14:00:03 +010058libvlibsocket_la_LIBADD = $(libvlibsocket_la_DEPENDENCIES)
Damjan Marion7cd468a2016-12-19 23:05:39 +010059libvlibsocket_la_SOURCES = \
60 vlibsocket/api.h \
61 vlibsocket/sockclnt.api \
62 vlibsocket/sockclnt_vlib.c \
63 vlibsocket/socksvr_vlib.c \
64 vlibsocket/vl_socket_api_h.h \
65 vlibsocket/vl_socket_msg_enum.h
66
67nobase_include_HEADERS += \
68 vlibsocket/api.h \
69 vlibsocket/vl_socket_api_h.h \
70 vlibsocket/vl_socket_msg_enum.h \
71 vlibsocket/sockclnt.api.h
72
Dave Barach654ceaf2017-03-29 16:59:02 -040073BUILT_SOURCES += \
Damjan Marion7cd468a2016-12-19 23:05:39 +010074 vlibsocket/sockclnt.api.h \
75 vlibmemory/memclnt.api.h \
76 vlibmemory/memclnt.api.json
77
78API_FILES += vlibmemory/memclnt.api
79
80# vi:syntax=automake