summaryrefslogtreecommitdiff
path: root/other/bootstrap_daemon/src/Makefile.inc
diff options
context:
space:
mode:
authorMaxim Biro <nurupo.contributions@gmail.com>2016-01-01 01:17:19 -0500
committerMaxim Biro <nurupo.contributions@gmail.com>2016-01-01 20:28:48 -0500
commitd89fdb230b9160ea7b09cb29f2e7789025a32ee6 (patch)
tree535fcd71ba7e5893d1d33e2cf79842c69f47f093 /other/bootstrap_daemon/src/Makefile.inc
parentda76da6c95fedf6014b69ed475cce074ad0afda9 (diff)
Fix include paths
They are relative to the Makefile instead of the source file itself, which is unintuitive and is messing with my IDE.
Diffstat (limited to 'other/bootstrap_daemon/src/Makefile.inc')
-rw-r--r--other/bootstrap_daemon/src/Makefile.inc38
1 files changed, 38 insertions, 0 deletions
diff --git a/other/bootstrap_daemon/src/Makefile.inc b/other/bootstrap_daemon/src/Makefile.inc
new file mode 100644
index 00000000..a0d75fa0
--- /dev/null
+++ b/other/bootstrap_daemon/src/Makefile.inc
@@ -0,0 +1,38 @@
1if BUILD_DHT_BOOTSTRAP_DAEMON
2
3bin_PROGRAMS += tox-bootstrapd
4
5tox_bootstrapd_SOURCES = \
6 ../other/bootstrap_daemon/src/command_line_arguments.c \
7 ../other/bootstrap_daemon/src/command_line_arguments.h \
8 ../other/bootstrap_daemon/src/config.c \
9 ../other/bootstrap_daemon/src/config_defaults.h \
10 ../other/bootstrap_daemon/src/config.h \
11 ../other/bootstrap_daemon/src/log.c \
12 ../other/bootstrap_daemon/src/log.h \
13 ../other/bootstrap_daemon/src/tox-bootstrapd.c \
14 ../other/bootstrap_node_packets.c \
15 ../other/bootstrap_node_packets.h
16
17
18tox_bootstrapd_CFLAGS = \
19 -I$(top_srcdir)/other/bootstrap_daemon \
20 $(LIBSODIUM_CFLAGS) \
21 $(NACL_CFLAGS) \
22 $(LIBCONFIG_CFLAGS)
23
24tox_bootstrapd_LDADD = \
25 $(LIBSODIUM_LDFLAGS) \
26 $(NACL_LDFLAGS) \
27 libtoxcore.la \
28 $(LIBCONFIG_LIBS) \
29 $(LIBSODIUM_LIBS) \
30 $(NACL_LIBS)
31
32endif
33
34EXTRA_DIST += \
35 $(top_srcdir)/other/bootstrap_daemon/tox-bootstrapd.conf \
36 $(top_srcdir)/other/bootstrap_daemon/tox-bootstrapd.service \
37 $(top_srcdir)/other/bootstrap_daemon/tox-bootstrapd.sh
38