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