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