1all: libtls.a 2 3clean: 4 rm -f *~ *.o *.d libtls.a 5 6install: 7 @echo Nothing to be made. 8 9 10include ../lib.rules 11 12CFLAGS += -DCONFIG_INTERNAL_LIBTOMMATH 13CFLAGS += -DCONFIG_CRYPTO_INTERNAL 14CFLAGS += -DCONFIG_TLSV11 15CFLAGS += -DCONFIG_TLSV12 16 17LIB_OBJS= \ 18 asn1.o \ 19 bignum.o \ 20 pkcs1.o \ 21 pkcs5.o \ 22 pkcs8.o \ 23 rsa.o \ 24 tlsv1_client.o \ 25 tlsv1_client_read.o \ 26 tlsv1_client_write.o \ 27 tlsv1_client_ocsp.o \ 28 tlsv1_common.o \ 29 tlsv1_cred.o \ 30 tlsv1_record.o \ 31 tlsv1_server.o \ 32 tlsv1_server_read.o \ 33 tlsv1_server_write.o \ 34 x509v3.o 35 36 37libtls.a: $(LIB_OBJS) 38 $(AR) crT $@ $? 39 40-include $(OBJS:%.o=%.d) 41