blob: 660f897dd713bc6dd109e1c356db6d908150521c [file] [log] [blame]
Keith Burns (alagalah)8a19f122017-08-06 08:26:29 -07001# Copyright (c) 2017 Cisco and/or its affiliates.
Dave Barach68b0fb02017-02-28 15:15:56 -05002# 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 Wallace543852a2017-08-03 02:11:34 -040014lib_LTLIBRARIES += libvppcom.la
15
16libvppcom_la_SOURCES =
17libvppcom_la_DEPENDENCIES = \
18 libvppinfra.la \
19 libvlib.la \
20 libsvmdb.la \
21 libsvm.la \
22 libvlibmemory.la \
23 libvlibmemoryclient.la
24
25libvppcom_la_LIBADD = $(libvppcom_la_DEPENDENCIES) -lpthread
26
27libvppcom_la_SOURCES += \
28 uri/vppcom.c
29
30nobase_include_HEADERS += \
31 uri/vppcom.h
32
33noinst_PROGRAMS += \
34 uri_udp_test \
35 uri_tcp_test \
36 uri_socket_test \
37 uri_socket_server \
38 vcl_test_server \
39 vcl_test_client \
40 sock_test_server \
41 sock_test_client
Dave Barach68b0fb02017-02-28 15:15:56 -050042
Florin Corase04c2992017-03-01 08:17:34 -080043uri_udp_test_SOURCES = uri/uri_udp_test.c
Dave Barach654ceaf2017-03-29 16:59:02 -040044uri_udp_test_LDADD = libvlibmemoryclient.la libsvm.la \
Florin Corase04c2992017-03-01 08:17:34 -080045 libvppinfra.la -lpthread -lm -lrt
Dave Barach68b0fb02017-02-28 15:15:56 -050046
47uri_tcp_test_SOURCES = uri/uri_tcp_test.c
Dave Barach654ceaf2017-03-29 16:59:02 -040048uri_tcp_test_LDADD = libvlibmemoryclient.la libsvm.la \
Florin Corase04c2992017-03-01 08:17:34 -080049 libvppinfra.la -lpthread -lm -lrt
Florin Coras6792ec02017-03-13 03:49:51 -070050
51uri_socket_test_SOURCES = uri/uri_socket_test.c
52uri_socket_test_LDADD = libvppinfra.la -lpthread -lm -lrt
Dave Barachfb5b2af2017-04-17 15:56:17 -040053
54uri_socket_server_SOURCES = uri/uri_socket_server.c
55uri_socket_server_LDADD = libvppinfra.la -lpthread -lm -lrt
Dave Wallace543852a2017-08-03 02:11:34 -040056
57vcl_test_server_SOURCES = uri/vcl_test_server.c
58vcl_test_server_LDADD = libvppcom.la
59
60vcl_test_client_SOURCES = uri/vcl_test_client.c
Keith Burns (alagalah)8a19f122017-08-06 08:26:29 -070061vcl_test_client_LDADD = libvppcom.la
Dave Wallace543852a2017-08-03 02:11:34 -040062
63sock_test_server_SOURCES = uri/sock_test_server.c
64sock_test_client_SOURCES = uri/sock_test_client.c
65
66nobase_include_HEADERS += \
67 uri/sock_test.h