mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
e092eee869
By default libsodium is used. Only if --enable-nacl is specified, then nacl will be used instead of libsodium. Pass locations of nacl headers and libraries by using the following options: --with-nacl-headers=/home/me/somewhere/nacl-20110221/build/469/include/amd64/ --with-nacl-libs=/home/me/somewhere/nacl-20110221/build/469/lib/amd64/
27 lines
865 B
Makefile
27 lines
865 B
Makefile
if BUILD_DHT_BOOTSTRAP_DAEMON
|
|
|
|
noinst_PROGRAMS += DHT_bootstrap_daemon
|
|
|
|
DHT_bootstrap_daemon_SOURCES = \
|
|
../other/bootstrap_serverdaemon/DHT_bootstrap_daemon.c
|
|
|
|
DHT_bootstrap_daemon_CFLAGS = \
|
|
-I$(top_srcdir)/other/bootstrap_serverdaemon \
|
|
$(LIBSODIUM_CFLAGS) \
|
|
$(NACL_CFLAGS) \
|
|
$(LIBCONFIG_CFLAGS)
|
|
|
|
DHT_bootstrap_daemon_LDADD = \
|
|
$(LIBSODIUM_LDFLAGS) \
|
|
$(NACL_LDFLAGS) \
|
|
libtoxcore.la \
|
|
$(LIBCONFIG_LIBS) \
|
|
$(LIBSODIUM_LIBS) \
|
|
$(NACL_LIBS)
|
|
|
|
endif
|
|
|
|
EXTRA_DIST += \
|
|
$(top_srcdir)/other/bootstrap_serverdaemon/server.cfg \
|
|
$(top_srcdir)/other/bootstrap_serverdaemon/DHT_bootstrap_daemon.sh
|