# 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 \
# bin_vpp_SOURCES += \
# vpp/api/gmon.c
-bin_vpp_CFLAGS = @APICLI@
+bin_vpp_CFLAGS = @APICLI@ @DLMALLOC@
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
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 = \