Keith Burns (alagalah) | 8a19f12 | 2017-08-06 08:26:29 -0700 | [diff] [blame] | 1 | # Copyright (c) 2017 Cisco and/or its affiliates. |
Dave Barach | 68b0fb0 | 2017-02-28 15:15:56 -0500 | [diff] [blame] | 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 Wallace | 543852a | 2017-08-03 02:11:34 -0400 | [diff] [blame] | 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 |
Dave Barach | 68b0fb0 | 2017-02-28 15:15:56 -0500 | [diff] [blame] | 42 | |
Florin Coras | e04c299 | 2017-03-01 08:17:34 -0800 | [diff] [blame] | 43 | uri_udp_test_SOURCES = uri/uri_udp_test.c |
Dave Barach | 654ceaf | 2017-03-29 16:59:02 -0400 | [diff] [blame] | 44 | uri_udp_test_LDADD = libvlibmemoryclient.la libsvm.la \ |
Florin Coras | e04c299 | 2017-03-01 08:17:34 -0800 | [diff] [blame] | 45 | libvppinfra.la -lpthread -lm -lrt |
Dave Barach | 68b0fb0 | 2017-02-28 15:15:56 -0500 | [diff] [blame] | 46 | |
| 47 | uri_tcp_test_SOURCES = uri/uri_tcp_test.c |
Dave Barach | 654ceaf | 2017-03-29 16:59:02 -0400 | [diff] [blame] | 48 | uri_tcp_test_LDADD = libvlibmemoryclient.la libsvm.la \ |
Florin Coras | e04c299 | 2017-03-01 08:17:34 -0800 | [diff] [blame] | 49 | libvppinfra.la -lpthread -lm -lrt |
Florin Coras | 6792ec0 | 2017-03-13 03:49:51 -0700 | [diff] [blame] | 50 | |
| 51 | uri_socket_test_SOURCES = uri/uri_socket_test.c |
| 52 | uri_socket_test_LDADD = libvppinfra.la -lpthread -lm -lrt |
Dave Barach | fb5b2af | 2017-04-17 15:56:17 -0400 | [diff] [blame] | 53 | |
| 54 | uri_socket_server_SOURCES = uri/uri_socket_server.c |
| 55 | uri_socket_server_LDADD = libvppinfra.la -lpthread -lm -lrt |
Dave Wallace | 543852a | 2017-08-03 02:11:34 -0400 | [diff] [blame] | 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 |
Keith Burns (alagalah) | 8a19f12 | 2017-08-06 08:26:29 -0700 | [diff] [blame] | 61 | vcl_test_client_LDADD = libvppcom.la |
Dave Wallace | 543852a | 2017-08-03 02:11:34 -0400 | [diff] [blame] | 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 |