aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 9 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 3d74f9b72..1fb963292 100644
--- a/Makefile
+++ b/Makefile
@@ -47,15 +47,18 @@ endif
DEB_DEPENDS = cmake ninja-build unzip python3-ply libasio-dev
DEB_DEPENDS += libconfig-dev libconfig++-dev libevent-dev
DEB_DEPENDS += build-essential vpp-dev libvppinfra-dev
-DEB_DEPENDS += vpp-plugin-core libcurl4-openssl-dev
+DEB_DEPENDS += vpp-plugin-core libcurl4-openssl-dev libssl-dev
DEB_DEPENDS += doxygen
-MACOS_DEPENDS = asio libconfig ninja
+DEBUG_DEPENDS = iproute2 iperf3 iputils-ping tcpdump gdb
+
+MACOS_DEPENDS = asio libconfig ninja openssl@1.1
.PHONY = help
help:
@echo "Targets"
@echo " dep - install software dependencies"
+ @echo " debug-tools - install debug dependencies"
@echo " build - build debug binaries. Optional argument: INSTALL_DIR"
@echo " build-release - build release binaries"
@echo " build-coverage - build with coverage metainformation"
@@ -97,6 +100,10 @@ endif
.PHONY = deps
deps: dep
+.PHONY = debug-tools
+debug-tools:
+ @sudo -E apt-get $(APT_ARGS) -y install $(DEBUG_DEPENDS) --no-install-recommends
+
define build_folder
$(eval LOWER_BUILDTYPE=$(shell echo $(2) | tr A-Z a-z))
$(eval BUILD_FOLDER=$(or $(BUILD_PATH), build-$(LOWER_BUILDTYPE)-$(OS_ID)))