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.
 
 
 
 

47 lines
1007 B

  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. if MINGW
  7. WINFLAGS = -Wl,--no-undefined -Wl,--export-all-symbols
  8. endif
  9. if USE_COVERAGE
  10. AM_CFLAGS = --coverage -O0
  11. XLIB = -lgcov
  12. endif
  13. lib_LTLIBRARIES = libgnunetpsycutil.la
  14. libgnunetpsycutil_la_SOURCES = \
  15. psyc_env.c \
  16. psyc_message.c \
  17. psyc_slicer.c
  18. libgnunetpsycutil_la_LIBADD = \
  19. -lgnunetutil \
  20. $(GN_LIBINTL) $(XLIB)
  21. libgnunetpsycutil_la_LDFLAGS = \
  22. $(GN_LIB_LDFLAGS) $(WINFLAGS) \
  23. -version-info 0:0:0
  24. if HAVE_TESTING
  25. check_PROGRAMS = \
  26. test_psyc_env
  27. endif
  28. if ENABLE_TEST_RUN
  29. AM_TESTS_ENVIRONMENT=export GNUNET_PREFIX=$${GNUNET_PREFIX:-@libdir@};export PATH=$${GNUNET_PREFIX:-@prefix@}/bin:$$PATH;unset XDG_DATA_HOME;unset XDG_CONFIG_HOME;
  30. TESTS = $(check_PROGRAMS)
  31. endif
  32. test_psyc_env_SOURCES = \
  33. test_psyc_env.c
  34. test_psyc_env_LDADD = \
  35. libgnunetpsycutil.la \
  36. -lgnunettesting \
  37. -lgnunetutil