diff options
Diffstat (limited to 'src/social')
-rw-r--r-- | src/social/Makefile.am | 23 | ||||
-rw-r--r-- | src/social/gnunet-service-social.c | 16 | ||||
-rw-r--r-- | src/social/gnunet-social.c | 4 | ||||
-rw-r--r-- | src/social/social.h | 2 | ||||
-rw-r--r-- | src/social/social_api.c | 4 | ||||
-rw-r--r-- | src/social/test_social.c | 12 |
6 files changed, 31 insertions, 30 deletions
diff --git a/src/social/Makefile.am b/src/social/Makefile.am index 94a9ba1..bb125a8 100644 --- a/src/social/Makefile.am +++ b/src/social/Makefile.am | |||
@@ -1,5 +1,6 @@ | |||
1 | # This Makefile.am is in the public domain | 1 | # This Makefile.am is in the public domain |
2 | AM_CPPFLAGS = -I$(top_srcdir)/src/include | 2 | AM_CPPFLAGS = -I$(top_srcdir)/src/include \ |
3 | $(GNUNET_CPPFLAGS) | ||
3 | 4 | ||
4 | pkgcfgdir= $(pkgdatadir)/config.d/ | 5 | pkgcfgdir= $(pkgdatadir)/config.d/ |
5 | 6 | ||
@@ -23,7 +24,7 @@ lib_LTLIBRARIES = libgnunetsocial.la | |||
23 | libgnunetsocial_la_SOURCES = \ | 24 | libgnunetsocial_la_SOURCES = \ |
24 | social_api.c social.h | 25 | social_api.c social.h |
25 | libgnunetsocial_la_LIBADD = \ | 26 | libgnunetsocial_la_LIBADD = \ |
26 | $(top_builddir)/src/util/libgnunetutil.la \ | 27 | -lgnunetutil \ |
27 | $(top_builddir)/src/psycutil/libgnunetpsycutil.la \ | 28 | $(top_builddir)/src/psycutil/libgnunetpsycutil.la \ |
28 | $(GN_LIBINTL) $(XLIB) | 29 | $(GN_LIBINTL) $(XLIB) |
29 | libgnunetsocial_la_LDFLAGS = \ | 30 | libgnunetsocial_la_LDFLAGS = \ |
@@ -41,18 +42,18 @@ gnunet_social_SOURCES = \ | |||
41 | gnunet_social_LDADD = \ | 42 | gnunet_social_LDADD = \ |
42 | libgnunetsocial.la \ | 43 | libgnunetsocial.la \ |
43 | $(top_builddir)/src/psycutil/libgnunetpsycutil.la \ | 44 | $(top_builddir)/src/psycutil/libgnunetpsycutil.la \ |
44 | $(top_builddir)/src/util/libgnunetutil.la | 45 | -lgnunetutil |
45 | 46 | ||
46 | gnunet_service_social_SOURCES = \ | 47 | gnunet_service_social_SOURCES = \ |
47 | gnunet-service-social.c | 48 | gnunet-service-social.c |
48 | gnunet_service_social_LDADD = \ | 49 | gnunet_service_social_LDADD = \ |
49 | $(top_builddir)/src/util/libgnunetutil.la \ | 50 | -lgnunetutil \ |
50 | $(top_builddir)/src/statistics/libgnunetstatistics.la \ | 51 | -lgnunetstatistics \ |
51 | $(top_builddir)/src/psycutil/libgnunetpsycutil.la \ | 52 | $(top_builddir)/src/psycutil/libgnunetpsycutil.la \ |
52 | $(top_builddir)/src/psyc/libgnunetpsyc.la \ | 53 | $(top_builddir)/src/psyc/libgnunetpsyc.la \ |
53 | $(top_builddir)/src/identity/libgnunetidentity.la \ | 54 | -lgnunetidentity \ |
54 | $(top_builddir)/src/gns/libgnunetgns.la \ | 55 | -lgnunetgns \ |
55 | $(top_builddir)/src/namestore/libgnunetnamestore.la \ | 56 | -lgnunetnamestore \ |
56 | $(GN_LIBINTL) | 57 | $(GN_LIBINTL) |
57 | 58 | ||
58 | 59 | ||
@@ -70,10 +71,10 @@ test_social_SOURCES = \ | |||
70 | test_social.c | 71 | test_social.c |
71 | test_social_LDADD = \ | 72 | test_social_LDADD = \ |
72 | libgnunetsocial.la \ | 73 | libgnunetsocial.la \ |
73 | $(top_builddir)/src/testing/libgnunettesting.la \ | 74 | -lgnunettesting \ |
74 | $(top_builddir)/src/util/libgnunetutil.la \ | 75 | -lgnunetutil \ |
75 | $(top_builddir)/src/psycutil/libgnunetpsycutil.la \ | 76 | $(top_builddir)/src/psycutil/libgnunetpsycutil.la \ |
76 | $(top_builddir)/src/identity/libgnunetidentity.la | 77 | -lgnunetidentity |
77 | 78 | ||
78 | EXTRA_DIST = \ | 79 | EXTRA_DIST = \ |
79 | test_social.conf | 80 | test_social.conf |
diff --git a/src/social/gnunet-service-social.c b/src/social/gnunet-service-social.c index 33fabae..cda96e5 100644 --- a/src/social/gnunet-service-social.c +++ b/src/social/gnunet-service-social.c | |||
@@ -27,14 +27,14 @@ | |||
27 | #include <inttypes.h> | 27 | #include <inttypes.h> |
28 | #include <strings.h> | 28 | #include <strings.h> |
29 | 29 | ||
30 | #include "platform.h" | 30 | #include <gnunet/platform.h> |
31 | #include "gnunet_util_lib.h" | 31 | #include <gnunet/gnunet_util_lib.h> |
32 | #include "gnunet_constants.h" | 32 | #include <gnunet/gnunet_constants.h> |
33 | #include "gnunet_protocols.h" | 33 | #include <gnunet/gnunet_protocols.h> |
34 | #include "gnunet_identity_service.h" | 34 | #include <gnunet/gnunet_identity_service.h> |
35 | #include "gnunet_namestore_service.h" | 35 | #include <gnunet/gnunet_namestore_service.h> |
36 | #include "gnunet_gns_service.h" | 36 | #include <gnunet/gnunet_gns_service.h> |
37 | #include "gnunet_statistics_service.h" | 37 | #include <gnunet/gnunet_statistics_service.h> |
38 | #include "gnunet_psyc_service.h" | 38 | #include "gnunet_psyc_service.h" |
39 | #include "gnunet_psyc_util_lib.h" | 39 | #include "gnunet_psyc_util_lib.h" |
40 | #include "gnunet_social_service.h" | 40 | #include "gnunet_social_service.h" |
diff --git a/src/social/gnunet-social.c b/src/social/gnunet-social.c index 14701bf..d89b3d8 100644 --- a/src/social/gnunet-social.c +++ b/src/social/gnunet-social.c | |||
@@ -26,8 +26,8 @@ | |||
26 | 26 | ||
27 | #include <inttypes.h> | 27 | #include <inttypes.h> |
28 | 28 | ||
29 | #include "platform.h" | 29 | #include <gnunet/platform.h> |
30 | #include "gnunet_util_lib.h" | 30 | #include <gnunet/gnunet_util_lib.h> |
31 | #include "gnunet_social_service.h" | 31 | #include "gnunet_social_service.h" |
32 | 32 | ||
33 | #define TIMEOUT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 30) | 33 | #define TIMEOUT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 30) |
diff --git a/src/social/social.h b/src/social/social.h index 73f73f6..a6d325e 100644 --- a/src/social/social.h +++ b/src/social/social.h | |||
@@ -27,7 +27,7 @@ | |||
27 | #ifndef SOCIAL_H | 27 | #ifndef SOCIAL_H |
28 | #define SOCIAL_H | 28 | #define SOCIAL_H |
29 | 29 | ||
30 | #include "platform.h" | 30 | #include <gnunet/platform.h> |
31 | #include "gnunet_social_service.h" | 31 | #include "gnunet_social_service.h" |
32 | 32 | ||
33 | enum MessageState | 33 | enum MessageState |
diff --git a/src/social/social_api.c b/src/social/social_api.c index 9b96580..11f1eab 100644 --- a/src/social/social_api.c +++ b/src/social/social_api.c | |||
@@ -28,8 +28,8 @@ | |||
28 | #include <inttypes.h> | 28 | #include <inttypes.h> |
29 | #include <string.h> | 29 | #include <string.h> |
30 | 30 | ||
31 | #include "platform.h" | 31 | #include <gnunet/platform.h> |
32 | #include "gnunet_util_lib.h" | 32 | #include <gnunet/gnunet_util_lib.h> |
33 | #include "gnunet_psyc_service.h" | 33 | #include "gnunet_psyc_service.h" |
34 | #include "gnunet_psyc_util_lib.h" | 34 | #include "gnunet_psyc_util_lib.h" |
35 | #include "gnunet_social_service.h" | 35 | #include "gnunet_social_service.h" |
diff --git a/src/social/test_social.c b/src/social/test_social.c index feac3c5..3538ac8 100644 --- a/src/social/test_social.c +++ b/src/social/test_social.c | |||
@@ -25,14 +25,14 @@ | |||
25 | 25 | ||
26 | #include <inttypes.h> | 26 | #include <inttypes.h> |
27 | 27 | ||
28 | #include "platform.h" | 28 | #include <gnunet/platform.h> |
29 | #include "gnunet_crypto_lib.h" | 29 | #include <gnunet/gnunet_crypto_lib.h> |
30 | #include "gnunet_common.h" | 30 | #include <gnunet/gnunet_common.h> |
31 | #include "gnunet_util_lib.h" | 31 | #include <gnunet/gnunet_util_lib.h> |
32 | #include "gnunet_testing_lib.h" | 32 | #include <gnunet/gnunet_testing_lib.h> |
33 | #include "gnunet_psyc_util_lib.h" | 33 | #include "gnunet_psyc_util_lib.h" |
34 | #include "gnunet_social_service.h" | 34 | #include "gnunet_social_service.h" |
35 | #include "gnunet_identity_service.h" | 35 | #include <gnunet/gnunet_identity_service.h> |
36 | 36 | ||
37 | #define TIMEOUT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 30) | 37 | #define TIMEOUT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 30) |
38 | 38 | ||