MatrixSSL 3.8.3 Open
This commit is contained in:
46
matrixssl/Makefile
Executable file
46
matrixssl/Makefile
Executable file
@@ -0,0 +1,46 @@
|
||||
#
|
||||
# Makefile for MatrixSSL static library
|
||||
# 'make' builds debug (Default).
|
||||
# 'make gold' builds optimized.
|
||||
#
|
||||
# Copyright (c) 2013-2016 INSIDE Secure Corporation. All Rights Reserved.
|
||||
#
|
||||
|
||||
MATRIXSSL_ROOT:=..
|
||||
include $(MATRIXSSL_ROOT)/common.mk
|
||||
|
||||
SRC:=\
|
||||
cipherSuite.c \
|
||||
extDecode.c \
|
||||
hsDecode.c \
|
||||
hsHash.c \
|
||||
matrixssl.c \
|
||||
matrixsslApi.c \
|
||||
prf.c \
|
||||
psk.c \
|
||||
sslDecode.c \
|
||||
sslEncode.c \
|
||||
sslv3.c \
|
||||
tls.c
|
||||
#DTLS
|
||||
SRC+=dtls.c
|
||||
#DTLS
|
||||
|
||||
# Generated files
|
||||
STATIC:=libssl_s.a
|
||||
|
||||
all: compile
|
||||
|
||||
compile: $(OBJS) $(STATIC)
|
||||
|
||||
# Additional Dependencies
|
||||
$(OBJS): $(MATRIXSSL_ROOT)/common.mk Makefile *.h
|
||||
|
||||
# Build the static library
|
||||
# Redirect stderr to null so we don't see the 'empty file' warnings
|
||||
$(STATIC): $(OBJS)
|
||||
$(AR) -rcuv $@ $^ 2>/dev/null
|
||||
|
||||
clean:
|
||||
rm -f $(STATIC) $(OBJS)
|
||||
|
||||
Reference in New Issue
Block a user