summaryrefslogtreecommitdiff
path: root/toxdns/Makefile.inc
blob: 1e66ab3f7184b3db444e1914a04f6ba12001e250 (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
lib_LTLIBRARIES += libtoxdns.la

libtoxdns_la_include_HEADERS = \
                        ../toxdns/toxdns.h

libtoxdns_la_includedir = $(includedir)/tox

libtoxdns_la_SOURCES =  ../toxdns/toxdns.h \
                        ../toxdns/toxdns.c

libtoxdns_la_CFLAGS =   -I$(top_srcdir) \
                        -I$(top_srcdir)/toxcore \
                        $(LIBSODIUM_CFLAGS) \
                        $(NACL_CFLAGS) \
                        $(PTHREAD_CFLAGS)

libtoxdns_la_LDFLAGS =  $(TOXCORE_LT_LDFLAGS) \
                        $(EXTRA_LT_LDFLAGS) \
                        $(LIBSODIUM_LDFLAGS) \
                        $(NACL_LDFLAGS) \
                        $(MATH_LDFLAGS) \
                        $(RT_LIBS) \
                        $(WINSOCK2_LIBS)

libtoxdns_la_LIBADD =   $(LIBSODIUM_LIBS) \
                        $(NACL_OBJECTS) \
                        $(NAC_LIBS) \
                        $(PTHREAD_LIBS)