Makefile.am 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. # This Makefile.am is in the public domain
  2. AM_CPPFLAGS = -I$(top_srcdir)/src/include -I$(top_builddir)/src/include
  3. SUBDIRS = gnunet-logread
  4. noinst_SCRIPTS = \
  5. terminate.py \
  6. pydiffer.py \
  7. removetrailingwhitespace.py \
  8. gnunet_pyexpect.py \
  9. gnunet_janitor.py \
  10. gnunet-chk.py \
  11. $(awkSCRIPTS)
  12. # FIXME: read into AWK_SCRIPTS autotools builtin.
  13. if HAVE_AWK
  14. awkSCRIPTS = \
  15. check-texinfo.awk
  16. else
  17. awkSCRIPTS =
  18. endif
  19. bin_SCRIPTS = \
  20. gnunet-bugreport \
  21. gnunet-suidfix
  22. EXTRA_DIST = \
  23. coverage.sh \
  24. terminate.py.in \
  25. gnunet_pyexpect.py.in \
  26. gnunet_janitor.py.in \
  27. gnunet-chk.py.in \
  28. $(SCRIPTS) \
  29. removetrailingwhitespace.py.in \
  30. pydiffer.py.in \
  31. gnunet-suidfix \
  32. check-texinfo.awk.in
  33. CLEANFILES = \
  34. $(noinst_SCRIPTS)
  35. # Use SUFFIX Extension rules, they are more portable for every
  36. # implementation of 'make'.
  37. # You'll also run into the "'%' is a GNU make extension warning"
  38. # if you use this:
  39. #
  40. #%.py: %.py.in Makefile
  41. # $(do_subst) < $< > $@
  42. # chmod +x $@
  43. #
  44. # instead of this:
  45. SUFFIXES = .py.in .py
  46. .py.in.py:
  47. $(AWK) -v py="$(PYTHON)" -f $(top_srcdir)/bin/dosubst.awk < $< > $@
  48. chmod +x $@
  49. if HAVE_AWK
  50. check-texinfo.awk: check-texinfo.awk.in Makefile
  51. $(AWK) -v awkay="$(AWK_BINARY)" -f $(top_srcdir)/bin/dosubst.awk < $(srcdir)/check-texinfo.awk.in > check-texinfo.awk
  52. chmod +x check-texinfo.awk
  53. endif