diff options
-rw-r--r-- | Makefile.am | 1 | ||||
-rw-r--r-- | auto_tests/Makefile.inc | 4 | ||||
-rw-r--r-- | build/Makefile.am | 10 | ||||
-rw-r--r-- | configure.ac | 3 | ||||
-rw-r--r-- | other/Makefile.inc | 6 | ||||
-rw-r--r-- | other/bootstrap_serverdaemon/Makefile.inc | 2 | ||||
-rw-r--r-- | testing/Makefile.inc | 14 | ||||
-rw-r--r-- | toxcore/Makefile.inc | 44 |
8 files changed, 42 insertions, 42 deletions
diff --git a/Makefile.am b/Makefile.am index f44b06ee..ac24c6b7 100644 --- a/Makefile.am +++ b/Makefile.am | |||
@@ -1,7 +1,6 @@ | |||
1 | SUBDIRS = build | 1 | SUBDIRS = build |
2 | 2 | ||
3 | ACLOCAL_AMFLAGS = -I m4 | 3 | ACLOCAL_AMFLAGS = -I m4 |
4 | AUTOMAKE_OPTIONS = subdir-objects | ||
5 | 4 | ||
6 | pkgconfigdir = $(libdir)/pkgconfig | 5 | pkgconfigdir = $(libdir)/pkgconfig |
7 | pkgconfig_DATA = $(top_builddir)/libtoxcore.pc | 6 | pkgconfig_DATA = $(top_builddir)/libtoxcore.pc |
diff --git a/auto_tests/Makefile.inc b/auto_tests/Makefile.inc index bd883a79..199b61e9 100644 --- a/auto_tests/Makefile.inc +++ b/auto_tests/Makefile.inc | |||
@@ -5,7 +5,7 @@ TESTS = messenger_autotest crypto_test | |||
5 | check_PROGRAMS = messenger_autotest crypto_test | 5 | check_PROGRAMS = messenger_autotest crypto_test |
6 | 6 | ||
7 | messenger_autotest_SOURCES = \ | 7 | messenger_autotest_SOURCES = \ |
8 | $(top_srcdir)/auto_tests/messenger_test.c | 8 | ../auto_tests/messenger_test.c |
9 | 9 | ||
10 | messenger_autotest_CFLAGS = \ | 10 | messenger_autotest_CFLAGS = \ |
11 | $(LIBSODIUM_CFLAGS) \ | 11 | $(LIBSODIUM_CFLAGS) \ |
@@ -18,7 +18,7 @@ messenger_autotest_LDADD = \ | |||
18 | $(CHECK_LIBS) | 18 | $(CHECK_LIBS) |
19 | 19 | ||
20 | 20 | ||
21 | crypto_test_SOURCES = $(top_srcdir)/auto_tests/crypto_test.c | 21 | crypto_test_SOURCES = ../auto_tests/crypto_test.c |
22 | 22 | ||
23 | crypto_test_CFLAGS = $(LIBSODIUM_CFLAGS) \ | 23 | crypto_test_CFLAGS = $(LIBSODIUM_CFLAGS) \ |
24 | $(CHECK_CFLAGS) | 24 | $(CHECK_CFLAGS) |
diff --git a/build/Makefile.am b/build/Makefile.am index 5cc735f9..631ec111 100644 --- a/build/Makefile.am +++ b/build/Makefile.am | |||
@@ -3,8 +3,8 @@ noinst_PROGRAMS = | |||
3 | noinst_bindir = $(top_builddir)/build | 3 | noinst_bindir = $(top_builddir)/build |
4 | EXTRA_DIST= | 4 | EXTRA_DIST= |
5 | 5 | ||
6 | include $(top_srcdir)/toxcore/Makefile.inc | 6 | include ../toxcore/Makefile.inc |
7 | include $(top_srcdir)/other/Makefile.inc | 7 | include ../other/Makefile.inc |
8 | include $(top_srcdir)/testing/Makefile.inc | 8 | include ../testing/Makefile.inc |
9 | include $(top_srcdir)/other/bootstrap_serverdaemon/Makefile.inc | 9 | include ../other/bootstrap_serverdaemon/Makefile.inc |
10 | include $(top_srcdir)/auto_tests/Makefile.inc | 10 | include ../auto_tests/Makefile.inc |
diff --git a/configure.ac b/configure.ac index a16f6a4f..e82fe1f0 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -6,7 +6,7 @@ AC_INIT([tox], [0.0.0], [http://tox.im]) | |||
6 | AC_CONFIG_AUX_DIR(configure_aux) | 6 | AC_CONFIG_AUX_DIR(configure_aux) |
7 | AC_CONFIG_SRCDIR([toxcore/net_crypto.c]) | 7 | AC_CONFIG_SRCDIR([toxcore/net_crypto.c]) |
8 | AC_CONFIG_HEADERS([config.h]) | 8 | AC_CONFIG_HEADERS([config.h]) |
9 | AM_INIT_AUTOMAKE([1.10 -Wall]) | 9 | AM_INIT_AUTOMAKE([1.10 -Wall subdir-objects]) |
10 | m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])]) | 10 | m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])]) |
11 | AC_CONFIG_MACRO_DIR([m4]) | 11 | AC_CONFIG_MACRO_DIR([m4]) |
12 | 12 | ||
@@ -107,6 +107,7 @@ AC_ARG_WITH(libsodium-libs, | |||
107 | # Checks for programs. | 107 | # Checks for programs. |
108 | AC_PROG_CC | 108 | AC_PROG_CC |
109 | AM_PROG_CC_C_O | 109 | AM_PROG_CC_C_O |
110 | m4_ifdef([AM_PROG_AR], [AM_PROG_AR]) | ||
110 | AC_LIBTOOL_WIN32_DLL | 111 | AC_LIBTOOL_WIN32_DLL |
111 | AC_PROG_LIBTOOL | 112 | AC_PROG_LIBTOOL |
112 | 113 | ||
diff --git a/other/Makefile.inc b/other/Makefile.inc index 7442fb39..2703f26a 100644 --- a/other/Makefile.inc +++ b/other/Makefile.inc | |||
@@ -1,8 +1,8 @@ | |||
1 | noinst_PROGRAMS += DHT_bootstrap | 1 | noinst_PROGRAMS += DHT_bootstrap |
2 | 2 | ||
3 | DHT_bootstrap_SOURCES = $(top_srcdir)/other/DHT_bootstrap.c \ | 3 | DHT_bootstrap_SOURCES = ../other/DHT_bootstrap.c \ |
4 | $(top_srcdir)/toxcore/DHT.h \ | 4 | ../toxcore/DHT.h \ |
5 | $(top_srcdir)/toxcore/friend_requests.h | 5 | ../toxcore/friend_requests.h |
6 | 6 | ||
7 | DHT_bootstrap_CFLAGS = -I$(top_srcdir)/other \ | 7 | DHT_bootstrap_CFLAGS = -I$(top_srcdir)/other \ |
8 | $(LIBSODIUM_CFLAGS) | 8 | $(LIBSODIUM_CFLAGS) |
diff --git a/other/bootstrap_serverdaemon/Makefile.inc b/other/bootstrap_serverdaemon/Makefile.inc index 1320b761..2eaf7b9c 100644 --- a/other/bootstrap_serverdaemon/Makefile.inc +++ b/other/bootstrap_serverdaemon/Makefile.inc | |||
@@ -3,7 +3,7 @@ if BUILD_DHT_BOOTSTRAP_DAEMON | |||
3 | noinst_PROGRAMS += DHT_bootstrap_daemon | 3 | noinst_PROGRAMS += DHT_bootstrap_daemon |
4 | 4 | ||
5 | DHT_bootstrap_daemon_SOURCES = \ | 5 | DHT_bootstrap_daemon_SOURCES = \ |
6 | $(top_srcdir)/other/bootstrap_serverdaemon/DHT_bootstrap_daemon.c | 6 | ../other/bootstrap_serverdaemon/DHT_bootstrap_daemon.c |
7 | 7 | ||
8 | DHT_bootstrap_daemon_CFLAGS = \ | 8 | DHT_bootstrap_daemon_CFLAGS = \ |
9 | -I$(top_srcdir)/other/bootstrap_serverdaemon \ | 9 | -I$(top_srcdir)/other/bootstrap_serverdaemon \ |
diff --git a/testing/Makefile.inc b/testing/Makefile.inc index 99c203c8..9229f917 100644 --- a/testing/Makefile.inc +++ b/testing/Makefile.inc | |||
@@ -2,8 +2,8 @@ if BUILD_NTOX | |||
2 | 2 | ||
3 | bin_PROGRAMS += nTox | 3 | bin_PROGRAMS += nTox |
4 | 4 | ||
5 | nTox_SOURCES = $(top_srcdir)/testing/nTox.h \ | 5 | nTox_SOURCES = ../testing/nTox.h \ |
6 | $(top_srcdir)/testing/nTox.c | 6 | ../testing/nTox.c |
7 | 7 | ||
8 | nTox_CFLAGS = $(LIBSODIUM_CFLAGS) \ | 8 | nTox_CFLAGS = $(LIBSODIUM_CFLAGS) \ |
9 | $(NCURSES_CFLAGS) | 9 | $(NCURSES_CFLAGS) |
@@ -22,7 +22,7 @@ noinst_PROGRAMS += DHT_test \ | |||
22 | Messenger_test \ | 22 | Messenger_test \ |
23 | crypto_speed_test | 23 | crypto_speed_test |
24 | 24 | ||
25 | DHT_test_SOURCES = $(top_srcdir)/testing/DHT_test.c | 25 | DHT_test_SOURCES = ../testing/DHT_test.c |
26 | 26 | ||
27 | DHT_test_CFLAGS = $(LIBSODIUM_CFLAGS) | 27 | DHT_test_CFLAGS = $(LIBSODIUM_CFLAGS) |
28 | 28 | ||
@@ -33,7 +33,7 @@ DHT_test_LDADD = $(LIBSODIUM_LDFLAGS) \ | |||
33 | 33 | ||
34 | 34 | ||
35 | Lossless_UDP_testclient_SOURCES = \ | 35 | Lossless_UDP_testclient_SOURCES = \ |
36 | $(top_srcdir)/testing/Lossless_UDP_testclient.c | 36 | ../testing/Lossless_UDP_testclient.c |
37 | 37 | ||
38 | Lossless_UDP_testclient_CFLAGS = \ | 38 | Lossless_UDP_testclient_CFLAGS = \ |
39 | $(LIBSODIUM_CFLAGS) | 39 | $(LIBSODIUM_CFLAGS) |
@@ -46,7 +46,7 @@ Lossless_UDP_testclient_LDADD = \ | |||
46 | 46 | ||
47 | 47 | ||
48 | Lossless_UDP_testserver_SOURCES = \ | 48 | Lossless_UDP_testserver_SOURCES = \ |
49 | $(top_srcdir)/testing/Lossless_UDP_testserver.c | 49 | ../testing/Lossless_UDP_testserver.c |
50 | 50 | ||
51 | Lossless_UDP_testserver_CFLAGS = \ | 51 | Lossless_UDP_testserver_CFLAGS = \ |
52 | $(LIBSODIUM_CFLAGS) | 52 | $(LIBSODIUM_CFLAGS) |
@@ -59,7 +59,7 @@ Lossless_UDP_testserver_LDADD = \ | |||
59 | 59 | ||
60 | 60 | ||
61 | Messenger_test_SOURCES = \ | 61 | Messenger_test_SOURCES = \ |
62 | $(top_srcdir)/testing/Messenger_test.c | 62 | ../testing/Messenger_test.c |
63 | 63 | ||
64 | Messenger_test_CFLAGS = $(LIBSODIUM_CFLAGS) | 64 | Messenger_test_CFLAGS = $(LIBSODIUM_CFLAGS) |
65 | 65 | ||
@@ -70,7 +70,7 @@ Messenger_test_LDADD = $(LIBSODIUM_LDFLAGS) \ | |||
70 | 70 | ||
71 | 71 | ||
72 | crypto_speed_test_SOURCES = \ | 72 | crypto_speed_test_SOURCES = \ |
73 | $(top_srcdir)/testing/crypto_speed_test.c | 73 | ../testing/crypto_speed_test.c |
74 | 74 | ||
75 | crypto_speed_test_CFLAGS = \ | 75 | crypto_speed_test_CFLAGS = \ |
76 | $(LIBSODIUM_CFLAGS) | 76 | $(LIBSODIUM_CFLAGS) |
diff --git a/toxcore/Makefile.inc b/toxcore/Makefile.inc index d79a7e1c..23584953 100644 --- a/toxcore/Makefile.inc +++ b/toxcore/Makefile.inc | |||
@@ -1,31 +1,31 @@ | |||
1 | lib_LTLIBRARIES = libtoxcore.la | 1 | lib_LTLIBRARIES = libtoxcore.la |
2 | 2 | ||
3 | libtoxcore_la_include_HEADERS = \ | 3 | libtoxcore_la_include_HEADERS = \ |
4 | $(top_srcdir)/toxcore/tox.h | 4 | ../toxcore/tox.h |
5 | 5 | ||
6 | libtoxcore_la_includedir = $(includedir)/tox | 6 | libtoxcore_la_includedir = $(includedir)/tox |
7 | 7 | ||
8 | libtoxcore_la_SOURCES = $(top_srcdir)/toxcore/DHT.h \ | 8 | libtoxcore_la_SOURCES = ../toxcore/DHT.h \ |
9 | $(top_srcdir)/toxcore/DHT.c \ | 9 | ../toxcore/DHT.c \ |
10 | $(top_srcdir)/toxcore/network.h \ | 10 | ../toxcore/network.h \ |
11 | $(top_srcdir)/toxcore/network.c \ | 11 | ../toxcore/network.c \ |
12 | $(top_srcdir)/toxcore/Lossless_UDP.h \ | 12 | ../toxcore/Lossless_UDP.h \ |
13 | $(top_srcdir)/toxcore/Lossless_UDP.c \ | 13 | ../toxcore/Lossless_UDP.c \ |
14 | $(top_srcdir)/toxcore/net_crypto.h \ | 14 | ../toxcore/net_crypto.h \ |
15 | $(top_srcdir)/toxcore/net_crypto.c \ | 15 | ../toxcore/net_crypto.c \ |
16 | $(top_srcdir)/toxcore/friend_requests.h \ | 16 | ../toxcore/friend_requests.h \ |
17 | $(top_srcdir)/toxcore/friend_requests.c \ | 17 | ../toxcore/friend_requests.c \ |
18 | $(top_srcdir)/toxcore/LAN_discovery.h \ | 18 | ../toxcore/LAN_discovery.h \ |
19 | $(top_srcdir)/toxcore/LAN_discovery.c \ | 19 | ../toxcore/LAN_discovery.c \ |
20 | $(top_srcdir)/toxcore/Messenger.h \ | 20 | ../toxcore/Messenger.h \ |
21 | $(top_srcdir)/toxcore/Messenger.c \ | 21 | ../toxcore/Messenger.c \ |
22 | $(top_srcdir)/toxcore/ping.h \ | 22 | ../toxcore/ping.h \ |
23 | $(top_srcdir)/toxcore/ping.c \ | 23 | ../toxcore/ping.c \ |
24 | $(top_srcdir)/toxcore/tox.h \ | 24 | ../toxcore/tox.h \ |
25 | $(top_srcdir)/toxcore/tox.c \ | 25 | ../toxcore/tox.c \ |
26 | $(top_srcdir)/toxcore/util.h \ | 26 | ../toxcore/util.h \ |
27 | $(top_srcdir)/toxcore/util.c \ | 27 | ../toxcore/util.c \ |
28 | $(top_srcdir)/toxcore/misc_tools.h | 28 | ../toxcore/misc_tools.h |
29 | 29 | ||
30 | libtoxcore_la_CFLAGS = -I$(top_srcdir) \ | 30 | libtoxcore_la_CFLAGS = -I$(top_srcdir) \ |
31 | -I$(top_srcdir)/toxcore \ | 31 | -I$(top_srcdir)/toxcore \ |