Makefile.am 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  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-division.scm \
  43. test/test-eval.scm \
  44. test/test-exceptions.scm \
  45. test/test-expander.scm \
  46. test/test-ffi.scm \
  47. test/test-fibers.scm \
  48. test/test-fibers-channels.scm \
  49. test/test-fibers-conditions.scm \
  50. test/test-fibers-operations.scm \
  51. test/test-fibers-scheduler.scm \
  52. test/test-fibers-streams.scm \
  53. test/test-fibers-timers.scm \
  54. test/test-fibers-waiter-queue.scm \
  55. test/test-finalization.scm \
  56. test/test-flonums.scm \
  57. test/test-fluids.scm \
  58. test/test-fractions.scm \
  59. test/test-hashtables.scm \
  60. test/test-inline-wasm.scm \
  61. test/test-ints.scm \
  62. test/test-keywords.scm \
  63. test/test-library-group.scm \
  64. test/test-lower-globals.scm \
  65. test/test-lower-stringrefs.scm \
  66. test/test-lower.scm \
  67. test/test-match.scm \
  68. test/test-modules.scm \
  69. test/test-number-to-string.scm \
  70. test/test-numeric.scm \
  71. test/test-pairs.scm \
  72. test/test-ports.scm \
  73. test/test-procedures.scm \
  74. test/test-promises.scm \
  75. test/test-prompts.scm \
  76. test/test-read.scm \
  77. test/test-records.scm \
  78. test/test-regexps.scm \
  79. test/test-string-to-number.scm \
  80. test/test-strings.scm \
  81. test/test-symbols.scm \
  82. test/test-syntax-objects.scm \
  83. test/test-time.scm \
  84. test/test-tree-il.scm \
  85. test/test-vectors.scm \
  86. test/test-vm.scm \
  87. test/test-wasm-assembler.scm \
  88. test/test-weak-vectors.scm \
  89. test/test-write.scm \
  90. #
  91. info_TEXINFOS = doc/hoot.texi
  92. doc_hoot_TEXINFOS = doc/hoot.texi \
  93. doc/apache-2.0.texi
  94. dvi: # Don't build dvi docs
  95. html-local:
  96. $(GUILE) --no-auto-compile doc/build-html.scm
  97. EXTRA_DIST = \
  98. $(REFLECT_WAT) \
  99. $(TESTS) \
  100. $(EXTRA_WAT) \
  101. $(js_runner_DATA) \
  102. $(reflect_js_DATA) \
  103. bin/eval.scm \
  104. bin/call.scm \
  105. bin/compile.scm \
  106. bin/generate-char-prelude.scm \
  107. bootstrap.sh \
  108. guix.scm \
  109. COPYING \
  110. hoot.png \
  111. README.md \
  112. test/basic-types.wat \
  113. test/basic-types.wasm \
  114. test/utils.scm \
  115. test/fixtures/hello \
  116. doc/build-html.scm \
  117. doc/hoot.css \
  118. examples/project-template/hello.js \
  119. examples/project-template/hello.scm \
  120. examples/project-template/index.html \
  121. examples/project-template/Makefile \
  122. examples/project-template/manifest.scm \
  123. examples/project-template/hello/document.scm \
  124. examples/project-template/hello/element.scm \
  125. examples/project-template/README.md \
  126. #