mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2026-01-27 21:02:20 +01:00
manual run of RNG init and JDKEK print job ring does initial rng is successful on some red key blob operations caam red key blob test pass ecdsa sign/verify ecdsa ecdh/sign/verify with black secure key ecdsa ecdh/sign/verify with black secure key initial cmac addition initial cmac addition black blob encap black keys with cmac add invalidate memory refactoring and clean up more code cleanup add files for dist and remove some printf's remove unneeded macro guard use resource manager
34 lines
660 B
Makefile
34 lines
660 B
Makefile
ARTIFACT = server-tls
|
|
|
|
#Build architecture/variant string, possible values: x86, armv7le, etc...
|
|
PLATFORM = armv7le
|
|
OUTPUT_DIR = build
|
|
TARGET = $(ARTIFACT)
|
|
|
|
CC = qcc -Vgcc_nto$(PLATFORM)
|
|
CXX = qcc -lang-c++ -Vgcc_nto$(PLATFORM)
|
|
LD = $(CC)
|
|
|
|
INCLUDES += -I../../../
|
|
LIBS += -L../../../src/.libs/ -lwolfssl
|
|
LIBS += -lsocket -lm
|
|
CCFLAGS += -O2 -Wall
|
|
|
|
SRCS = server-tls.c
|
|
|
|
OBJS = $(addprefix $(OUTPUT_DIR)/,$(addsuffix .o, $(basename $(SRCS))))
|
|
|
|
$(OUTPUT_DIR)/%.o: %.c
|
|
@mkdir -p $(dir $@)
|
|
$(CC) -c -o $@ $(INCLUDES) $(CCFLAGS) $<
|
|
|
|
$(TARGET):$(OBJS)
|
|
$(LD) -o $(TARGET) $(OBJS) $(LIBS)
|
|
|
|
all: $(TARGET)
|
|
|
|
clean:
|
|
rm -rf $(OUTPUT_DIR) $(ARTIFACT)
|
|
|
|
rebuild: clean all
|