Add MAC address support to LISP map-cache
[vpp.git] / vpp / Makefile.am
index bd2d30a..4c28fb7 100644 (file)
@@ -71,11 +71,13 @@ vpp_LDADD += -lsvm -lsvmdb -lrt
 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
@@ -93,16 +95,20 @@ SUFFIXES = .api.h .api
        | 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