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