Files
libcoap/examples/riot/pkg_libcoap/Makefile.libcoap
T
Jon Shallow c69c5d5af0 multi-thread: Add in thread safe support
Optional compile time thread safe code supported.

Locking is done at the coap_context_t level, and if enabled is primarily
done coap_threadsafe.c and coap_threadsafe_internal.h.

coap_threadsafe_internal.h causes coap_X() to get mapped to coap_X_locked()
throughout the libcoap library code with the exception of coap_threadsafe.c
if thread safe is enabled.
2023-11-25 11:41:26 +00:00

43 lines
730 B
Makefile

MODULE := libcoap
SRC := coap_address.c \
coap_asn1.c \
coap_async.c \
coap_block.c \
coap_cache.c \
coap_debug.c \
coap_dtls.c \
coap_encode.c \
coap_event.c \
coap_gnutls.c\
coap_hashkey.c \
coap_io.c \
coap_io_riot.c\
coap_layers.c\
coap_mbedtls.c\
coap_mem.c \
coap_net.c \
coap_netif.c \
coap_notls.c \
coap_openssl.c\
coap_option.c \
coap_oscore.c \
coap_pdu.c \
coap_prng.c \
coap_resource.c \
coap_session.c \
coap_sha1.c \
coap_str.c \
coap_subscribe.c \
coap_tcp.c \
coap_threadsafe.c \
coap_tinydtls.c \
coap_uri.c \
coap_ws.c
ifneq (,$(filter libcoap_tinydtls,$(USEMODULE)))
CFLAGS += -DCOAP_WITH_LIBTINYDTLS
endif
include $(RIOTBASE)/Makefile.base