Comparison

util-src/GNUmakefile @ 12693:7c5afbdcbc77

util.crypto: New wrapper for some operations in OpenSSL's libcrypto Specifically, ED25519 key generation/import/export, sign/verify operations, and AES encrypt/decrypt.
author Matthew Wild <mwild1@gmail.com>
date Fri, 24 Jun 2022 16:56:16 +0100
parent 12354:3ce3633527af
comparison
equal deleted inserted replaced
12692:b001b0f42512 12693:7c5afbdcbc77
6 INSTALL_DATA=install -m644 6 INSTALL_DATA=install -m644
7 TARGET?=../util/ 7 TARGET?=../util/
8 8
9 ALL=encodings.so hashes.so net.so pposix.so signal.so table.so \ 9 ALL=encodings.so hashes.so net.so pposix.so signal.so table.so \
10 ringbuffer.so time.so poll.so compat.so strbitop.so \ 10 ringbuffer.so time.so poll.so compat.so strbitop.so \
11 struct.so 11 struct.so crypto.so
12 12
13 ifdef RANDOM 13 ifdef RANDOM
14 ALL+=crand.so 14 ALL+=crand.so
15 endif 15 endif
16 16
26 rm -f $(ALL) $(patsubst %.so,%.o,$(ALL)) 26 rm -f $(ALL) $(patsubst %.so,%.o,$(ALL))
27 27
28 encodings.o: CFLAGS+=$(IDNA_FLAGS) 28 encodings.o: CFLAGS+=$(IDNA_FLAGS)
29 encodings.so: LDLIBS+=$(IDNA_LIBS) 29 encodings.so: LDLIBS+=$(IDNA_LIBS)
30 30
31 hashes.so: LDLIBS+=$(OPENSSL_LIBS) 31 crypto.so hashes.so: LDLIBS+=$(OPENSSL_LIBS)
32 32
33 crand.o: CFLAGS+=-DWITH_$(RANDOM) 33 crand.o: CFLAGS+=-DWITH_$(RANDOM)
34 crand.so: LDLIBS+=$(RANDOM_LIBS) 34 crand.so: LDLIBS+=$(RANDOM_LIBS)
35 35
36 %.so: %.o 36 %.so: %.o