blob: c788666eae733ccf7055bf5d01bb1905cf448ed1 [file] [log] [blame]
Damjan Marion7cd468a2016-12-19 23:05:39 +01001# 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 Marion45a00c42017-01-08 15:34:50 +010014libvatplugin_la_LIBADD = libvppinfra.la
15libvatplugin_la_DEPENDENCIES = libvppinfra.la
Damjan Marion7cd468a2016-12-19 23:05:39 +010016libvatplugin_la_SOURCES = \
17 vat/plugin_api.c
18
19lib_LTLIBRARIES += libvatplugin.la
20
21bin_PROGRAMS += vpp_api_test vpp_json_test vpp_restart
22
23vpp_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
31vpp_json_test_SOURCES = \
32 vat/json_format.h \
33 vat/json_format.c \
34 vat/json_test.c
35
36vpp_api_test_LDFLAGS = $(DPDK_LD_FLAGS)
37vpp_api_test_LDADD = \
Damjan Marion0eca04d2017-01-03 20:11:35 +010038 libvlib.la \
Damjan Marion7cd468a2016-12-19 23:05:39 +010039 libvlibmemoryclient.la \
40 libsvm.la \
41 libvatplugin.la \
42 libvppinfra.la \
43 libvlibapi.la \
44 libvlibmemory.la \
45 libvnet.la \
46 $(DPDK_LD_ADD) \
47 -lpthread -lm -lrt -ldl -lcrypto
48
49vpp_json_test_LDADD = libvppinfra.la -lm
50
51nobase_include_HEADERS += \
52 vat/vat.h \
53 vat/json_format.h
54
55vpp_restart_SOURCES = \
56 vat/restart.c
57vpp_restart_LDADD = \
58 libsvmdb.la \
59 libsvm.la \
60 libvppinfra.la \
61 -lpthread -lrt
62
63dist_bin_SCRIPTS += scripts/vppctl
64
65# vi:syntax=automake