vpp_LDADD += -lvnetplugin
if WITH_DPDK
+vpp_LDFLAGS = -Wl,--whole-archive
if ENABLE_DPDK_SHARED
-vpp_LDADD += -ldpdk
+vpp_LDFLAGS += -ldpdk
else
-vpp_LDADD += -l:libdpdk.a
+vpp_LDFLAGS += -l:libdpdk.a
endif
+vpp_LDFLAGS += -Wl,--no-whole-archive
endif
vpp_LDADD += -lvppinfra -lm -lpthread -ldl
| vppapigen --input - --output $@ --show-name $@
-noinst_PROGRAMS += test_client test_ha
+noinst_PROGRAMS += test_client
test_client_SOURCES = api/test_client.c
test_client_LDADD = -lvlibmemoryclient -lvlibapi -lsvm -lvppinfra \
-lpthread -lm -lrt
+noinst_PROGRAMS += test_client test_ha
+
test_ha_SOURCES = api/test_ha.c
test_ha_LDADD = -lvlibmemoryclient -lvlibapi -lsvmdb -lsvm -lvppinfra \
-lpthread -lm -lrt
+
+
noinst_PROGRAMS += summary_stats_client
summary_stats_client_SOURCES = api/summary_stats_client.c