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_common.o \ 28 tlsv1_cred.o \ 29 tlsv1_record.o \ 30 tlsv1_server.o \ 31 tlsv1_server_read.o \ 32 tlsv1_server_write.o \ 33 x509v3.o 34 35 36libtls.a: $(LIB_OBJS) 37 $(AR) crT $@ $? 38 39-include $(OBJS:%.o=%.d) 40