diff options
author | Dave Barach <dave@barachs.net> | 2016-10-31 11:59:07 -0400 |
---|---|---|
committer | Ole Trøan <otroan@employees.org> | 2016-11-30 15:06:08 +0000 |
commit | aff7077d2031545a15efd12e7f65eac723799491 (patch) | |
tree | 3a7b1c8b964d6b9008c6313f2751fd2d9506809f /vnet/Makefile.am | |
parent | 847944046c50cabd0d457d446d2c199a71abf049 (diff) |
Start spliting vpe.api into logically related pieces
To reduce rebase / manual merge pain, among other things
Change-Id: I3186df0479066916a2ca69c48759178b45ef035c
Signed-off-by: Dave Barach <dave@barachs.net>
Signed-off-by: Ole Troan <ot@cisco.com>
Diffstat (limited to 'vnet/Makefile.am')
-rw-r--r-- | vnet/Makefile.am | 21 |
1 files changed, 20 insertions, 1 deletions
diff --git a/vnet/Makefile.am b/vnet/Makefile.am index d806785f6d7..a9481d11dc2 100644 --- a/vnet/Makefile.am +++ b/vnet/Makefile.am @@ -15,6 +15,8 @@ AUTOMAKE_OPTIONS = foreign subdir-objects AM_CFLAGS = -Wall -Werror @DPDK@ @DPDK_CRYPTO@ @IPSEC@ @IPV6SR@ +BUILT_SOURCES = vnet/interface.api.h + libvnet_la_SOURCES = libvnetplugin_la_SOURCES = nobase_include_HEADERS = @@ -34,6 +36,7 @@ libvnet_la_SOURCES += \ vnet/devices/devices.c \ vnet/handoff.c \ vnet/interface.c \ + vnet/interface_api.c \ vnet/interface_cli.c \ vnet/interface_format.c \ vnet/interface_output.c \ @@ -49,12 +52,15 @@ nobase_include_HEADERS += \ vnet/global_funcs.h \ vnet/handoff.h \ vnet/interface.h \ + vnet/interface.api.h \ vnet/interface_funcs.h \ vnet/l3_types.h \ vnet/pipeline.h \ vnet/replication.h \ vnet/rewrite.h \ - vnet/vnet.h + vnet/vnet.h \ + vnet/vnet_all_api_h.h \ + vnet/vnet_msg_enum.h ######################################## # Policer infra @@ -876,3 +882,16 @@ pcap2pg_LDFLAGS = -static pcap2pg_LDADD = libvnet.la -l:libvppinfra.a -lpthread -lm -ldl noinst_PROGRAMS += pcap2pg + +# Set the suffix list +SUFFIXES = .api.h .api + +# install the API definition, so we can produce java bindings, etc. + +apidir = $(prefix)/vpp-api +api_DATA = vnet/interface.api + +# The actual %.api.h rule is in .../build-data/packages/suffix-rules.mk +# and requires a symbolic link at the top of the vnet source tree + +include $(top_srcdir)/suffix-rules.mk |