You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

81 lines
1.7 KiB

  1. # This Makefile.am is in the public domain
  2. AM_CPPFLAGS = -I$(top_srcdir)/src/include \
  3. $(GNUNET_CPPFLAGS)
  4. pkgcfgdir= $(pkgdatadir)/config.d/
  5. libexecdir= $(pkglibdir)/libexec/
  6. pkgcfg_DATA = \
  7. social.conf
  8. if MINGW
  9. WINFLAGS = -Wl,--no-undefined -Wl,--export-all-symbols
  10. endif
  11. if USE_COVERAGE
  12. AM_CFLAGS = --coverage -O0
  13. XLIB = -lgcov
  14. endif
  15. lib_LTLIBRARIES = libgnunetsocial.la
  16. libgnunetsocial_la_SOURCES = \
  17. social_api.c social.h
  18. libgnunetsocial_la_LIBADD = \
  19. -lgnunetutil \
  20. $(top_builddir)/src/psycutil/libgnunetpsycutil.la \
  21. $(GN_LIBINTL) $(XLIB)
  22. libgnunetsocial_la_LDFLAGS = \
  23. $(GN_LIB_LDFLAGS) $(WINFLAGS) \
  24. -version-info 0:0:0
  25. bin_PROGRAMS = \
  26. gnunet-social
  27. libexec_PROGRAMS = \
  28. gnunet-service-social
  29. gnunet_social_SOURCES = \
  30. gnunet-social.c
  31. gnunet_social_LDADD = \
  32. libgnunetsocial.la \
  33. $(top_builddir)/src/psycutil/libgnunetpsycutil.la \
  34. -lgnunetutil
  35. gnunet_service_social_SOURCES = \
  36. gnunet-service-social.c
  37. gnunet_service_social_LDADD = \
  38. -lgnunetutil \
  39. -lgnunetstatistics \
  40. $(top_builddir)/src/psycutil/libgnunetpsycutil.la \
  41. $(top_builddir)/src/psyc/libgnunetpsyc.la \
  42. -lgnunetidentity \
  43. -lgnunetgns \
  44. -lgnunetnamestore \
  45. $(GN_LIBINTL)
  46. if HAVE_TESTING
  47. check_PROGRAMS = \
  48. test_social
  49. endif
  50. if ENABLE_TEST_RUN
  51. AM_TESTS_ENVIRONMENT=export GNUNET_PREFIX=$${GNUNET_PREFIX:-@libdir@};export PATH=$${GNUNET_PREFIX:-@prefix@}/bin:$$PATH;unset XDG_DATA_HOME;unset XDG_CONFIG_HOME;
  52. TESTS = $(check_PROGRAMS)
  53. endif
  54. test_social_SOURCES = \
  55. test_social.c
  56. test_social_LDADD = \
  57. libgnunetsocial.la \
  58. -lgnunettesting \
  59. -lgnunetutil \
  60. $(top_builddir)/src/psycutil/libgnunetpsycutil.la \
  61. -lgnunetidentity
  62. EXTRA_DIST = \
  63. test_social.conf