Makefile.am 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  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/link.scm \
  15. wasm/lower.scm \
  16. wasm/lower-globals.scm \
  17. wasm/lower-stringrefs.scm \
  18. wasm/parse.scm \
  19. wasm/canonical-types.scm \
  20. wasm/stack.scm \
  21. wasm/symbolify.scm \
  22. wasm/vm.scm \
  23. hoot/backend.scm \
  24. hoot/config.scm \
  25. hoot/compile.scm \
  26. hoot/inline-wasm.scm \
  27. hoot/library-group.scm \
  28. hoot/primitives.scm \
  29. hoot/stdlib.scm \
  30. hoot/reflect.scm \
  31. hoot/repl.scm \
  32. scripts/assemble-wasm.scm \
  33. scripts/compile-wasm.scm
  34. NOCOMP_SOURCES = \
  35. hoot/assoc.scm \
  36. hoot/atomics.scm \
  37. hoot/bitvectors.scm \
  38. hoot/bitwise.scm \
  39. hoot/boxes.scm \
  40. hoot/bytevectors.scm \
  41. hoot/char.scm \
  42. hoot/cond-expand.scm \
  43. hoot/control.scm \
  44. hoot/debug.scm \
  45. hoot/dynamic-wind.scm \
  46. hoot/eq.scm \
  47. hoot/equal.scm \
  48. hoot/error-handling.scm \
  49. hoot/errors.scm \
  50. hoot/exceptions.scm \
  51. hoot/ffi.scm \
  52. hoot/fluids.scm \
  53. hoot/hashtables.scm \
  54. hoot/keywords.scm \
  55. hoot/lists.scm \
  56. hoot/match.scm \
  57. hoot/not.scm \
  58. hoot/numbers.scm \
  59. hoot/pairs.scm \
  60. hoot/parameters.scm \
  61. hoot/ports.scm \
  62. hoot/procedures.scm \
  63. hoot/r7rs-base.scm \
  64. hoot/r7rs-case-lambda.scm \
  65. hoot/r7rs-char.scm \
  66. hoot/r7rs-complex.scm \
  67. hoot/r7rs-cxr.scm \
  68. hoot/r7rs-eval.scm \
  69. hoot/r7rs-file.scm \
  70. hoot/r7rs-inexact.scm \
  71. hoot/r7rs-lazy.scm \
  72. hoot/r7rs-load.scm \
  73. hoot/r7rs-process-context.scm \
  74. hoot/r7rs-r5rs.scm \
  75. hoot/r7rs-read.scm \
  76. hoot/r7rs-repl.scm \
  77. hoot/r7rs-time.scm \
  78. hoot/r7rs-write.scm \
  79. hoot/read.scm \
  80. hoot/records.scm \
  81. hoot/strings.scm \
  82. hoot/symbols.scm \
  83. hoot/syntax.scm \
  84. hoot/values.scm \
  85. hoot/vectors.scm \
  86. hoot/write.scm \
  87. hoot/generate-char-prelude.scm
  88. GENERATED_NOCOMP_SOURCES = \
  89. hoot/char-prelude.scm
  90. hoot/char-prelude.scm: hoot/generate-char-prelude.scm
  91. $(AM_V_GEN)$(top_builddir)/pre-inst-env $(GUILE) $< > "$@"
  92. SUFFIXES = .scm .go
  93. GOBJECTS = $(SOURCES:%.scm=%.go)
  94. CLEANFILES = $(GOBJECTS) $(GENERATED_NOCOMP_SOURCES)
  95. EXTRA_DIST = $(SOURCES) $(NOCOMP_SOURCES)
  96. nobase_mod_DATA = $(SOURCES) $(NOCOMP_SOURCES) $(GENERATED_NOCOMP_SOURCES)
  97. nobase_go_DATA = $(GOBJECTS)
  98. # Make sure source files are installed first, so that the mtime of
  99. # installed compiled files is greater than that of installed source
  100. # files. See
  101. # <http://lists.gnu.org/archive/html/guile-devel/2010-07/msg00125.html>
  102. # for details.
  103. guile_install_go_files = install-nobase_goDATA
  104. $(guile_install_go_files): install-nobase_modDATA
  105. .scm.go:
  106. $(AM_V_GEN)$(top_builddir)/pre-inst-env $(GUILE_TOOLS) compile $(GUILE_WARNINGS) -o "$@" "$<"