1all: libcrypto.a 2 3clean: 4 rm -f *~ *.o *.d *.gcno *.gcda *.gcov libcrypto.a 5 6install: 7 @echo Nothing to be made. 8 9 10include ../lib.rules 11 12CFLAGS += -DCONFIG_CRYPTO_INTERNAL 13CFLAGS += -DCONFIG_TLS_INTERNAL_CLIENT 14CFLAGS += -DCONFIG_TLS_INTERNAL_SERVER 15#CFLAGS += -DALL_DH_GROUPS 16CFLAGS += -DCONFIG_SHA256 17CFLAGS += -DCONFIG_SHA384 18CFLAGS += -DCONFIG_HMAC_SHA384_KDF 19CFLAGS += -DCONFIG_INTERNAL_SHA384 20 21LIB_OBJS= \ 22 aes-cbc.o \ 23 aes-ccm.o \ 24 aes-ctr.o \ 25 aes-eax.o \ 26 aes-encblock.o \ 27 aes-gcm.o \ 28 aes-internal.o \ 29 aes-internal-dec.o \ 30 aes-internal-enc.o \ 31 aes-omac1.o \ 32 aes-siv.o \ 33 aes-unwrap.o \ 34 aes-wrap.o \ 35 des-internal.o \ 36 dh_group5.o \ 37 dh_groups.o \ 38 md4-internal.o \ 39 md5.o \ 40 md5-internal.o \ 41 milenage.o \ 42 ms_funcs.o \ 43 rc4.o \ 44 sha1.o \ 45 sha1-internal.o \ 46 sha1-pbkdf2.o \ 47 sha1-prf.o \ 48 sha1-tlsprf.o \ 49 sha1-tprf.o \ 50 sha256.o \ 51 sha256-prf.o \ 52 sha256-tlsprf.o \ 53 sha256-internal.o \ 54 sha384.o \ 55 sha384-prf.o \ 56 sha384-internal.o \ 57 sha512-internal.o 58 59LIB_OBJS += crypto_internal.o 60LIB_OBJS += crypto_internal-cipher.o 61LIB_OBJS += crypto_internal-modexp.o 62LIB_OBJS += crypto_internal-rsa.o 63LIB_OBJS += tls_internal.o 64LIB_OBJS += fips_prf_internal.o 65ifndef TEST_FUZZ 66LIB_OBJS += random.o 67endif 68 69 70libcrypto.a: $(LIB_OBJS) 71 $(AR) crT $@ $? 72 73-include $(OBJS:%.o=%.d) 74