summaryrefslogtreecommitdiffstats
path: root/nsh-plugin
diff options
context:
space:
mode:
Diffstat (limited to 'nsh-plugin')
-rw-r--r--nsh-plugin/Makefile.am4
-rw-r--r--nsh-plugin/java/Makefile.am2
2 files changed, 4 insertions, 2 deletions
diff --git a/nsh-plugin/Makefile.am b/nsh-plugin/Makefile.am
index bf24b6d..05ec808 100644
--- a/nsh-plugin/Makefile.am
+++ b/nsh-plugin/Makefile.am
@@ -22,7 +22,7 @@ CPPFLAGS += -DDEBUG -g
lib_LTLIBRARIES = nsh_plugin.la nsh_test_plugin.la
nsh_plugin_la_SOURCES = nsh/nsh.c \
- nsh/nsh_plugin.api.h
+ vpp-api/nsh.api.h
nsh_plugin_la_LDFLAGS = -module
BUILT_SOURCES = vpp-api/nsh.api.h
@@ -40,7 +40,7 @@ nobase_include_HEADERS = \
vpp-api/nsh.api.h
nsh_test_plugin_la_SOURCES = \
- nsh/nsh_test.c nsh/nsh_plugin.api.h
+ nsh/nsh_test.c vpp-api/nsh.api.h
nsh_test_plugin_la_LDFLAGS = -module
install-data-hook:
diff --git a/nsh-plugin/java/Makefile.am b/nsh-plugin/java/Makefile.am
index 5e1401a..10c4cfa 100644
--- a/nsh-plugin/java/Makefile.am
+++ b/nsh-plugin/java/Makefile.am
@@ -32,7 +32,9 @@ jvpp_gen = jvpp_gen.py
lib_LTLIBRARIES = libjvpp_nsh.la
+
libjvpp_nsh_la_SOURCES = $(srcdir)/../java/nsh.api.h jvpp/jvpp_nsh.c jvpp/io_fd_vpp_jvpp_nsh_JVppNshImpl.h
+
libjvpp_nsh_la_LIBADD = -lvlibmemoryclient -lvlibapi -lsvm -lvppinfra \
-lpthread -lm -lrt -ljvpp_common
libjvpp_nsh_la_LDFLAGS = -module