1 # This Makefile.am is in the public domain
2 AM_CPPFLAGS = -I$(top_srcdir)/src/include
4 pkgcfgdir= $(pkgdatadir)/config.d/
6 libexecdir= $(pkglibdir)/libexec/
13 WINFLAGS = -Wl,--no-undefined -Wl,--export-all-symbols
17 AM_CFLAGS = --coverage -O0
21 lib_LTLIBRARIES = libgnunetsocial.la
23 libgnunetsocial_la_SOURCES = \
25 libgnunetsocial_la_LIBADD = \
26 $(top_builddir)/src/util/libgnunetutil.la \
27 $(top_builddir)/src/env/libgnunetenv.la \
29 libgnunetsocial_la_LDFLAGS = \
30 $(GN_LIB_LDFLAGS) $(WINFLAGS) \
38 gnunet_service_social_SOURCES = \
39 gnunet-service-social.c
40 gnunet_service_social_LDADD = \
41 $(top_builddir)/src/util/libgnunetutil.la \
42 $(top_builddir)/src/statistics/libgnunetstatistics.la \
43 $(top_builddir)/src/psyc/libgnunetpsyc.la \
44 $(top_builddir)/src/psycstore/libgnunetpsycutil.la \
45 $(top_builddir)/src/core/libgnunetcore.la \
46 $(top_builddir)/src/identity/libgnunetidentity.la \
47 $(top_builddir)/src/gns/libgnunetgns.la \
48 $(top_builddir)/src/namestore/libgnunetnamestore.la \
58 AM_TESTS_ENVIRONMENT=export GNUNET_PREFIX=$${GNUNET_PREFIX:-@libdir@};export PATH=$${GNUNET_PREFIX:-@prefix@}/bin:$$PATH;
59 TESTS = $(check_PROGRAMS)
62 test_social_SOURCES = \
66 $(top_builddir)/src/testing/libgnunettesting.la \
67 $(top_builddir)/src/util/libgnunetutil.la \
68 $(top_builddir)/src/env/libgnunetenv.la \
69 $(top_builddir)/src/psycstore/libgnunetpsycutil.la \
70 $(top_builddir)/src/core/libgnunetcore.la \
71 $(top_builddir)/src/identity/libgnunetidentity.la