Allow individual stats API and introduce stats.api
[vpp.git] / src / uri.am
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:
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
14 lib_LTLIBRARIES += libvppcom.la
15
16 libvppcom_la_SOURCES =
17 libvppcom_la_DEPENDENCIES =     \
18         libvppinfra.la          \
19         libvlib.la              \
20         libsvmdb.la             \
21         libsvm.la               \
22         libvlibmemory.la        \
23         libvlibmemoryclient.la
24
25 libvppcom_la_LIBADD = $(libvppcom_la_DEPENDENCIES) -lpthread
26
27 libvppcom_la_SOURCES +=                         \
28   uri/vppcom.c
29
30 nobase_include_HEADERS +=                       \
31   uri/vppcom.h
32
33 noinst_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
42
43 uri_udp_test_SOURCES = uri/uri_udp_test.c
44 uri_udp_test_LDADD = libvlibmemoryclient.la libsvm.la \
45         libvppinfra.la -lpthread -lm -lrt
46
47 uri_tcp_test_SOURCES = uri/uri_tcp_test.c
48 uri_tcp_test_LDADD = libvlibmemoryclient.la libsvm.la \
49         libvppinfra.la -lpthread -lm -lrt
50
51 uri_socket_test_SOURCES = uri/uri_socket_test.c
52 uri_socket_test_LDADD = libvppinfra.la -lpthread -lm -lrt
53
54 uri_socket_server_SOURCES = uri/uri_socket_server.c
55 uri_socket_server_LDADD = libvppinfra.la -lpthread -lm -lrt
56
57 vcl_test_server_SOURCES = uri/vcl_test_server.c
58 vcl_test_server_LDADD = libvppcom.la
59
60 vcl_test_client_SOURCES = uri/vcl_test_client.c
61 vcl_test_client_LDADD = libvppcom.la
62
63 sock_test_server_SOURCES = uri/sock_test_server.c
64 sock_test_client_SOURCES = uri/sock_test_client.c
65
66 nobase_include_HEADERS +=                       \
67   uri/sock_test.h