Makefile.am 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  1. SUBDIRS = module lib
  2. js_runnerdir = $(pkgdatadir)/$(VERSION)/js-runner
  3. js_runner_DATA = \
  4. js-runner/await-call.js \
  5. js-runner/call.js \
  6. js-runner/load.js \
  7. js-runner/load-async.js \
  8. js-runner/load-primitive.js
  9. reflect_jsdir = $(pkgdatadir)/$(VERSION)/reflect-js
  10. reflect_js_DATA = \
  11. reflect-js/reflect.js
  12. reflect_wasmdir = $(pkgdatadir)/$(VERSION)/reflect-wasm
  13. REFLECT_WAT = \
  14. reflect-wasm/reflect.wat \
  15. reflect-wasm/wtf8.wat
  16. reflect_wasm_DATA = $(REFLECT_WAT:%.wat=%.wasm)
  17. CLEANFILES = $(reflect_wasm_DATA)
  18. SUFFIXES = .wat .wasm
  19. # The mkdir is necessary for 'make distcheck' since it's building in a
  20. # different directory than the project root.
  21. .wat.wasm:
  22. $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
  23. $(top_builddir)/pre-inst-env $(GUILD) assemble-wasm -o "$@" "$<"
  24. $(top_builddir)/reflect-wasm/reflect.wasm: reflect-wasm/reflect.wat module/hoot/stdlib.scm
  25. $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
  26. $(top_builddir)/pre-inst-env $(GUILD) assemble-wasm \
  27. --stdlib="((@ (hoot stdlib) compute-stdlib) #t)" -o "$@" "$<"
  28. TEST_EXTENSIONS = .scm
  29. SCM_LOG_COMPILER = $(top_builddir)/pre-inst-env $(GUILE)
  30. AM_SCM_LOG_FLAGS = --no-auto-compile -L $(top_srcdir)
  31. JS_LOG_COMPILER = $(top_builddir)/js-test
  32. CLEANFILES += $(TESTS:test/%.scm=%.log)
  33. TESTS = \
  34. test/test-assignment.scm \
  35. test/test-atomics.scm \
  36. test/test-bitwise.scm \
  37. test/test-bytevectors.scm \
  38. test/test-char-prelude.scm \
  39. test/test-complex.scm \
  40. test/test-constants.scm \
  41. test/test-disassemble.scm \
  42. test/test-eval.scm \
  43. test/test-exceptions.scm \
  44. test/test-expander.scm \
  45. test/test-ffi.scm \
  46. test/test-fibers.scm \
  47. test/test-fibers-channels.scm \
  48. test/test-fibers-conditions.scm \
  49. test/test-fibers-operations.scm \
  50. test/test-fibers-scheduler.scm \
  51. test/test-fibers-streams.scm \
  52. test/test-fibers-timers.scm \
  53. test/test-fibers-waiter-queue.scm \
  54. test/test-finalization.scm \
  55. test/test-flonums.scm \
  56. test/test-fluids.scm \
  57. test/test-fractions.scm \
  58. test/test-hashtables.scm \
  59. test/test-inline-wasm.scm \
  60. test/test-ints.scm \
  61. test/test-keywords.scm \
  62. test/test-library-group.scm \
  63. test/test-lower-globals.scm \
  64. test/test-lower-stringrefs.scm \
  65. test/test-lower.scm \
  66. test/test-match.scm \
  67. test/test-modules.scm \
  68. test/test-number-to-string.scm \
  69. test/test-numeric.scm \
  70. test/test-pairs.scm \
  71. test/test-ports.scm \
  72. test/test-procedures.scm \
  73. test/test-promises.scm \
  74. test/test-prompts.scm \
  75. test/test-read.scm \
  76. test/test-records.scm \
  77. test/test-regexps.scm \
  78. test/test-string-to-number.scm \
  79. test/test-strings.scm \
  80. test/test-symbols.scm \
  81. test/test-syntax-objects.scm \
  82. test/test-time.scm \
  83. test/test-tree-il.scm \
  84. test/test-vectors.scm \
  85. test/test-vm.scm \
  86. test/test-wasm-assembler.scm \
  87. test/test-weak-vectors.scm \
  88. test/test-write.scm \
  89. #
  90. info_TEXINFOS = doc/hoot.texi
  91. doc_hoot_TEXINFOS = doc/hoot.texi \
  92. doc/apache-2.0.texi
  93. dvi: # Don't build dvi docs
  94. html-local:
  95. $(GUILE) --no-auto-compile doc/build-html.scm
  96. EXTRA_DIST = \
  97. $(REFLECT_WAT) \
  98. $(TESTS) \
  99. $(EXTRA_WAT) \
  100. $(js_runner_DATA) \
  101. $(reflect_js_DATA) \
  102. bin/eval.scm \
  103. bin/call.scm \
  104. bin/compile.scm \
  105. bin/generate-char-prelude.scm \
  106. bootstrap.sh \
  107. guix.scm \
  108. COPYING \
  109. hoot.png \
  110. README.md \
  111. test/basic-types.wat \
  112. test/basic-types.wasm \
  113. test/utils.scm \
  114. test/fixtures/hello \
  115. doc/build-html.scm \
  116. doc/hoot.css \
  117. examples/project-template/hello.js \
  118. examples/project-template/hello.scm \
  119. examples/project-template/index.html \
  120. examples/project-template/Makefile \
  121. examples/project-template/manifest.scm \
  122. examples/project-template/hello/document.scm \
  123. examples/project-template/hello/element.scm \
  124. examples/project-template/README.md \
  125. #