Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 1 | # Copyright (c) 2015 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 | |
Damjan Marion | 45a00c4 | 2017-01-08 15:34:50 +0100 | [diff] [blame] | 14 | libvatplugin_la_LIBADD = libvppinfra.la |
| 15 | libvatplugin_la_DEPENDENCIES = libvppinfra.la |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 16 | libvatplugin_la_SOURCES = \ |
| 17 | vat/plugin_api.c |
| 18 | |
| 19 | lib_LTLIBRARIES += libvatplugin.la |
| 20 | |
| 21 | bin_PROGRAMS += vpp_api_test vpp_json_test vpp_restart |
| 22 | |
| 23 | vpp_api_test_SOURCES = \ |
| 24 | vat/api_format.c \ |
| 25 | vat/main.c \ |
| 26 | vat/plugin.c \ |
| 27 | vat/vat.h \ |
| 28 | vat/json_format.h \ |
| 29 | vat/json_format.c |
| 30 | |
| 31 | vpp_json_test_SOURCES = \ |
| 32 | vat/json_format.h \ |
| 33 | vat/json_format.c \ |
| 34 | vat/json_test.c |
| 35 | |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 36 | vpp_api_test_LDADD = \ |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 37 | libvlibmemoryclient.la \ |
| 38 | libsvm.la \ |
| 39 | libvatplugin.la \ |
| 40 | libvppinfra.la \ |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 41 | -lpthread -lm -lrt -ldl -lcrypto |
| 42 | |
Dave Barach | fe6bdfd | 2017-01-20 19:50:09 -0500 | [diff] [blame] | 43 | vpp_api_test_LDFLAGS = -Wl,--export-dynamic |
| 44 | |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 45 | vpp_json_test_LDADD = libvppinfra.la -lm |
Dave Barach | fe6bdfd | 2017-01-20 19:50:09 -0500 | [diff] [blame] | 46 | vpp_json_test_LDFLAGS = -Wl,--export-dynamic |
Damjan Marion | 7cd468a | 2016-12-19 23:05:39 +0100 | [diff] [blame] | 47 | |
| 48 | nobase_include_HEADERS += \ |
| 49 | vat/vat.h \ |
| 50 | vat/json_format.h |
| 51 | |
| 52 | vpp_restart_SOURCES = \ |
| 53 | vat/restart.c |
| 54 | vpp_restart_LDADD = \ |
| 55 | libsvmdb.la \ |
| 56 | libsvm.la \ |
| 57 | libvppinfra.la \ |
| 58 | -lpthread -lrt |
| 59 | |
| 60 | dist_bin_SCRIPTS += scripts/vppctl |
| 61 | |
| 62 | # vi:syntax=automake |