diff options
author | David Barksdale <amatus.amongus@gmail.com> | 2015-07-19 15:33:15 +0000 |
---|---|---|
committer | David Barksdale <amatus.amongus@gmail.com> | 2015-07-19 15:33:15 +0000 |
commit | bba1229ab25ed0ae236c3062e371bb97d9a05375 (patch) | |
tree | 2634f877006166fd6bd5ac93b6e924a7a533d18b /src | |
parent | faf6cdf7e592414f041d486bf620967817485435 (diff) | |
download | gnunet-bba1229ab25ed0ae236c3062e371bb97d9a05375.tar.gz gnunet-bba1229ab25ed0ae236c3062e371bb97d9a05375.zip |
Move libgnunetpsycutil.la to psycstore
This solves a circular dependency between psyc and psycstore.
Diffstat (limited to 'src')
-rw-r--r-- | src/psyc/Makefile.am | 18 | ||||
-rw-r--r-- | src/psycstore/Makefile.am | 14 | ||||
-rw-r--r-- | src/psycstore/psyc_util_lib.c (renamed from src/psyc/psyc_util_lib.c) | 0 | ||||
-rw-r--r-- | src/social/Makefile.am | 6 |
4 files changed, 19 insertions, 19 deletions
diff --git a/src/psyc/Makefile.am b/src/psyc/Makefile.am index 497f1f0c5..4bb28ce0a 100644 --- a/src/psyc/Makefile.am +++ b/src/psyc/Makefile.am | |||
@@ -18,24 +18,14 @@ if USE_COVERAGE | |||
18 | XLIB = -lgcov | 18 | XLIB = -lgcov |
19 | endif | 19 | endif |
20 | 20 | ||
21 | lib_LTLIBRARIES = libgnunetpsycutil.la libgnunetpsyc.la | 21 | lib_LTLIBRARIES = libgnunetpsyc.la |
22 | |||
23 | libgnunetpsycutil_la_SOURCES = \ | ||
24 | psyc_util_lib.c | ||
25 | libgnunetpsycutil_la_LIBADD = \ | ||
26 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
27 | $(top_builddir)/src/env/libgnunetenv.la \ | ||
28 | $(GN_LIBINTL) $(XLIB) | ||
29 | libgnunetpsycutil_la_LDFLAGS = \ | ||
30 | $(GN_LIB_LDFLAGS) $(WINFLAGS) \ | ||
31 | -version-info 0:0:0 | ||
32 | 22 | ||
33 | libgnunetpsyc_la_SOURCES = \ | 23 | libgnunetpsyc_la_SOURCES = \ |
34 | psyc_api.c psyc.h | 24 | psyc_api.c psyc.h |
35 | libgnunetpsyc_la_LIBADD = \ | 25 | libgnunetpsyc_la_LIBADD = \ |
36 | $(top_builddir)/src/util/libgnunetutil.la \ | 26 | $(top_builddir)/src/util/libgnunetutil.la \ |
37 | $(top_builddir)/src/env/libgnunetenv.la \ | 27 | $(top_builddir)/src/env/libgnunetenv.la \ |
38 | libgnunetpsycutil.la \ | 28 | $(top_builddir)/src/psycstore/libgnunetpsycutil.la \ |
39 | $(GN_LIBINTL) $(XLIB) | 29 | $(GN_LIBINTL) $(XLIB) |
40 | libgnunetpsyc_la_LDFLAGS = \ | 30 | libgnunetpsyc_la_LDFLAGS = \ |
41 | $(GN_LIB_LDFLAGS) $(WINFLAGS) \ | 31 | $(GN_LIB_LDFLAGS) $(WINFLAGS) \ |
@@ -53,7 +43,7 @@ gnunet_service_psyc_LDADD = \ | |||
53 | $(top_builddir)/src/statistics/libgnunetstatistics.la \ | 43 | $(top_builddir)/src/statistics/libgnunetstatistics.la \ |
54 | $(top_builddir)/src/multicast/libgnunetmulticast.la \ | 44 | $(top_builddir)/src/multicast/libgnunetmulticast.la \ |
55 | $(top_builddir)/src/psycstore/libgnunetpsycstore.la \ | 45 | $(top_builddir)/src/psycstore/libgnunetpsycstore.la \ |
56 | libgnunetpsycutil.la \ | 46 | $(top_builddir)/src/psycstore/libgnunetpsycutil.la \ |
57 | $(GN_LIBINTL) | 47 | $(GN_LIBINTL) |
58 | gnunet_service_psyc_CFLAGS = $(AM_CFLAGS) | 48 | gnunet_service_psyc_CFLAGS = $(AM_CFLAGS) |
59 | 49 | ||
@@ -72,7 +62,7 @@ test_psyc_SOURCES = \ | |||
72 | test_psyc.c | 62 | test_psyc.c |
73 | test_psyc_LDADD = \ | 63 | test_psyc_LDADD = \ |
74 | libgnunetpsyc.la \ | 64 | libgnunetpsyc.la \ |
75 | libgnunetpsycutil.la \ | 65 | $(top_builddir)/src/psycstore/libgnunetpsycutil.la \ |
76 | $(top_builddir)/src/testing/libgnunettesting.la \ | 66 | $(top_builddir)/src/testing/libgnunettesting.la \ |
77 | $(top_builddir)/src/core/libgnunetcore.la \ | 67 | $(top_builddir)/src/core/libgnunetcore.la \ |
78 | $(top_builddir)/src/env/libgnunetenv.la \ | 68 | $(top_builddir)/src/env/libgnunetenv.la \ |
diff --git a/src/psycstore/Makefile.am b/src/psycstore/Makefile.am index 7dac87084..f011710d0 100644 --- a/src/psycstore/Makefile.am +++ b/src/psycstore/Makefile.am | |||
@@ -27,7 +27,17 @@ SQLITE_TESTS = test_plugin_psycstore_sqlite | |||
27 | endif | 27 | endif |
28 | endif | 28 | endif |
29 | 29 | ||
30 | lib_LTLIBRARIES = libgnunetpsycstore.la | 30 | lib_LTLIBRARIES = libgnunetpsycutil.la libgnunetpsycstore.la |
31 | |||
32 | libgnunetpsycutil_la_SOURCES = \ | ||
33 | psyc_util_lib.c | ||
34 | libgnunetpsycutil_la_LIBADD = \ | ||
35 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
36 | $(top_builddir)/src/env/libgnunetenv.la \ | ||
37 | $(GN_LIBINTL) $(XLIB) | ||
38 | libgnunetpsycutil_la_LDFLAGS = \ | ||
39 | $(GN_LIB_LDFLAGS) $(WINFLAGS) \ | ||
40 | -version-info 0:0:0 | ||
31 | 41 | ||
32 | libgnunetpsycstore_la_SOURCES = \ | 42 | libgnunetpsycstore_la_SOURCES = \ |
33 | psycstore_api.c \ | 43 | psycstore_api.c \ |
@@ -49,7 +59,7 @@ gnunet_service_psycstore_SOURCES = \ | |||
49 | gnunet_service_psycstore_LDADD = \ | 59 | gnunet_service_psycstore_LDADD = \ |
50 | $(top_builddir)/src/statistics/libgnunetstatistics.la \ | 60 | $(top_builddir)/src/statistics/libgnunetstatistics.la \ |
51 | $(top_builddir)/src/util/libgnunetutil.la \ | 61 | $(top_builddir)/src/util/libgnunetutil.la \ |
52 | $(top_builddir)/src/psyc/libgnunetpsycutil.la \ | 62 | libgnunetpsycutil.la \ |
53 | $(GN_LIBINTL) | 63 | $(GN_LIBINTL) |
54 | 64 | ||
55 | plugin_LTLIBRARIES = \ | 65 | plugin_LTLIBRARIES = \ |
diff --git a/src/psyc/psyc_util_lib.c b/src/psycstore/psyc_util_lib.c index 4ad7a914b..4ad7a914b 100644 --- a/src/psyc/psyc_util_lib.c +++ b/src/psycstore/psyc_util_lib.c | |||
diff --git a/src/social/Makefile.am b/src/social/Makefile.am index cb9e4d7eb..2c8d5707d 100644 --- a/src/social/Makefile.am +++ b/src/social/Makefile.am | |||
@@ -25,7 +25,7 @@ libgnunetsocial_la_SOURCES = \ | |||
25 | libgnunetsocial_la_LIBADD = \ | 25 | libgnunetsocial_la_LIBADD = \ |
26 | $(top_builddir)/src/util/libgnunetutil.la \ | 26 | $(top_builddir)/src/util/libgnunetutil.la \ |
27 | $(top_builddir)/src/env/libgnunetenv.la \ | 27 | $(top_builddir)/src/env/libgnunetenv.la \ |
28 | $(top_builddir)/src/psyc/libgnunetpsycutil.la \ | 28 | $(top_builddir)/src/psycstore/libgnunetpsycutil.la \ |
29 | $(top_builddir)/src/core/libgnunetcore.la \ | 29 | $(top_builddir)/src/core/libgnunetcore.la \ |
30 | $(top_builddir)/src/identity/libgnunetidentity.la \ | 30 | $(top_builddir)/src/identity/libgnunetidentity.la \ |
31 | $(top_builddir)/src/gns/libgnunetgns.la \ | 31 | $(top_builddir)/src/gns/libgnunetgns.la \ |
@@ -46,7 +46,7 @@ gnunet_service_social_LDADD = \ | |||
46 | $(top_builddir)/src/util/libgnunetutil.la \ | 46 | $(top_builddir)/src/util/libgnunetutil.la \ |
47 | $(top_builddir)/src/statistics/libgnunetstatistics.la \ | 47 | $(top_builddir)/src/statistics/libgnunetstatistics.la \ |
48 | $(top_builddir)/src/psyc/libgnunetpsyc.la \ | 48 | $(top_builddir)/src/psyc/libgnunetpsyc.la \ |
49 | $(top_builddir)/src/psyc/libgnunetpsycutil.la \ | 49 | $(top_builddir)/src/psycstore/libgnunetpsycutil.la \ |
50 | $(GN_LIBINTL) | 50 | $(GN_LIBINTL) |
51 | 51 | ||
52 | 52 | ||
@@ -67,7 +67,7 @@ test_social_LDADD = \ | |||
67 | $(top_builddir)/src/testing/libgnunettesting.la \ | 67 | $(top_builddir)/src/testing/libgnunettesting.la \ |
68 | $(top_builddir)/src/util/libgnunetutil.la \ | 68 | $(top_builddir)/src/util/libgnunetutil.la \ |
69 | $(top_builddir)/src/env/libgnunetenv.la \ | 69 | $(top_builddir)/src/env/libgnunetenv.la \ |
70 | $(top_builddir)/src/psyc/libgnunetpsycutil.la \ | 70 | $(top_builddir)/src/psycstore/libgnunetpsycutil.la \ |
71 | $(top_builddir)/src/core/libgnunetcore.la \ | 71 | $(top_builddir)/src/core/libgnunetcore.la \ |
72 | $(top_builddir)/src/identity/libgnunetidentity.la | 72 | $(top_builddir)/src/identity/libgnunetidentity.la |
73 | 73 | ||