Upgrade vFW and vLB to VES 5.x
[demo.git] / vnfs / VES5.0 / evel / evel-library / bldjobs / Makefile
index d37d0e4..ec0e73c 100644 (file)
@@ -29,6 +29,7 @@ ARCH=$(shell getconf LONG_BIT)
 CODE_ROOT=$(CURDIR)/..
 EVELLIB_ROOT=$(CODE_ROOT)/code/evel_library
 EVELUNIT_ROOT=$(CODE_ROOT)/code/evel_unit
+EVELTRAINING_ROOT=$(CODE_ROOT)/code
 LIBS_DIR=$(CODE_ROOT)/libs/x86_$(ARCH)
 OUTPUT_DIR=$(CODE_ROOT)/output/x86_$(ARCH)
 DOCS_ROOT=$(CODE_ROOT)/docs
@@ -80,7 +81,7 @@ DOCS_SERVER_PATH=/var/www/html/evel
 
 #******************************************************************************
 # Implicit rule to make dependency files.  Recipe copied from Gnu docs at:    *
-# https://www.gnu.org/software/make/manual/html_node/Automatic-Prerequisites.html                                      *
+# https://www.gnu.org/software/make/manual/html_node/Automatic-Prerequisites.html *
 #******************************************************************************
 %.d: %.c
        @echo Making dependency file $(notdir $@) for $(notdir $<)
@@ -104,9 +105,11 @@ DOCS_SERVER_PATH=/var/www/html/evel
        $(JAVA) -jar $(PLANTUML) $(PLANTFLAGS) $<
 
 all:     api_library \
+         vnf_reporting
 
 clean:   api_library_clean \
-         evel_unit_clean \
+         vnf_reporting_clean \
+         evel_unit_clean
 
 install: evel_install_centos evel_install_ubuntu
 
@@ -191,6 +194,17 @@ evel_unit_clean:
        @$(RM) $(EVELLIB_ROOT)/*.d
        @$(RM) $(EVELUNIT_ROOT)/*.d
 
+#******************************************************************************
+# Build the VNF VES Reporting code                                            *
+#******************************************************************************
+vnf_reporting:
+        @echo   Making VNF Reporting
+        @$(MAKE) -s -C $(EVELTRAINING_ROOT)/VESreporting
+
+vnf_reporting_clean:
+        @echo   Cleaning VNF Reporting
+        @$(RM) $(EVELTRAINING_ROOT)/VESreporting/vpp_measurement_reporter
+
 #******************************************************************************
 # Copy the EVEL demo onto the CentOS testbed as a package and build it.       *
 #******************************************************************************