summaryrefslogtreecommitdiff
path: root/toxcore/Makefile.inc
diff options
context:
space:
mode:
Diffstat (limited to 'toxcore/Makefile.inc')
-rw-r--r--toxcore/Makefile.inc42
1 files changed, 42 insertions, 0 deletions
diff --git a/toxcore/Makefile.inc b/toxcore/Makefile.inc
new file mode 100644
index 00000000..a5b245f5
--- /dev/null
+++ b/toxcore/Makefile.inc
@@ -0,0 +1,42 @@
1LIBTOXCORE_VERSION = 0:0:0
2
3lib_LTLIBRARIES = libtoxcore.la
4
5libtoxcore_la_include_HEADERS = \
6 $(top_srcdir)/toxcore/tox.h
7
8libtoxcore_la_includedir = $(includedir)/tox
9
10libtoxcore_la_SOURCES = $(top_srcdir)/toxcore/DHT.h \
11 $(top_srcdir)/toxcore/DHT.c \
12 $(top_srcdir)/toxcore/network.h \
13 $(top_srcdir)/toxcore/network.c \
14 $(top_srcdir)/toxcore/Lossless_UDP.h \
15 $(top_srcdir)/toxcore/Lossless_UDP.c \
16 $(top_srcdir)/toxcore/net_crypto.h \
17 $(top_srcdir)/toxcore/net_crypto.c \
18 $(top_srcdir)/toxcore/friend_requests.h \
19 $(top_srcdir)/toxcore/friend_requests.c \
20 $(top_srcdir)/toxcore/LAN_discovery.h \
21 $(top_srcdir)/toxcore/LAN_discovery.c \
22 $(top_srcdir)/toxcore/Messenger.h \
23 $(top_srcdir)/toxcore/Messenger.c \
24 $(top_srcdir)/toxcore/packets.h \
25 $(top_srcdir)/toxcore/ping.h \
26 $(top_srcdir)/toxcore/ping.c \
27 $(top_srcdir)/toxcore/tox.h \
28 $(top_srcdir)/toxcore/tox.c \
29 $(top_srcdir)/toxcore/util.h \
30 $(top_srcdir)/toxcore/util.c
31
32libtoxcore_la_CFLAGS = -I$(top_srcdir) \
33 -I$(top_srcdir)/toxcore \
34 $(LIBSODIUM_CFLAGS)
35
36libtoxcore_la_LDFLAGS = -version-info $(LIBTOXCORE_VERSION) \
37 $(LIBSODIUM_LDFLAGS)
38
39libtoxcore_la_LIBS = $(LIBSODIUM_LIBS) \
40 $(WINSOCK2_LIBS)
41
42EXTRA_DIST += $(top_srcdir)/toxcore/CMakeLists.txt