- Add socket_compat.h/c with platform abstraction for POSIX/Windows - socket_t typedef: int on POSIX, SOCKET on Windows - Add socket_platform_init/cleanup for WSAStartup on Windows - Add socket operations: create_udp, sendto, recvfrom, set_nonblocking - Add socket options: set_buffers, set_reuseaddr, set_mark (Linux), bind_to_device (Linux) - Update u_async: add socket_t support with uasync_add_socket_t/remove_socket_t - Update ETCP: use socket_t and socket_compat functions - Add DEBUG_CATEGORY_SOCKET for socket debugging - All 22 tests pass on Linux - MSYS2 UCRT64 compatible
28 lines
458 B
Makefile
28 lines
458 B
Makefile
noinst_LIBRARIES = libuasync.a
|
|
|
|
libuasync_a_SOURCES = \
|
|
u_async.c \
|
|
u_async.h \
|
|
ll_queue.h \
|
|
ll_queue.c \
|
|
debug_config.c \
|
|
debug_config.h \
|
|
timeout_heap.c \
|
|
timeout_heap.h \
|
|
memory_pool.c \
|
|
memory_pool.h \
|
|
sha256.c \
|
|
sha256.h \
|
|
socket_compat.c \
|
|
socket_compat.h
|
|
|
|
libuasync_a_CFLAGS = \
|
|
-D_ISOC99_SOURCE \
|
|
-DDEBUG_OUTPUT_STDERR \
|
|
-I$(top_srcdir)/src \
|
|
-I$(top_srcdir)/lib
|
|
|
|
# Clean build directory
|
|
clean-local:
|
|
-rm -rf $(top_builddir)/build
|