[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[[UNIKRAFT/APP-LIBNETTLE_TEST] 2/3] Adding the Makefiles



Signed-off-by: cristian-vijelie <cristianvijelie@xxxxxxxxx>
---
 Makefile    | 9 +++++++++
 Makefile.uk | 3 +++
 2 files changed, 12 insertions(+)
 create mode 100644 Makefile
 create mode 100644 Makefile.uk

diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..bd69f4b
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,9 @@
+UK_ROOT ?= $(PWD)/../../unikraft
+UK_LIBS ?= $(PWD)/../../libs
+LIBS := $(UK_LIBS)/lib-nettle:$(UK_LIBS)/lib-newlib
+
+all:
+       @$(MAKE) -C $(UK_ROOT) A=$(PWD) L=$(LIBS)
+
+$(MAKECMDGOALS):
+       @$(MAKE) -C $(UK_ROOT) A=$(PWD) L=$(LIBS) $(MAKECMDGOALS)
diff --git a/Makefile.uk b/Makefile.uk
new file mode 100644
index 0000000..5ae7f49
--- /dev/null
+++ b/Makefile.uk
@@ -0,0 +1,3 @@
+$(eval $(call addlib,applibnettletest))
+
+APPLIBNETTLETEST_SRCS-y += $(APPLIBNETTLETEST_BASE)/main.c
-- 
2.25.1




 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.