summaryrefslogtreecommitdiff
path: root/protocols/Tox/toxcore/other/bootstrap_daemon/Makefile.inc
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Tox/toxcore/other/bootstrap_daemon/Makefile.inc')
-rw-r--r--protocols/Tox/toxcore/other/bootstrap_daemon/Makefile.inc27
1 files changed, 27 insertions, 0 deletions
diff --git a/protocols/Tox/toxcore/other/bootstrap_daemon/Makefile.inc b/protocols/Tox/toxcore/other/bootstrap_daemon/Makefile.inc
new file mode 100644
index 0000000000..0bc02ef93a
--- /dev/null
+++ b/protocols/Tox/toxcore/other/bootstrap_daemon/Makefile.inc
@@ -0,0 +1,27 @@
+if BUILD_DHT_BOOTSTRAP_DAEMON
+
+bin_PROGRAMS += tox_bootstrap_daemon
+
+tox_bootstrap_daemon_SOURCES = \
+ ../other/bootstrap_daemon/tox_bootstrap_daemon.c
+
+tox_bootstrap_daemon_CFLAGS = \
+ -I$(top_srcdir)/other/bootstrap_daemon \
+ $(LIBSODIUM_CFLAGS) \
+ $(NACL_CFLAGS) \
+ $(LIBCONFIG_CFLAGS)
+
+tox_bootstrap_daemon_LDADD = \
+ $(LIBSODIUM_LDFLAGS) \
+ $(NACL_LDFLAGS) \
+ libtoxcore.la \
+ $(LIBCONFIG_LIBS) \
+ $(LIBSODIUM_LIBS) \
+ $(NACL_LIBS)
+
+endif
+
+EXTRA_DIST += \
+ $(top_srcdir)/other/bootstrap_daemon/conf \
+ $(top_srcdir)/other/bootstrap_daemon/tox_bootstrap_daemon.sh
+