ARP/ND/API:fix arp reg + nd no identical regs
[vpp.git] / src / vpp-api.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 #
15 # VPP API C wrapper extension
16 #
17 lib_LTLIBRARIES += libpneum.la
18 libpneum_la_SOURCES = vpp-api/pneum/pneum.c
19 libpneum_la_LIBADD = \
20   $(top_builddir)/libvppinfra.la \
21   $(top_builddir)/libvlibmemoryclient.la \
22   $(top_builddir)/libsvm.la \
23   -lpthread -lm -lrt
24
25 libpneum_la_LDFLAGS = -module
26 libpneum_la_CPPFLAGS =
27
28 nobase_include_HEADERS += vpp-api/pneum/pneum.h
29
30 #
31 # Test client
32 #
33 if ENABLE_TESTS
34 noinst_PROGRAMS += test_pneum
35 test_pneum_SOURCES = vpp-api/pneum/pneum.c vpp-api/pneum/test_pneum.c
36 test_pneum_LDADD = \
37   $(top_builddir)/libvppinfra.la \
38   $(top_builddir)/libvlibmemoryclient.la \
39   $(top_builddir)/libsvm.la \
40   -lpthread -lm -lrt
41 endif
42
43 # vi:syntax=automake