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.
 
 
 
 

46 lines
1.0 KiB

  1. # This Makefile.am is in the public domain
  2. AM_CPPFLAGS = -I$(top_srcdir)/src/include
  3. pkgcfgdir= $(pkgdatadir)/config.d/
  4. libexecdir= $(pkglibdir)/libexec/
  5. if MINGW
  6. WINFLAGS = -Wl,--no-undefined -Wl,--export-all-symbols
  7. endif
  8. if USE_COVERAGE
  9. AM_CFLAGS = --coverage -O0
  10. XLIB = -lgcov
  11. endif
  12. lib_LTLIBRARIES = libgnunetpsycutil.la
  13. libgnunetpsycutil_la_SOURCES = \
  14. psyc_env.c \
  15. psyc_message.c \
  16. psyc_slicer.c
  17. libgnunetpsycutil_la_LIBADD = \
  18. $(top_builddir)/src/util/libgnunetutil.la \
  19. $(GN_LIBINTL) $(XLIB)
  20. libgnunetpsycutil_la_LDFLAGS = \
  21. $(GN_LIB_LDFLAGS) $(WINFLAGS) \
  22. -version-info 0:0:0
  23. if HAVE_TESTING
  24. check_PROGRAMS = \
  25. test_psyc_env
  26. endif
  27. if ENABLE_TEST_RUN
  28. AM_TESTS_ENVIRONMENT=export GNUNET_PREFIX=$${GNUNET_PREFIX:-@libdir@};export PATH=$${GNUNET_PREFIX:-@prefix@}/bin:$$PATH;unset XDG_DATA_HOME;unset XDG_CONFIG_HOME;
  29. TESTS = $(check_PROGRAMS)
  30. endif
  31. test_psyc_env_SOURCES = \
  32. test_psyc_env.c
  33. test_psyc_env_LDADD = \
  34. libgnunetpsycutil.la \
  35. $(top_builddir)/src/testing/libgnunettesting.la \
  36. $(top_builddir)/src/util/libgnunetutil.la