2009-12-06 09:27:54 -05:00
|
|
|
all: libtls.a
|
2008-02-27 20:34:43 -05:00
|
|
|
|
|
|
|
clean:
|
2009-12-06 09:27:54 -05:00
|
|
|
rm -f *~ *.o *.d libtls.a
|
2009-02-15 07:22:50 -05:00
|
|
|
|
|
|
|
install:
|
|
|
|
@echo Nothing to be made.
|
2009-12-06 09:27:54 -05:00
|
|
|
|
|
|
|
|
|
|
|
include ../lib.rules
|
|
|
|
|
|
|
|
CFLAGS += -DCONFIG_INTERNAL_LIBTOMMATH
|
|
|
|
CFLAGS += -DCONFIG_CRYPTO_INTERNAL
|
2011-11-27 14:58:52 -05:00
|
|
|
CFLAGS += -DCONFIG_TLSV11
|
|
|
|
CFLAGS += -DCONFIG_TLSV12
|
2009-12-06 09:27:54 -05:00
|
|
|
|
|
|
|
LIB_OBJS= \
|
|
|
|
asn1.o \
|
|
|
|
bignum.o \
|
|
|
|
pkcs1.o \
|
|
|
|
pkcs5.o \
|
|
|
|
pkcs8.o \
|
|
|
|
rsa.o \
|
|
|
|
tlsv1_client.o \
|
|
|
|
tlsv1_client_read.o \
|
|
|
|
tlsv1_client_write.o \
|
|
|
|
tlsv1_common.o \
|
|
|
|
tlsv1_cred.o \
|
|
|
|
tlsv1_record.o \
|
|
|
|
tlsv1_server.o \
|
|
|
|
tlsv1_server_read.o \
|
|
|
|
tlsv1_server_write.o \
|
|
|
|
x509v3.o
|
|
|
|
|
|
|
|
|
|
|
|
libtls.a: $(LIB_OBJS)
|
|
|
|
$(AR) crT $@ $?
|
|
|
|
|
|
|
|
-include $(OBJS:%.o=%.d)
|