diff options
author | Gabor X Toth <*@tg-x.net> | 2014-05-27 11:10:35 +0000 |
---|---|---|
committer | Gabor X Toth <*@tg-x.net> | 2014-05-27 11:10:35 +0000 |
commit | cfeccc1b56def35ac586ac2c09ac70b523b59ef5 (patch) | |
tree | e0cb2abc1ce4c11514c29eb5c0c067443b3a6fbd /src/social/Makefile.am | |
parent | 10f2f102658f935148475d5aa2b29afd8a4e85c2 (diff) | |
download | gnunet-cfeccc1b56def35ac586ac2c09ac70b523b59ef5.tar.gz gnunet-cfeccc1b56def35ac586ac2c09ac70b523b59ef5.zip |
add social service
Diffstat (limited to 'src/social/Makefile.am')
-rw-r--r-- | src/social/Makefile.am | 78 |
1 files changed, 78 insertions, 0 deletions
diff --git a/src/social/Makefile.am b/src/social/Makefile.am new file mode 100644 index 000000000..04184dbc6 --- /dev/null +++ b/src/social/Makefile.am | |||
@@ -0,0 +1,78 @@ | |||
1 | AM_CPPFLAGS = -I$(top_srcdir)/src/include | ||
2 | |||
3 | pkgcfgdir= $(pkgdatadir)/config.d/ | ||
4 | |||
5 | libexecdir= $(pkglibdir)/libexec/ | ||
6 | |||
7 | pkgcfg_DATA = \ | ||
8 | social.conf | ||
9 | |||
10 | |||
11 | if MINGW | ||
12 | WINFLAGS = -Wl,--no-undefined -Wl,--export-all-symbols | ||
13 | endif | ||
14 | |||
15 | if USE_COVERAGE | ||
16 | AM_CFLAGS = --coverage -O0 | ||
17 | XLIB = -lgcov | ||
18 | endif | ||
19 | |||
20 | lib_LTLIBRARIES = libgnunetsocial.la | ||
21 | |||
22 | libgnunetsocial_la_SOURCES = \ | ||
23 | social_api.c social.h | ||
24 | libgnunetsocial_la_LIBADD = \ | ||
25 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
26 | $(top_builddir)/src/env/libgnunetenv.la \ | ||
27 | $(GN_LIBINTL) $(XLIB) | ||
28 | libgnunetsocial_la_LDFLAGS = \ | ||
29 | $(GN_LIB_LDFLAGS) $(WINFLAGS) \ | ||
30 | -version-info 0:0:0 | ||
31 | libgnunetsocial_la_DEPENDENCIES = \ | ||
32 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
33 | $(top_builddir)/src/env/libgnunetenv.la | ||
34 | |||
35 | bin_PROGRAMS = | ||
36 | |||
37 | libexec_PROGRAMS = \ | ||
38 | gnunet-service-social | ||
39 | |||
40 | gnunet_service_social_SOURCES = \ | ||
41 | gnunet-service-social.c | ||
42 | gnunet_service_social_LDADD = \ | ||
43 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
44 | $(top_builddir)/src/statistics/libgnunetstatistics.la \ | ||
45 | $(top_builddir)/src/psyc/libgnunetpsyc.la \ | ||
46 | $(GN_LIBINTL) | ||
47 | gnunet_service_social_DEPENDENCIES = \ | ||
48 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
49 | $(top_builddir)/src/statistics/libgnunetstatistics.la \ | ||
50 | $(top_builddir)/src/psyc/libgnunetpsyc.la | ||
51 | gnunet_service_social_CFLAGS = $(AM_CFLAGS) | ||
52 | |||
53 | |||
54 | if HAVE_TESTING | ||
55 | check_PROGRAMS = \ | ||
56 | test_social | ||
57 | endif | ||
58 | |||
59 | if ENABLE_TEST_RUN | ||
60 | AM_TESTS_ENVIRONMENT=export GNUNET_PREFIX=$${GNUNET_PREFIX:-@libdir@};export PATH=$${GNUNET_PREFIX:-@prefix@}/bin:$$PATH; | ||
61 | TESTS = $(check_PROGRAMS) | ||
62 | endif | ||
63 | |||
64 | test_social_SOURCES = \ | ||
65 | test_social.c | ||
66 | test_social_LDADD = \ | ||
67 | libgnunetsocial.la \ | ||
68 | $(top_builddir)/src/testing/libgnunettesting.la \ | ||
69 | $(top_builddir)/src/env/libgnunetenv.la \ | ||
70 | $(top_builddir)/src/util/libgnunetutil.la | ||
71 | test_social_DEPENDENCIES = \ | ||
72 | libgnunetsocial.la \ | ||
73 | $(top_builddir)/src/testing/libgnunettesting.la \ | ||
74 | $(top_builddir)/src/env/libgnunetenv.la \ | ||
75 | $(top_builddir)/src/util/libgnunetutil.la | ||
76 | |||
77 | EXTRA_DIST = \ | ||
78 | test_social.conf | ||