1 all: libtls.a 2 3 clean: 4 rm -f *~ *.o *.d libtls.a 5 6 install: 7 @echo Nothing to be made. 8 9 10 include ../lib.rules 11 12 CFLAGS += -DCONFIG_INTERNAL_LIBTOMMATH 13 CFLAGS += -DCONFIG_CRYPTO_INTERNAL 14 CFLAGS += -DCONFIG_TLSV11 15 CFLAGS += -DCONFIG_TLSV12 16 17 LIB_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 36 libtls.a: $(LIB_OBJS) 37 $(AR) crT $@ $? 38 39 -include $(OBJS:%.o=%.d) 40