X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=src%2Fvpp.am;h=60be623627ba2e43370f618a522428451063cf70;hb=4fa87e7b11785957a704d42318b557bdffc45e63;hp=614bd26abdab6776d0b7a772b4074282bfe397a3;hpb=aad20988b6a0a5058e520948d2a5835cfbc3b523;p=vpp.git diff --git a/src/vpp.am b/src/vpp.am index 614bd26abda..60be623627b 100644 --- a/src/vpp.am +++ b/src/vpp.am @@ -11,14 +11,16 @@ # 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 \ @@ -33,18 +35,23 @@ if WITH_APICLI vpp/api/plugin.h endif -# comment out to disable stats upload to gmond +# uncomment to enable stats upload to gmond +# bin_vpp_SOURCES += \ +# vpp/api/gmon.c bin_vpp_CFLAGS = @APICLI@ -bin_vpp_SOURCES += \ - vpp/api/gmon.c 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/api/vpe.api \ + vpp/stats/stats.api \ + vpp/oam/oam.api BUILT_SOURCES += .version @@ -116,14 +123,39 @@ endif noinst_PROGRAMS += bin/summary_stats_client bin_summary_stats_client_SOURCES = \ - vpp/api/summary_stats_client.c + vpp/api/summary_stats_client.c bin_summary_stats_client_LDADD = \ - libvlibmemoryclient.la \ - libsvm.la \ - libvppinfra.la \ + libvlibmemoryclient.la \ + libsvm.la \ + libvppinfra.la \ + -lpthread -lm -lrt + +bin_PROGRAMS += bin/vpp_get_stats + +bin_vpp_get_stats_SOURCES = \ + vpp/app/vpp_get_stats.c + +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 bin_vpp_get_metrics_SOURCES = \