STATS: stat_client updates.

New stat segment client library: vpp-api/client/stat_client.h
New stat segment query app: vpp_get_stats [ls | dump | poll ] <pattern ...>
Prometheus integration through: vpp_prometheus_export <pattern>

Change-Id: I6f370cf599e9fcf066f22965a62d3a8acd529994
Signed-off-by: Ole Troan <ot@cisco.com>
diff --git a/src/vpp.am b/src/vpp.am
index e8c0155..60be623 100644
--- a/src/vpp.am
+++ b/src/vpp.am
@@ -131,18 +131,29 @@
    libvppinfra.la \
    -lpthread -lm -lrt
 
-noinst_PROGRAMS += bin/stat_client
+bin_PROGRAMS += bin/vpp_get_stats
 
-bin_stat_client_SOURCES = \
-  vpp/app/stat_client.c \
-  vpp/app/stat_client.h
+bin_vpp_get_stats_SOURCES = \
+  vpp/app/vpp_get_stats.c
 
-bin_stat_client_LDADD = \
-  libvlibmemoryclient.la \
-  libsvm.la \
-  libvppinfra.la \
+bin_vpp_get_stats_LDADD =				\
+  libvppapiclient.la				\
+  libvlibmemoryclient.la			\
+  libsvm.la					\
+  libvppinfra.la				\
   -lpthread -lm -lrt
 
+bin_PROGRAMS += bin/vpp_prometheus_export
+
+bin_vpp_prometheus_export_SOURCES = \
+  vpp/app/vpp_prometheus_export.c
+
+bin_vpp_prometheus_export_LDADD =				\
+  libvppapiclient.la				\
+  libvlibmemoryclient.la			\
+  libsvm.la					\
+  libvppinfra.la				\
+  -lpthread -lm -lrt
 
 
 bin_PROGRAMS += bin/vpp_get_metrics