1 # Copyright (c) 2017 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:
6 # http://www.apache.org/licenses/LICENSE-2.0
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.
14 lib_LTLIBRARIES += libvppcom.la libvcl_ldpreload.la
16 libvppcom_la_SOURCES =
17 libvcl_ldpreload_la_SOURCES =
18 libvppcom_la_DEPENDENCIES = \
20 libvlibmemoryclient.la
22 libvppcom_la_LIBADD = $(libvppcom_la_DEPENDENCIES) -lpthread -lrt -ldl
24 libvppcom_la_SOURCES += \
28 $(libvppinfra_la_SOURCES) \
29 $(libsvm_la_SOURCES) \
30 $(libvlibmemoryclient_la_SOURCES)
32 nobase_include_HEADERS += \
36 libvcl_ldpreload_la_LIBADD = $(libvppcom_la_DEPENDENCIES) -lpthread -lrt -ldl
38 libvcl_ldpreload_la_SOURCES += \
39 vcl/ldp_socket_wrapper.c \
41 $(libvppcom_la_SOURCES)
43 nobase_include_HEADERS += \
44 vcl/ldp_socket_wrapper.h \
45 vcl/ldp_glibc_socket.h \
53 test_vcl_listener_server \
54 test_vcl_listener_client
57 test_vcl_listener_server_SOURCES = vcl/test_vcl_listener_server.c
58 test_vcl_listener_server_LDADD = libvppcom.la
60 test_vcl_listener_client_SOURCES = vcl/test_vcl_listener_client.c
61 test_vcl_listener_client_LDADD = libvppcom.la
63 vcl_test_server_SOURCES = vcl/vcl_test_server.c
64 vcl_test_server_LDADD = libvppcom.la
67 vcl_test_client_SOURCES = vcl/vcl_test_client.c
68 vcl_test_client_LDADD = libvppcom.la
70 sock_test_server_SOURCES = vcl/sock_test_server.c
71 sock_test_client_SOURCES = vcl/sock_test_client.c
73 nobase_include_HEADERS += \
74 vcl/sock_test_common.h \