summaryrefslogtreecommitdiff
path: root/src/Makefile.am
diff options
context:
space:
mode:
authorHanjie Wu <wu@x-nagi.com>2023-12-16 01:13:23 -0800
committerHanjie Wu <wu@x-nagi.com>2023-12-16 01:13:23 -0800
commit58054f460e6bb04d6fd28a881c0b010df778bf5d (patch)
tree1ee1b9297f6a891155dc7b5deeda103e400bb6c6 /src/Makefile.am
parent5c87f1b7b6345b895caf9f9b29a2c3c7ca94a0af (diff)
add uTP support for outbound connections
Diffstat (limited to 'src/Makefile.am')
-rw-r--r--src/Makefile.am18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index cb6e3b7c..0ef86dd3 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -693,12 +693,30 @@ else # !ENABLE_LIBARIA2
noinst_LTLIBRARIES = libaria2.la
endif # !ENABLE_LIBARIA2
+SRCS += uTPCore.cc uTPCore.h \
+ libutp/include/libutp/utp.h \
+ libutp/include/libutp/utp_types.h \
+ libutp/utp_callbacks.cpp \
+ libutp/utp_hash.h \
+ libutp/utp_internal.h \
+ libutp/utp_packedsockaddr.h \
+ libutp/utp_types.h \
+ libutp/utp_utils.h \
+ libutp/utp_api.cpp \
+ libutp/utp_callbacks.h \
+ libutp/utp_hash.cpp \
+ libutp/utp_internal.cpp \
+ libutp/utp_packedsockaddr.cpp \
+ libutp/utp_templates.h \
+ libutp/utp_utils.cpp
+
libaria2_la_SOURCES = $(SRCS)
AM_CPPFLAGS = \
-I$(top_srcdir)/lib -I$(top_srcdir)/intl\
-I$(srcdir)/includes -I$(builddir)/includes\
+ -I$(srcdir)/libutp/include/libutp -DPOSIX\
-DLOCALEDIR=\"@localedir@\" @DEFS@ \
@EXTRACPPFLAGS@ \
@ZLIB_CFLAGS@ \