toxcore/toxdns/Makefile.inc
Jin^eLD 8fd457c67f Fix win32 mingw native build
toxdns was not linking because of references to functions in crypto_core
2014-07-13 23:20:31 +03:00

30 lines
974 B
Makefile

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) \
libtoxcore.la