summaryrefslogtreecommitdiffstats
path: root/src/vpp-api/java/Makefile.am
diff options
context:
space:
mode:
authorMarek Gradzki <mgradzki@cisco.com>2017-12-08 15:26:55 +0100
committerDamjan Marion <dmarion.lists@gmail.com>2017-12-09 13:23:40 +0000
commit87a137c77b53753710a0706a35bee5574c0a9c1a (patch)
tree93b3e8ef3561e8d31fc9f0c6b693114320dfba24 /src/vpp-api/java/Makefile.am
parent6e73f7f6055a9ba1c4e604060934a0aa5e555f57 (diff)
jvpp: include all api files from @top_builddir@/vpp
Currently: - vpe.api (supported previously) - stats.api - oam.api Change-Id: Iab48d5d142e9a1ea0a4f366352b1d9429cc47309 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
Diffstat (limited to 'src/vpp-api/java/Makefile.am')
-rw-r--r--src/vpp-api/java/Makefile.am6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/vpp-api/java/Makefile.am b/src/vpp-api/java/Makefile.am
index 1ce6dffd0b6..0c450d6e984 100644
--- a/src/vpp-api/java/Makefile.am
+++ b/src/vpp-api/java/Makefile.am
@@ -102,8 +102,12 @@ libjvpp_core_la_DEPENDENCIES = libjvpp_common.la
BUILT_SOURCES += jvpp-core/io_fd_vpp_jvpp_core_JVppCoreImpl.h
JAR_FILES += jvpp-core-$(PACKAGE_VERSION).jar
CLEANDIRS += jvpp-core/target
+
+# Include all VPP API files
jvpp_core_json_files = $(shell find @top_builddir@/vnet/ -type f -name '*.api.json')
-jvpp_core_json_files += @top_builddir@/vpp/api/vpe.api.json
+jvpp_core_json_files += $(shell find @top_builddir@/vpp/ -type f -name '*.api.json')
+# except for plugins and unsupported ones:
+# jvpp_core_json_files += @top_builddir@/vlibmemory/memclnt.api.json
jvpp-core/io_fd_vpp_jvpp_core_JVppCoreImpl.h: $(jvpp_registry_ok) $(jvpp_core_json_files)
$(call japigen,core,JVppCoreImpl)