Makefile.am 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  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. pkgcfg_DATA = \
  6. auction.conf
  7. if MINGW
  8. WINFLAGS = -Wl,--no-undefined -Wl,--export-all-symbols
  9. endif
  10. if USE_COVERAGE
  11. AM_CFLAGS = -fprofile-arcs -ftest-coverage
  12. endif
  13. libexec_PROGRAMS = \
  14. gnunet-service-auction
  15. gnunet_service_auction_SOURCES = \
  16. gnunet-service-auction.c
  17. gnunet_service_auction_LDADD = \
  18. $(top_builddir)/src/util/libgnunetutil.la \
  19. -ljansson \
  20. $(GN_LIBINTL)
  21. bin_PROGRAMS = \
  22. gnunet-auction-create \
  23. gnunet-auction-info \
  24. gnunet-auction-join
  25. gnunet_auction_create_SOURCES = \
  26. gnunet-auction-create.c
  27. gnunet_auction_create_LDADD = \
  28. $(top_builddir)/src/util/libgnunetutil.la \
  29. -ljansson \
  30. $(GN_LIBINTL)
  31. gnunet_auction_info_SOURCES = \
  32. gnunet-auction-info.c
  33. gnunet_auction_info_LDADD = \
  34. $(top_builddir)/src/util/libgnunetutil.la \
  35. -ljansson \
  36. $(GN_LIBINTL)
  37. gnunet_auction_join_SOURCES = \
  38. gnunet-auction-join.c
  39. gnunet_auction_join_LDADD = \
  40. $(top_builddir)/src/util/libgnunetutil.la \
  41. -ljansson \
  42. $(GN_LIBINTL)
  43. check_PROGRAMS = \
  44. test_auction_api
  45. test_auction_api_SOURCES = \
  46. test_auction_api.c
  47. test_auction_api_LDADD = \
  48. $(top_builddir)/src/util/libgnunetutil.la
  49. check_SCRIPTS = \
  50. test_auction_create.sh
  51. EXTRA_DIST = \
  52. auction.h \
  53. auction.conf \
  54. $(check_SCRIPTS)
  55. if ENABLE_TEST_RUN
  56. AM_TESTS_ENVIRONMENT=export GNUNET_PREFIX=$${GNUNET_PREFIX:-@libdir@};export PATH=$${GNUNET_PREFIX:-@prefix@}/bin:$$PATH;unset XDG_DATA_HOME;unset XDG_CONFIG_HOME;
  57. TESTS = $(check_PROGRAMS) $(check_SCRIPTS)
  58. endif