Makefile.am 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  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/finalization.scm \
  37. hoot/reflect.scm \
  38. hoot/repl.scm \
  39. hoot/web-server.scm \
  40. scripts/assemble-wasm.scm \
  41. scripts/compile-wasm.scm
  42. SUFFIXES = .scm .go
  43. GOBJECTS = $(SOURCES:%.scm=%.go)
  44. CLEANFILES = $(GOBJECTS)
  45. EXTRA_DIST = $(SOURCES)
  46. nobase_mod_DATA = $(SOURCES)
  47. nobase_go_DATA = $(GOBJECTS)
  48. # Make sure source files are installed first, so that the mtime of
  49. # installed compiled files is greater than that of installed source
  50. # files. See
  51. # <http://lists.gnu.org/archive/html/guile-devel/2010-07/msg00125.html>
  52. # for details.
  53. guile_install_go_files = install-nobase_goDATA
  54. $(guile_install_go_files): install-nobase_modDATA
  55. .scm.go:
  56. $(AM_V_GEN)$(top_builddir)/pre-inst-env $(GUILE_TOOLS) compile $(GUILE_WARNINGS) -o "$@" "$<"