- New lib/getmyip.c/h with get_outgoing_ip(), get_default_local_ip(), get_local_ip_by_index() - Uses UDP connect + getsockname instead of /proc/net/route parsing - Supports both IPv4 and IPv6 - Updated etcp_socket_add() to use new functions for interface_addr detection
39 lines
606 B
Makefile
39 lines
606 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 \
|
|
platform_compat.c \
|
|
platform_compat.h \
|
|
getmyip.c \
|
|
getmyip.h \
|
|
swm_min.c \
|
|
swm_min.h \
|
|
mem.c \
|
|
mem.h \
|
|
serialize.c \
|
|
serialize.h
|
|
|
|
libuasync_a_CFLAGS = \
|
|
-D_ISOC99_SOURCE \
|
|
-DDEBUG_OUTPUT_STDERR \
|
|
-g \
|
|
-I$(top_srcdir)/src \
|
|
-I$(top_srcdir)/lib
|
|
|
|
# Clean build directory
|
|
clean-local:
|
|
-rm -rf $(top_builddir)/build
|