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 | |
Dave Barach | 654ceaf | 2017-03-29 16:59:02 -0400 | [diff] [blame] | 14 | lib_LTLIBRARIES += libvlibmemory.la libvlibmemoryclient.la \ |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 15 | libvlibsocket.la |
| 16 | |
Dave Barach | 654ceaf | 2017-03-29 16:59:02 -0400 | [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 = \ |
Dave Barach | 654ceaf | 2017-03-29 16:59:02 -0400 | [diff] [blame] | 20 | vlibapi/api.h \ |
| 21 | vlibapi/api_helper_macros.h \ |
| 22 | vlibapi/api_shared.c \ |
| 23 | vlibapi/node_serialize.c \ |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 24 | vlibmemory/api.h \ |
| 25 | vlibmemory/memclnt.api \ |
| 26 | vlibmemory/memory_shared.c \ |
| 27 | vlibmemory/memory_vlib.c \ |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 28 | vlibmemory/unix_shared_memory_queue.c \ |
Dave Barach | 654ceaf | 2017-03-29 16:59:02 -0400 | [diff] [blame] | 29 | vlibmemory/unix_shared_memory_queue.h \ |
| 30 | vlibmemory/vl_memory_api_h.h \ |
| 31 | vlibmemory/vl_memory_msg_enum.h |
Damjan Marion | c74a86a | 2017-01-16 14:00:03 +0100 | [diff] [blame] | 32 | |
Klement Sekera | 58eb866 | 2017-06-09 06:06:49 +0200 | [diff] [blame^] | 33 | nobase_include_HEADERS += vlibapi/api.h \ |
| 34 | vlibapi/api_common.h \ |
| 35 | vlibapi/api_helper_macros.h \ |
| 36 | vlibapi/vat_helper_macros.h |
Damjan Marion | c74a86a | 2017-01-16 14:00:03 +0100 | [diff] [blame] | 37 | |
Dave Barach | 654ceaf | 2017-03-29 16:59:02 -0400 | [diff] [blame] | 38 | libvlibmemoryclient_la_DEPENDENCIES = libvppinfra.la libsvm.la |
Damjan Marion | c74a86a | 2017-01-16 14:00:03 +0100 | [diff] [blame] | 39 | libvlibmemoryclient_la_LIBADD = $(libvlibmemoryclient_la_DEPENDENCIES) -lpthread |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 40 | libvlibmemoryclient_la_SOURCES = \ |
Dave Barach | 654ceaf | 2017-03-29 16:59:02 -0400 | [diff] [blame] | 41 | vlibapi/api_helper_macros.h \ |
| 42 | vlibapi/api_shared.c \ |
| 43 | vlibapi/node_unserialize.c \ |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 44 | vlibmemory/api.h \ |
| 45 | vlibmemory/memclnt.api \ |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 46 | vlibmemory/memory_client.c \ |
Dave Barach | 654ceaf | 2017-03-29 16:59:02 -0400 | [diff] [blame] | 47 | vlibmemory/memory_shared.c \ |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 48 | vlibmemory/unix_shared_memory_queue.c \ |
Dave Barach | 654ceaf | 2017-03-29 16:59:02 -0400 | [diff] [blame] | 49 | vlibmemory/unix_shared_memory_queue.h \ |
| 50 | vlibmemory/vl_memory_api_h.h \ |
| 51 | vlibmemory/vl_memory_msg_enum.h |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 52 | |
| 53 | nobase_include_HEADERS += \ |
| 54 | vlibmemory/api.h \ |
Klement Sekera | 58eb866 | 2017-06-09 06:06:49 +0200 | [diff] [blame^] | 55 | vlibmemory/api_common.h \ |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 56 | vlibmemory/vl_memory_api_h.h \ |
| 57 | vlibmemory/vl_memory_msg_enum.h \ |
| 58 | vlibmemory/unix_shared_memory_queue.h \ |
| 59 | vlibmemory/memclnt.api.h |
| 60 | |
Dave Barach | 654ceaf | 2017-03-29 16:59:02 -0400 | [diff] [blame] | 61 | libvlibsocket_la_DEPENDENCIES = libvppinfra.la libvlib.la libvlibmemory.la |
Damjan Marion | c74a86a | 2017-01-16 14:00:03 +0100 | [diff] [blame] | 62 | libvlibsocket_la_LIBADD = $(libvlibsocket_la_DEPENDENCIES) |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 63 | libvlibsocket_la_SOURCES = \ |
| 64 | vlibsocket/api.h \ |
| 65 | vlibsocket/sockclnt.api \ |
| 66 | vlibsocket/sockclnt_vlib.c \ |
| 67 | vlibsocket/socksvr_vlib.c \ |
| 68 | vlibsocket/vl_socket_api_h.h \ |
| 69 | vlibsocket/vl_socket_msg_enum.h |
| 70 | |
| 71 | nobase_include_HEADERS += \ |
| 72 | vlibsocket/api.h \ |
| 73 | vlibsocket/vl_socket_api_h.h \ |
| 74 | vlibsocket/vl_socket_msg_enum.h \ |
| 75 | vlibsocket/sockclnt.api.h |
| 76 | |
Dave Barach | 654ceaf | 2017-03-29 16:59:02 -0400 | [diff] [blame] | 77 | BUILT_SOURCES += \ |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 78 | vlibsocket/sockclnt.api.h \ |
| 79 | vlibmemory/memclnt.api.h \ |
| 80 | vlibmemory/memclnt.api.json |
| 81 | |
| 82 | API_FILES += vlibmemory/memclnt.api |
| 83 | |
| 84 | # vi:syntax=automake |