diff options
Diffstat (limited to 'toxdns/Makefile.inc')
-rw-r--r-- | toxdns/Makefile.inc | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/toxdns/Makefile.inc b/toxdns/Makefile.inc new file mode 100644 index 00000000..1e66ab3f --- /dev/null +++ b/toxdns/Makefile.inc | |||
@@ -0,0 +1,28 @@ | |||
1 | lib_LTLIBRARIES += libtoxdns.la | ||
2 | |||
3 | libtoxdns_la_include_HEADERS = \ | ||
4 | ../toxdns/toxdns.h | ||
5 | |||
6 | libtoxdns_la_includedir = $(includedir)/tox | ||
7 | |||
8 | libtoxdns_la_SOURCES = ../toxdns/toxdns.h \ | ||
9 | ../toxdns/toxdns.c | ||
10 | |||
11 | libtoxdns_la_CFLAGS = -I$(top_srcdir) \ | ||
12 | -I$(top_srcdir)/toxcore \ | ||
13 | $(LIBSODIUM_CFLAGS) \ | ||
14 | $(NACL_CFLAGS) \ | ||
15 | $(PTHREAD_CFLAGS) | ||
16 | |||
17 | libtoxdns_la_LDFLAGS = $(TOXCORE_LT_LDFLAGS) \ | ||
18 | $(EXTRA_LT_LDFLAGS) \ | ||
19 | $(LIBSODIUM_LDFLAGS) \ | ||
20 | $(NACL_LDFLAGS) \ | ||
21 | $(MATH_LDFLAGS) \ | ||
22 | $(RT_LIBS) \ | ||
23 | $(WINSOCK2_LIBS) | ||
24 | |||
25 | libtoxdns_la_LIBADD = $(LIBSODIUM_LIBS) \ | ||
26 | $(NACL_OBJECTS) \ | ||
27 | $(NAC_LIBS) \ | ||
28 | $(PTHREAD_LIBS) | ||