summaryrefslogtreecommitdiff
path: root/protocols/Tox/libtox/src/toxcore/Makefile.inc
blob: de9227b6d0fd3bff135549b92fcc0da9264518ef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
lib_LTLIBRARIES += libtoxcore.la

libtoxcore_la_include_HEADERS = \
                        ../toxcore/tox.h \
                        ../toxcore/tox_options.h

libtoxcore_la_includedir = $(includedir)/tox

libtoxcore_la_SOURCES = ../third_party/cmp/cmp.c \
                        ../third_party/cmp/cmp.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_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/announce.c \
                        ../toxcore/announce.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/crypto_core_pack.c \
                        ../toxcore/crypto_core_pack.h \
                        ../toxcore/crypto_core.c \
                        ../toxcore/crypto_core.h \
                        ../toxcore/DHT.c \
                        ../toxcore/DHT.h \
                        ../toxcore/forwarding.c \
                        ../toxcore/forwarding.h \
                        ../toxcore/friend_connection.c \
                        ../toxcore/friend_connection.h \
                        ../toxcore/friend_requests.c \
                        ../toxcore/friend_requests.h \
                        ../toxcore/group_announce.c \
                        ../toxcore/group_announce.h \
                        ../toxcore/group_chats.c \
                        ../toxcore/group_chats.h \
                        ../toxcore/group_common.h \
                        ../toxcore/group_connection.c \
                        ../toxcore/group_connection.h \
                        ../toxcore/group_moderation.c \
                        ../toxcore/group_moderation.h \
                        ../toxcore/group_onion_announce.c \
                        ../toxcore/group_onion_announce.h \
                        ../toxcore/group_pack.c \
                        ../toxcore/group_pack.h \
                        ../toxcore/group.c \
                        ../toxcore/group.h \
                        ../toxcore/LAN_discovery.c \
                        ../toxcore/LAN_discovery.h \
                        ../toxcore/list.c \
                        ../toxcore/list.h \
                        ../toxcore/logger.c \
                        ../toxcore/logger.h \
                        ../toxcore/mem.c \
                        ../toxcore/mem.h \
                        ../toxcore/Messenger.c \
                        ../toxcore/Messenger.h \
                        ../toxcore/mono_time.c \
                        ../toxcore/mono_time.h \
                        ../toxcore/net_crypto.c \
                        ../toxcore/net_crypto.h \
                        ../toxcore/net_profile.c \
                        ../toxcore/net_profile.h \
                        ../toxcore/network.c \
                        ../toxcore/network.h \
                        ../toxcore/onion_announce.c \
                        ../toxcore/onion_announce.h \
                        ../toxcore/onion_client.c \
                        ../toxcore/onion_client.h \
                        ../toxcore/onion.c \
                        ../toxcore/onion.h \
                        ../toxcore/ping_array.c \
                        ../toxcore/ping_array.h \
                        ../toxcore/ping.c \
                        ../toxcore/ping.h \
                        ../toxcore/shared_key_cache.c \
                        ../toxcore/shared_key_cache.h \
                        ../toxcore/sort.c \
                        ../toxcore/sort.h \
                        ../toxcore/state.c \
                        ../toxcore/state.h \
                        ../toxcore/TCP_client.c \
                        ../toxcore/TCP_client.h \
                        ../toxcore/TCP_common.c \
                        ../toxcore/TCP_common.h \
                        ../toxcore/TCP_connection.c \
                        ../toxcore/TCP_connection.h \
                        ../toxcore/TCP_server.c \
                        ../toxcore/TCP_server.h \
                        ../toxcore/timed_auth.c \
                        ../toxcore/timed_auth.h \
                        ../toxcore/tox_api.c \
                        ../toxcore/tox_dispatch.c \
                        ../toxcore/tox_dispatch.h \
                        ../toxcore/tox_event.c \
                        ../toxcore/tox_event.h \
                        ../toxcore/tox_events.c \
                        ../toxcore/tox_events.h \
                        ../toxcore/tox_log_level.c \
                        ../toxcore/tox_log_level.h \
                        ../toxcore/tox_options.c \
                        ../toxcore/tox_options.h \
                        ../toxcore/tox_pack.c \
                        ../toxcore/tox_pack.h \
                        ../toxcore/tox_private.c \
                        ../toxcore/tox_private.h \
                        ../toxcore/tox_struct.h \
                        ../toxcore/tox_unpack.c \
                        ../toxcore/tox_unpack.h \
                        ../toxcore/tox.c \
                        ../toxcore/tox.h \
                        ../toxcore/util.c \
                        ../toxcore/util.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