summaryrefslogtreecommitdiff
path: root/toxcore/Makefile.inc
blob: 2fd93a224668fdb935a403d75c49398c7e9194a0 (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
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) \
                        $(LIBSODIUM_LDFLAGS)

libtoxcore_la_LIBS =    $(LIBSODIUM_LIBS) \
                        $(WINSOCK2_LIBS)