Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 1 | # 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 Marion | c74a86a | 2017-01-16 14:00:03 +0100 | [diff] [blame] | 14 | lib_LTLIBRARIES += libvlibmemory.la libvlibapi.la libvlibmemoryclient.la \ |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 15 | libvlibsocket.la |
| 16 | |
Damjan Marion | 45a00c4 | 2017-01-08 15:34:50 +0100 | [diff] [blame] | 17 | libvlibmemory_la_DEPENDENCIES = libvppinfra.la libsvm.la libvlib.la |
Damjan Marion | c74a86a | 2017-01-16 14:00:03 +0100 | [diff] [blame] | 18 | libvlibmemory_la_LIBADD = $(libvlibmemory_la_DEPENDENCIES) -lpthread |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 19 | libvlibmemory_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 | |
Damjan Marion | c74a86a | 2017-01-16 14:00:03 +0100 | [diff] [blame] | 29 | libvlibapi_la_DEPENDENCIES = libvppinfra.la libvlib.la libvlibmemory.la |
| 30 | libvlibapi_la_LIBADD = $(libvlibapi_la_DEPENDENCIES) |
| 31 | libvlibapi_la_SOURCES = \ |
| 32 | vlibapi/api.h \ |
| 33 | vlibapi/api_helper_macros.h \ |
| 34 | vlibapi/api_shared.c \ |
| 35 | vlibapi/node_serialize.c |
| 36 | |
Anlu Yan | a4cb12b | 2017-02-14 18:07:40 -0800 | [diff] [blame] | 37 | nobase_include_HEADERS += vlibapi/api.h vlibapi/api_helper_macros.h vlibapi/vat_helper_macros.h |
Damjan Marion | c74a86a | 2017-01-16 14:00:03 +0100 | [diff] [blame] | 38 | |
| 39 | libvlibmemoryclient_la_DEPENDENCIES = libvppinfra.la libsvm.la libvlib.la libvlibmemory.la libvlibapi.la |
| 40 | libvlibmemoryclient_la_LIBADD = $(libvlibmemoryclient_la_DEPENDENCIES) -lpthread |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 41 | libvlibmemoryclient_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 | |
| 51 | nobase_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 Marion | c74a86a | 2017-01-16 14:00:03 +0100 | [diff] [blame] | 58 | libvlibsocket_la_DEPENDENCIES = libvppinfra.la libvlib.la libvlibmemory.la libvlibapi.la |
| 59 | libvlibsocket_la_LIBADD = $(libvlibsocket_la_DEPENDENCIES) |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 60 | libvlibsocket_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 | |
| 68 | nobase_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 | |
| 74 | BUILT_SOURCES += \ |
| 75 | vlibsocket/sockclnt.api.h \ |
| 76 | vlibmemory/memclnt.api.h \ |
| 77 | vlibmemory/memclnt.api.json |
| 78 | |
| 79 | API_FILES += vlibmemory/memclnt.api |
| 80 | |
| 81 | # vi:syntax=automake |