Python API: Change from cPython to CFFI.
[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)/libvlibapi.la \
23   $(top_builddir)/libsvm.la \
24   -lpthread -lm -lrt
25
26 libpneum_la_LDFLAGS = -module
27 libpneum_la_CPPFLAGS =
28
29 nobase_include_HEADERS += vpp-api/pneum/pneum.h
30
31 #
32 # Test client
33 #
34 if ENABLE_TESTS
35 noinst_PROGRAMS += test_pneum
36 test_pneum_SOURCES = vpp-api/pneum/pneum.c vpp-api/pneum/test_pneum.c
37 test_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
43 endif
44
45 # vi:syntax=automake