Skip to content

Commit

Permalink
cryptolib/botan: Add Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
aewag committed Mar 7, 2023
1 parent d1b2aa7 commit 35c3086
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions cryptolib/botan/Makefile
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 35c3086

Please sign in to comment.