AETHER-3162 Remove magma leftover iptables rule from enodebd

AETHER-3198 Add REUSE compliant to enodebd
AETHER-3196 Support identify IP from X-Real IP in enodebd
AETHER-3229 Documentation of configuration and state machine for enodebd
AETHER-3292 Adding new parameter to support in enodebd Sercomm driver
AETHER-3311 Remove unused protobuf definition from enodebd

Change-Id: Ie69f0141eff70cb3d4447cd9575c8224d42dd5e3
diff --git a/Makefile b/Makefile
index f088888..bd3c569 100644
--- a/Makefile
+++ b/Makefile
@@ -26,6 +26,19 @@
   python -m pip install -r requirements.txt
 	echo "To enter virtualenv, run 'source $@/bin/activate'"
 
+install-protoc: ## Get the protobyf from GitHub
+	curl -L https://github.com/protocolbuffers/protobuf/releases/download/v3.19.4/protoc-3.19.4-linux-x86_64.zip -o /opt/protoc.zip ;\
+  unzip -o /opt/protoc.zip -d /opt/protobuf ;\
+  ln -sf /opt/protobuf/bin/protoc /usr/bin/
+
+proto: $(VENV_NAME) ## Compile proto definition of enodebd
+	source ./$</bin/activate ; set -u ;\
+  python tools/gen_protos.py proto_files/orc8r/protos \
+     proto_files,proto_files/orc8r/protos/prometheus,/opt/protobuf/include proto_files . ;\
+  python tools/gen_protos.py proto_files/lte/protos \
+     proto_files,proto_files/orc8r/protos/prometheus,/opt/protobuf/include proto_files . ;\
+  python tools/gen_prometheus_proto.py . .
+
 license: $(VENV_NAME) ## Check license with the reuse tool
 	source ./$</bin/activate ; set -u ;\
   reuse --version ;\