blob: 0e05d60ddddc2c5d82ad9bb6b42eb389b53897e9 [file] [log] [blame]
Ole Troan3cc49712017-03-08 12:02:24 +01001# 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#
17lib_LTLIBRARIES += libpneum.la
18libpneum_la_SOURCES = vpp-api/pneum/pneum.c
19libpneum_la_LIBADD = \
20 $(top_builddir)/libvppinfra.la \
21 $(top_builddir)/libvlibmemoryclient.la \
22 $(top_builddir)/libvlibapi.la \
23 $(top_builddir)/libsvm.la \
24 -lpthread -lm -lrt
25
26libpneum_la_LDFLAGS = -module
27libpneum_la_CPPFLAGS =
28
29nobase_include_HEADERS += vpp-api/pneum/pneum.h
30
31#
32# Test client
33#
34if ENABLE_TESTS
35noinst_PROGRAMS += test_pneum
36test_pneum_SOURCES = vpp-api/pneum/pneum.c vpp-api/pneum/test_pneum.c
37test_pneum_LDADD = \
38 $(top_builddir)/libvppinfra.la \
39 $(top_builddir)/libvlibmemoryclient.la \
40 $(top_builddir)/libvlibapi.la \
41 $(top_builddir)/libsvm.la \
42 -lpthread -lm -lrt
43endif
44
45# vi:syntax=automake