1.include <src.opts.mk> 2 3.include "../../Makefile.inc" 4 5.include "../../Makefile.crypto" 6 7LIB= wpatls 8INTERNALLIB= 9 10.PATH: ${WPA_DISTDIR}/src/tls 11 12SRCS= tlsv1_server.c 13 14.if defined(TLS_FUNCS) 15.if defined(CONFIG_INTERNAL_TLS) 16SRCS+= asn1.c \ 17 bignum.c \ 18 pkcs1.c \ 19 pkcs5.c \ 20 pkcs8.c \ 21 rsa.c \ 22 tlsv1_client.c \ 23 tlsv1_client_ocsp.c \ 24 tlsv1_client_read.c \ 25 tlsv1_client_write.c \ 26 tlsv1_common.c \ 27 tlsv1_cred.c \ 28 tlsv1_record.c \ 29 tlsv1_server_read.c \ 30 tlsv1_server_write.c \ 31 x509v3.c 32 33CFLAGS+=-DCONFIG_INTERNAL_LIBTOMMATH \ 34 -DCONFIG_CRYPTO_INTERNAL 35.else 36CFLAGS+=-DCONFIG_TLSV11 \ 37 -DCONFIG_TLSV12 38.endif 39.endif 40 41# We are only interested in includes at this point. Not libraries. 42LIBADD= 43 44.include <bsd.lib.mk> 45