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 15 LIB_OBJS= \ 16 asn1.o \ 17 bignum.o \ 18 pkcs1.o \ 19 pkcs5.o \ 20 pkcs8.o \ 21 rsa.o \ 22 tlsv1_client.o \ 23 tlsv1_client_read.o \ 24 tlsv1_client_write.o \ 25 tlsv1_common.o \ 26 tlsv1_cred.o \ 27 tlsv1_record.o \ 28 tlsv1_server.o \ 29 tlsv1_server_read.o \ 30 tlsv1_server_write.o \ 31 x509v3.o 32 33 34 libtls.a: $(LIB_OBJS) 35 $(AR) crT $@ $? 36 37 -include $(OBJS:%.o=%.d) 38