From 35c3086879bb99855cca6c7994282dd823a5c07d Mon Sep 17 00:00:00 2001 From: Alexander Wagner Date: Tue, 7 Mar 2023 15:49:31 +0100 Subject: [PATCH] cryptolib/botan: Add Makefile --- cryptolib/botan/Makefile | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 cryptolib/botan/Makefile diff --git a/cryptolib/botan/Makefile b/cryptolib/botan/Makefile new file mode 100644 index 0000000..d4f7093 --- /dev/null +++ b/cryptolib/botan/Makefile @@ -0,0 +1,19 @@ +all: fetch configure build + +fetch: + git submodule update --init --recursive + +configure: + cd botan && \ + ./configure.py --prefix=./build --cc=gcc --cc-bin=g++-11 --cc-abi=-fno-plt \ + --disable-modules tls,locking_allocator --disable-sse2 --disable-ssse3 \ + --disable-sse4.1 --disable-sse4.2 --disable-avx2 --disable-bmi2 --disable-rdrand \ + --disable-rdseed --disable-aes-ni --disable-sha-ni --disable-altivec \ + --disable-neon --disable-armv8crypto --disable-powercrypto \ + --without-os-feature=threads --with-debug-info --build-targets=static,cli + +build: + $(MAKE) -C botan botan + +clean: + make -C botan clean