Dave Wallace | 5c7cf1c | 2017-10-24 04:12:18 -0400 | [diff] [blame] | 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 libvcl_ldpreload.la |
| 15 | |
| 16 | libvppcom_la_SOURCES = |
| 17 | libvcl_ldpreload_la_SOURCES = |
Dave Wallace | e4d5a65 | 2018-06-24 21:21:21 -0400 | [diff] [blame] | 18 | libvppcom_la_DEPENDENCIES = \ |
| 19 | libsvm.la \ |
Dave Wallace | 5c7cf1c | 2017-10-24 04:12:18 -0400 | [diff] [blame] | 20 | libvlibmemoryclient.la |
| 21 | |
Keith Burns (alagalah) | 5a2946c | 2018-02-02 08:21:56 -0800 | [diff] [blame] | 22 | libvppcom_la_LIBADD = $(libvppcom_la_DEPENDENCIES) -lpthread -lrt -ldl |
Dave Wallace | 5c7cf1c | 2017-10-24 04:12:18 -0400 | [diff] [blame] | 23 | |
| 24 | libvppcom_la_SOURCES += \ |
Keith Burns (alagalah) | 5a2946c | 2018-02-02 08:21:56 -0800 | [diff] [blame] | 25 | vcl/vppcom.c \ |
Florin Coras | 697faea | 2018-06-27 17:10:49 -0700 | [diff] [blame] | 26 | vcl/vcl_bapi.c \ |
| 27 | vcl/vcl_cfg.c \ |
Florin Coras | 0d427d8 | 2018-06-27 03:24:07 -0700 | [diff] [blame] | 28 | vcl/vcl_debug.h \ |
Florin Coras | 697faea | 2018-06-27 17:10:49 -0700 | [diff] [blame] | 29 | vcl/vcl_event.c \ |
| 30 | vcl/vcl_private.h \ |
Florin Coras | 9936831 | 2018-08-02 10:45:44 -0700 | [diff] [blame] | 31 | vcl/vcl_private.c \ |
Dave Wallace | 6476b3c | 2017-10-25 12:30:37 -0400 | [diff] [blame] | 32 | $(libvppinfra_la_SOURCES) \ |
Dave Wallace | 6476b3c | 2017-10-25 12:30:37 -0400 | [diff] [blame] | 33 | $(libsvm_la_SOURCES) \ |
| 34 | $(libvlibmemoryclient_la_SOURCES) |
Dave Wallace | 5c7cf1c | 2017-10-24 04:12:18 -0400 | [diff] [blame] | 35 | |
| 36 | nobase_include_HEADERS += \ |
Dave Wallace | e4d5a65 | 2018-06-24 21:21:21 -0400 | [diff] [blame] | 37 | vcl/vcl_event.h \ |
Keith Burns (alagalah) | 5a2946c | 2018-02-02 08:21:56 -0800 | [diff] [blame] | 38 | vcl/vppcom.h |
| 39 | |
| 40 | libvcl_ldpreload_la_LIBADD = $(libvppcom_la_DEPENDENCIES) -lpthread -lrt -ldl |
| 41 | |
| 42 | libvcl_ldpreload_la_SOURCES += \ |
Dave Wallace | 2a86527 | 2018-02-07 21:00:42 -0500 | [diff] [blame] | 43 | vcl/ldp_socket_wrapper.c \ |
| 44 | vcl/ldp.c \ |
Keith Burns (alagalah) | 5a2946c | 2018-02-02 08:21:56 -0800 | [diff] [blame] | 45 | $(libvppcom_la_SOURCES) |
| 46 | |
| 47 | nobase_include_HEADERS += \ |
Dave Wallace | 2a86527 | 2018-02-07 21:00:42 -0500 | [diff] [blame] | 48 | vcl/ldp_socket_wrapper.h \ |
| 49 | vcl/ldp_glibc_socket.h \ |
| 50 | vcl/ldp.h |
Dave Wallace | 5c7cf1c | 2017-10-24 04:12:18 -0400 | [diff] [blame] | 51 | |
| 52 | noinst_PROGRAMS += \ |
| 53 | vcl_test_server \ |
| 54 | vcl_test_client \ |
| 55 | sock_test_server \ |
Dave Wallace | e4d5a65 | 2018-06-24 21:21:21 -0400 | [diff] [blame] | 56 | sock_test_client \ |
| 57 | test_vcl_listener_server \ |
Keith Burns (alagalah) | 0d2b0d5 | 2018-03-06 15:55:22 -0800 | [diff] [blame] | 58 | test_vcl_listener_client |
| 59 | |
| 60 | |
| 61 | test_vcl_listener_server_SOURCES = vcl/test_vcl_listener_server.c |
| 62 | test_vcl_listener_server_LDADD = libvppcom.la |
| 63 | |
| 64 | test_vcl_listener_client_SOURCES = vcl/test_vcl_listener_client.c |
| 65 | test_vcl_listener_client_LDADD = libvppcom.la |
Dave Wallace | 5c7cf1c | 2017-10-24 04:12:18 -0400 | [diff] [blame] | 66 | |
| 67 | vcl_test_server_SOURCES = vcl/vcl_test_server.c |
| 68 | vcl_test_server_LDADD = libvppcom.la |
| 69 | |
Keith Burns (alagalah) | 0d2b0d5 | 2018-03-06 15:55:22 -0800 | [diff] [blame] | 70 | |
Dave Wallace | 5c7cf1c | 2017-10-24 04:12:18 -0400 | [diff] [blame] | 71 | vcl_test_client_SOURCES = vcl/vcl_test_client.c |
Dave Wallace | e4d5a65 | 2018-06-24 21:21:21 -0400 | [diff] [blame] | 72 | vcl_test_client_LDADD = libvppcom.la |
Dave Wallace | 5c7cf1c | 2017-10-24 04:12:18 -0400 | [diff] [blame] | 73 | |
| 74 | sock_test_server_SOURCES = vcl/sock_test_server.c |
| 75 | sock_test_client_SOURCES = vcl/sock_test_client.c |
| 76 | |
| 77 | nobase_include_HEADERS += \ |
Dave Wallace | e4d5a65 | 2018-06-24 21:21:21 -0400 | [diff] [blame] | 78 | vcl/sock_test_common.h \ |
| 79 | vcl/sock_test.h \ |
| 80 | vcl/vcl_test.h |
Florin Coras | f8f516a | 2018-02-08 15:10:09 -0800 | [diff] [blame] | 81 | |
| 82 | # vi:syntax=automake |