summaryrefslogtreecommitdiff
path: root/toxcore/Makefile.inc
blob: 90912a59c1e41ae1d1b66ac4ab2a2e3e4e0c20de (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
LIBTOXCORE_VERSION = 0:0:0

lib_LTLIBRARIES = libtoxcore.la

libtoxcore_la_include_HEADERS = \
                        $(top_srcdir)/toxcore/tox.h

libtoxcore_la_includedir = $(includedir)/tox

libtoxcore_la_SOURCES = $(top_srcdir)/toxcore/DHT.h \
                        $(top_srcdir)/toxcore/DHT.c \
                        $(top_srcdir)/toxcore/network.h \
                        $(top_srcdir)/toxcore/network.c \
                        $(top_srcdir)/toxcore/Lossless_UDP.h \
                        $(top_srcdir)/toxcore/Lossless_UDP.c \
                        $(top_srcdir)/toxcore/net_crypto.h \
                        $(top_srcdir)/toxcore/net_crypto.c \
                        $(top_srcdir)/toxcore/friend_requests.h \
                        $(top_srcdir)/toxcore/friend_requests.c \
                        $(top_srcdir)/toxcore/LAN_discovery.h \
                        $(top_srcdir)/toxcore/LAN_discovery.c \
                        $(top_srcdir)/toxcore/Messenger.h \
                        $(top_srcdir)/toxcore/Messenger.c \
                        $(top_srcdir)/toxcore/packets.h \
                        $(top_srcdir)/toxcore/ping.h \
                        $(top_srcdir)/toxcore/ping.c \
                        $(top_srcdir)/toxcore/tox.h \
                        $(top_srcdir)/toxcore/tox.c \
                        $(top_srcdir)/toxcore/util.h \
                        $(top_srcdir)/toxcore/util.c

libtoxcore_la_CFLAGS =  -I$(top_srcdir) \
                        -I$(top_srcdir)/toxcore \
                        $(LIBSODIUM_CFLAGS)

libtoxcore_la_LDFLAGS = -version-info $(LIBTOXCORE_VERSION) \
                        -no-undefined \
                        $(LIBSODIUM_LDFLAGS) \
                        $(WINSOCK2_LIBS)

libtoxcore_la_LIBS =    $(LIBSODIUM_LIBS)