3b6bb15e86
d9b8fa6098d fix: Fake broadcast address for 127.x.x.x aa649165a57 chore: Add code for future netprof TCP testing 9e5693de5ac chore: add to_string functions for netprof enums 52d915e6a90 cleanup: Heap allocate network profile objects 80fabd4a729 feat: Implement Tox network profiler 05abe083cb6 cleanup: Some random cleanups, mostly related to mem. 5cca24513b8 cleanup: Check that onion IP/Port packing worked. e092ecd1244 cleanup: Use tox memory allocator in some more places. 3cfe41c7587 fix: Avoid `memcpy`-ing structs into onion ping id data. e32ac001938 fix: Add more information on why the frame was not sent. ab887003687 fix: Allow TCP connections to fail `connect` calls. 7603170e663 refactor: Use tox memory in group connection allocations. 5bd8a85eb89 cleanup: Align internal logger with external on type of source line. e9bf524d9e1 cleanup: Add missing `#include` to sort_test.cc. d10c966b998 feat: Add `to_string` functions for toxencryptsave errors. 7bfd0dc8003 docs: Update the docs for group join functions 380dde9f2ae test: Add more logging to TCP connection constructor. 0f12f384c8c cleanup: Reduce stack frame sizes to below 4096 bytes. bc43cec0626 chore: Happy new year! fbe78f1702e cleanup: Add a `TOX_HIDE_DEPRECATED` check to hide deprecated symbols. 44d9da07e77 refactor: Use tox memory for group moderation/pack allocations. 7f26d520168 refactor: Use tox memory in group chats allocations. 2f62f3d0e77 refactor: Use tox Memory for group allocations. 8a968162041 chore: Add dispatch/events headers to bazel export. 2bbfb35abf6 docs: Output the error code string instead of int. in toxav logging d55d0e4eaef cleanup: Remove redundant code for checking if group exists 2a6dc643338 chore: Upgrade dependencies for websockify. fc0650601c1 fix: Allow peers to reconnect to group chats using a password git-subtree-dir: external/toxcore/c-toxcore git-subtree-split: d9b8fa6098de6c074038b6664d2572627540b148
175 lines
8.4 KiB
Makefile
175 lines
8.4 KiB
Makefile
lib_LTLIBRARIES += libtoxcore.la
|
|
|
|
libtoxcore_la_include_HEADERS = \
|
|
../toxcore/tox.h
|
|
|
|
libtoxcore_la_includedir = $(includedir)/tox
|
|
|
|
libtoxcore_la_SOURCES = ../third_party/cmp/cmp.c \
|
|
../third_party/cmp/cmp.h \
|
|
../toxcore/attributes.h \
|
|
../toxcore/bin_pack.c \
|
|
../toxcore/bin_pack.h \
|
|
../toxcore/bin_unpack.c \
|
|
../toxcore/bin_unpack.h \
|
|
../toxcore/ccompat.c \
|
|
../toxcore/ccompat.h \
|
|
../toxcore/events/conference_connected.c \
|
|
../toxcore/events/conference_invite.c \
|
|
../toxcore/events/conference_message.c \
|
|
../toxcore/events/conference_peer_list_changed.c \
|
|
../toxcore/events/conference_peer_name.c \
|
|
../toxcore/events/conference_title.c \
|
|
../toxcore/events/dht_get_nodes_response.c \
|
|
../toxcore/events/events_alloc.c \
|
|
../toxcore/events/events_alloc.h \
|
|
../toxcore/events/file_chunk_request.c \
|
|
../toxcore/events/file_recv.c \
|
|
../toxcore/events/file_recv_chunk.c \
|
|
../toxcore/events/file_recv_control.c \
|
|
../toxcore/events/friend_connection_status.c \
|
|
../toxcore/events/friend_lossless_packet.c \
|
|
../toxcore/events/friend_lossy_packet.c \
|
|
../toxcore/events/friend_message.c \
|
|
../toxcore/events/friend_name.c \
|
|
../toxcore/events/friend_read_receipt.c \
|
|
../toxcore/events/friend_request.c \
|
|
../toxcore/events/friend_status.c \
|
|
../toxcore/events/friend_status_message.c \
|
|
../toxcore/events/friend_typing.c \
|
|
../toxcore/events/self_connection_status.c \
|
|
../toxcore/events/group_custom_packet.c \
|
|
../toxcore/events/group_custom_private_packet.c \
|
|
../toxcore/events/group_invite.c \
|
|
../toxcore/events/group_join_fail.c \
|
|
../toxcore/events/group_message.c \
|
|
../toxcore/events/group_moderation.c \
|
|
../toxcore/events/group_password.c \
|
|
../toxcore/events/group_peer_exit.c \
|
|
../toxcore/events/group_peer_join.c \
|
|
../toxcore/events/group_peer_limit.c \
|
|
../toxcore/events/group_peer_name.c \
|
|
../toxcore/events/group_peer_status.c \
|
|
../toxcore/events/group_privacy_state.c \
|
|
../toxcore/events/group_private_message.c \
|
|
../toxcore/events/group_self_join.c \
|
|
../toxcore/events/group_topic.c \
|
|
../toxcore/events/group_topic_lock.c \
|
|
../toxcore/events/group_voice_state.c \
|
|
../toxcore/DHT.h \
|
|
../toxcore/DHT.c \
|
|
../toxcore/mem.h \
|
|
../toxcore/mem.c \
|
|
../toxcore/mono_time.h \
|
|
../toxcore/mono_time.c \
|
|
../toxcore/network.h \
|
|
../toxcore/network.c \
|
|
../toxcore/crypto_core.h \
|
|
../toxcore/crypto_core.c \
|
|
../toxcore/crypto_core_pack.h \
|
|
../toxcore/crypto_core_pack.c \
|
|
../toxcore/timed_auth.h \
|
|
../toxcore/timed_auth.c \
|
|
../toxcore/ping_array.h \
|
|
../toxcore/ping_array.c \
|
|
../toxcore/net_crypto.h \
|
|
../toxcore/net_crypto.c \
|
|
../toxcore/net_profile.c \
|
|
../toxcore/net_profile.h \
|
|
../toxcore/friend_requests.h \
|
|
../toxcore/friend_requests.c \
|
|
../toxcore/LAN_discovery.h \
|
|
../toxcore/LAN_discovery.c \
|
|
../toxcore/friend_connection.h \
|
|
../toxcore/friend_connection.c \
|
|
../toxcore/Messenger.h \
|
|
../toxcore/Messenger.c \
|
|
../toxcore/ping.h \
|
|
../toxcore/ping.c \
|
|
../toxcore/shared_key_cache.h \
|
|
../toxcore/shared_key_cache.c \
|
|
../toxcore/sort.h \
|
|
../toxcore/sort.c \
|
|
../toxcore/state.h \
|
|
../toxcore/state.c \
|
|
../toxcore/tox.h \
|
|
../toxcore/tox.c \
|
|
../toxcore/tox_dispatch.h \
|
|
../toxcore/tox_dispatch.c \
|
|
../toxcore/tox_event.h \
|
|
../toxcore/tox_event.c \
|
|
../toxcore/tox_events.h \
|
|
../toxcore/tox_events.c \
|
|
../toxcore/tox_pack.h \
|
|
../toxcore/tox_pack.c \
|
|
../toxcore/tox_unpack.h \
|
|
../toxcore/tox_unpack.c \
|
|
../toxcore/tox_private.c \
|
|
../toxcore/tox_private.h \
|
|
../toxcore/tox_struct.h \
|
|
../toxcore/tox_api.c \
|
|
../toxcore/util.h \
|
|
../toxcore/util.c \
|
|
../toxcore/group.h \
|
|
../toxcore/group.c \
|
|
../toxcore/group_announce.h \
|
|
../toxcore/group_announce.c \
|
|
../toxcore/group_onion_announce.c \
|
|
../toxcore/group_onion_announce.h \
|
|
../toxcore/group_chats.h \
|
|
../toxcore/group_chats.c \
|
|
../toxcore/group_common.h \
|
|
../toxcore/group_connection.c \
|
|
../toxcore/group_connection.h \
|
|
../toxcore/group_pack.c \
|
|
../toxcore/group_pack.h \
|
|
../toxcore/group_moderation.c \
|
|
../toxcore/group_moderation.h \
|
|
../toxcore/onion.h \
|
|
../toxcore/onion.c \
|
|
../toxcore/logger.h \
|
|
../toxcore/logger.c \
|
|
../toxcore/onion_announce.h \
|
|
../toxcore/onion_announce.c \
|
|
../toxcore/onion_client.h \
|
|
../toxcore/onion_client.c \
|
|
../toxcore/announce.h \
|
|
../toxcore/announce.c \
|
|
../toxcore/forwarding.h \
|
|
../toxcore/forwarding.c \
|
|
../toxcore/TCP_client.h \
|
|
../toxcore/TCP_client.c \
|
|
../toxcore/TCP_common.h \
|
|
../toxcore/TCP_common.c \
|
|
../toxcore/TCP_server.h \
|
|
../toxcore/TCP_server.c \
|
|
../toxcore/TCP_connection.h \
|
|
../toxcore/TCP_connection.c \
|
|
../toxcore/list.c \
|
|
../toxcore/list.h
|
|
|
|
libtoxcore_la_CFLAGS = -I$(top_srcdir) \
|
|
-I$(top_srcdir)/toxcore \
|
|
$(LIBSODIUM_CFLAGS) \
|
|
$(MSGPACK_CFLAGS) \
|
|
$(PTHREAD_CFLAGS) \
|
|
-DCMP_NO_FLOAT=1
|
|
|
|
libtoxcore_la_LDFLAGS = $(LT_LDFLAGS) \
|
|
$(EXTRA_LT_LDFLAGS) \
|
|
$(LIBSODIUM_LDFLAGS) \
|
|
$(MSGPACK_LDFLAGS) \
|
|
$(MATH_LDFLAGS) \
|
|
$(RT_LIBS) \
|
|
$(WINSOCK2_LIBS)
|
|
|
|
libtoxcore_la_LIBADD = $(LIBSODIUM_LIBS) \
|
|
$(MSGPACK_LIBS) \
|
|
$(PTHREAD_LIBS)
|
|
|
|
if SET_SO_VERSION
|
|
|
|
EXTRA_libtoxcore_la_DEPENDENCIES = ../so.version
|
|
|
|
endif
|