Makefile.am 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. GUILE_WARNINGS = -W2
  2. moddir=$(prefix)/share/guile/site/$(GUILE_EFFECTIVE_VERSION)
  3. godir=$(libdir)/guile/$(GUILE_EFFECTIVE_VERSION)/site-ccache
  4. SOURCES = \
  5. language/cps/hoot.scm \
  6. language/cps/hoot/tailify.scm \
  7. language/cps/hoot/lower-primcalls.scm \
  8. language/cps/hoot/unify-returns.scm \
  9. wasm/types.scm \
  10. wasm/resolve.scm \
  11. wasm/wat.scm \
  12. wasm/assemble.scm \
  13. wasm/dump.scm \
  14. wasm/effects.scm \
  15. wasm/link.scm \
  16. wasm/lower.scm \
  17. wasm/lower-globals.scm \
  18. wasm/lower-stringrefs.scm \
  19. wasm/optimize.scm \
  20. wasm/parse.scm \
  21. wasm/canonical-types.scm \
  22. wasm/stack.scm \
  23. wasm/symbolify.scm \
  24. wasm/vm.scm \
  25. hoot/backend.scm \
  26. hoot/config.scm \
  27. hoot/compile.scm \
  28. hoot/inline-wasm.scm \
  29. hoot/frontend.scm \
  30. hoot/library-group.scm \
  31. hoot/primitives.scm \
  32. hoot/stdlib.scm \
  33. hoot/binary-heap.scm \
  34. hoot/scheduler.scm \
  35. hoot/promises.scm \
  36. hoot/reflect.scm \
  37. hoot/repl.scm \
  38. hoot/web-server.scm \
  39. scripts/assemble-wasm.scm \
  40. scripts/compile-wasm.scm
  41. SUFFIXES = .scm .go
  42. GOBJECTS = $(SOURCES:%.scm=%.go)
  43. CLEANFILES = $(GOBJECTS)
  44. EXTRA_DIST = $(SOURCES)
  45. nobase_mod_DATA = $(SOURCES)
  46. nobase_go_DATA = $(GOBJECTS)
  47. # Make sure source files are installed first, so that the mtime of
  48. # installed compiled files is greater than that of installed source
  49. # files. See
  50. # <http://lists.gnu.org/archive/html/guile-devel/2010-07/msg00125.html>
  51. # for details.
  52. guile_install_go_files = install-nobase_goDATA
  53. $(guile_install_go_files): install-nobase_modDATA
  54. .scm.go:
  55. $(AM_V_GEN)$(top_builddir)/pre-inst-env $(GUILE_TOOLS) compile $(GUILE_WARNINGS) -o "$@" "$<"