export counters in a memfd segment
[vpp.git] / src / vpp.am
index 9a07cef..e8c0155 100644 (file)
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-bin_PROGRAMS += bin/vpp
+bin_PROGRAMS += bin/vpp 
 
 bin_vpp_SOURCES =                              \
   vpp/vnet/main.c                              \
   vpp/app/vpe_cli.c                            \
   vpp/app/version.c                            \
   vpp/oam/oam.c                                        \
-  vpp/stats/stats.c
+  vpp/oam/oam_api.c                            \
+  vpp/stats/stats.c                            \
+  vpp/stats/stat_segment.c
 
 bin_vpp_SOURCES +=                             \
   vpp/api/api.c                                        \
@@ -43,10 +45,13 @@ nobase_include_HEADERS +=                   \
   vpp/api/vpe_all_api_h.h                      \
   vpp/api/vpe_msg_enum.h                       \
   vpp/stats/stats.api.h                        \
+  vpp/oam/oam.api.h                            \
   vpp/api/vpe.api.h
 
-API_FILES += vpp/api/vpe.api
-API_FILES += vpp/stats/stats.api
+API_FILES +=                                   \
+  vpp/api/vpe.api                              \
+  vpp/stats/stats.api                          \
+  vpp/oam/oam.api
 
 BUILT_SOURCES += .version
 
@@ -126,6 +131,20 @@ bin_summary_stats_client_LDADD = \
    libvppinfra.la \
    -lpthread -lm -lrt
 
+noinst_PROGRAMS += bin/stat_client
+
+bin_stat_client_SOURCES = \
+  vpp/app/stat_client.c \
+  vpp/app/stat_client.h
+
+bin_stat_client_LDADD = \
+  libvlibmemoryclient.la \
+  libsvm.la \
+  libvppinfra.la \
+  -lpthread -lm -lrt
+
+
+
 bin_PROGRAMS += bin/vpp_get_metrics
 
 bin_vpp_get_metrics_SOURCES = \